Fix tests-printers handling for cross compiling.
[glibc.git] / ChangeLog
blobe19db5d05436513e9ac010fbad5cd5e0ba04f4f7
1 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
3         * Rules [$(run-built-tests) != no] (tests-expected): Add
4         $(tests-printers).
5         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9         [BZ #20539]
10         * math/Makefile (install-lib-ldscripts): Add libm.a.
11         (install_subdir): Remove.
12         (install-others): Add.
13         ($(inst_libdir)/libm.a): Add rule for installation as
14         linker script.
15         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
17 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
19         * INSTALL: Regenerated.
20         * Makeconfig: Add comments and whitespace to make the control flow
21         clearer.
22         (+link-printers-tests, +link-pie-printers-tests,
23         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
24         built-rtld-LDFLAGS, link-libc-rpath,
25         link-libc-tests-after-rpath-link,
26         link-libc-printers-tests): New.
27         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
28         link-libc-tests): Use the new variables as required.
29         * Makerules ($(py-const)): New rule.
30         generated: Add $(py-const).
31         * README.pretty-printers: New file.
32         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
33         (others): Depend on $(py-const).
34         (tests): Depend on $(tests-printers-programs) or
35         $(tests-printers-out),
36         as required.  Pass $(tests-printers) to merge-test-results.sh.
37         * manual/install.texi: Add requirements for testing the pretty
38         printers.
39         * nptl/Makefile (gen-py-const-headers, pretty-printers,
40         tests-printers, CFLAGS-test-mutexattr-printers.c
41         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
42         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
43         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
44         * nptl/nptl-printers.py: New file.
45         * nptl/nptl_lock_constants.pysym: Likewise.
46         * nptl/test-cond-printers.c: Likewise.
47         * nptl/test-cond-printers.py: Likewise.
48         * nptl/test-condattr-printers.c: Likewise.
49         * nptl/test-condattr-printers.py: Likewise.
50         * nptl/test-mutex-printers.c: Likewise.
51         * nptl/test-mutex-printers.py: Likewise.
52         * nptl/test-mutexattr-printers.c: Likewise.
53         * nptl/test-mutexattr-printers.py: Likewise.
54         * nptl/test-rwlock-printers.c: Likewise.
55         * nptl/test-rwlock-printers.py: Likewise.
56         * nptl/test-rwlockattr-printers.c: Likewise.
57         * nptl/test-rwlockattr-printers.py: Likewise.
58         * scripts/gen-py-const.awk: Likewise.
59         * scripts/test_printers_common.py: Likewise.
60         * scripts/test_printers_exceptions.py: Likewise.
62 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
64         * scripts/build-many-glibcs.py (Context.__init__): Take strip
65         argument.
66         (Glibc.build_glibc): Strip installed shared libraries if
67         requested.
68         (get_parser): Add --strip option.
69         (main): Update Context call.
71 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
72             Dominik Vogt  <vogt@linux.vnet.ibm.com>
74         [BZ #20847]
75         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
76         array bounds for else branch.
77         (__execvpe): Style fixes.
78         * posix/tst-vfork3.c (run_script): New function.
79         (create_script): Likewise.
80         (do_test): Use run_script internal function.
81         (do_prepare): Use create_script internal function.
83 2016-12-07  Andreas Schwab  <schwab@suse.de>
85         * sysdeps/unix/sysv/linux/x86/elision-conf.h
86         (__elision_available): Don't declare.
87         * sysdeps/unix/sysv/linux/x86/elision-conf.c
88         (__elision_available): Don't define.
89         (elision_init): Don't set __elision_available.
91 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
93         [BZ #20940]
94         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
95         return Inf for arguments Inf and sNaN.
96         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
97         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
98         Likewise.
99         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
100         Likewise.
101         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
102         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
103         for arguments Inf and sNaN.  When returning a NaN, compute it by
104         arithmetic on the arguments.
105         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
106         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
107         arguments.
109 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
111         [BZ #20916]
112         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
113         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
114         to compute result.
115         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
116         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
118 2016-12-05  Torvald Riegel  <triegel@redhat.com>
120         * include/atomic.h (__atomic_check_size_ls): New.
121         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
122         atomic_store_release): Use it.
123         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
124         (elision_adapt, ELIDE_LOCK): Use atomics.
125         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
126         atomics and improve code comments.
127         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
128         (__lll_trylock_elision): Likewise.
130 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
132         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
133         programs.
135 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
137         [BZ #20916]
138         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
139         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
140         arguments to compute result.
141         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
142         1 for arguments (sNaN, 0) or (1, sNaN).
143         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
144         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
146         [BZ #20919]
147         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
148         NaN first argument when raised to power 0.
149         * math/w_pow.c (__pow): Do not check for NaN or zero results from
150         raising to power zero.
151         * math/w_powf.c (__powf): Likewise.
152         * math/w_powl.c (__powl): Likewise.
153         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
154         pow (0, 0) or pow (NaN, 0).
156 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
158         [BZ #20918]
159         * configure.ac: Test for static NSS cryptographic libraries and set
160         libc_cv_static_nss_crypt.
161         * configure: Regenerate.
162         * config.make.in (static-nss-crypt): Define.
163         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
164         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
165         (CFLAGS-tst-linkall-static.c): Define.
166         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
167         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
168         ($(objpfx)tst-linkall-static): Define.
169         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
170         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
172 2016-12-02  Florian Weimer  <fweimer@redhat.com>
174         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
175         (one-hundred, tst-tls-many-dynamic-modules): Define.
176         (modules-names): Add $(tst-tls-many-dynamic-modules).
177         (tst-tls-manydynamic%mod.os): Build with special preprocessor
178         macros.
179         (tst-tls-manydynamic): Link against libdl, libpthread.
180         (tst-tls-manydynamic.out): The test needs the test modules at run
181         time.
182         * elf/tst-tls-manydynamic.c: New file.
183         * elf/tst-tls-manydynamic.h: Likewise.
184         * elf/tst-tls-manydynamicmod.c: Likewise.
186 2016-12-02  Florian Weimer  <fweimer@redhat.com>
188         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
189         (TLS_DTV_UNALLOCATED): Add.
190         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
191         offsets.
193 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
195         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
197 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
199         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
200         Add -fno-optimize-sibling-calls.
202 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
204         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
205         New declaration.
206         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
207         macro.
208         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
209         New macro.
210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
212         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
213         (llogbf): Likewise.
214         (llogbl): Likewise.
215         * math/Makefile (gen-libm-calls): Add w_llogbF.
216         (tests): Add test-fp-llogb-constants.
217         * math/w_llogb_template.c: New file.  Based on
218         math/w_ilogb_template.c.
219         * math/libm-test.inc (llogb_test_data): New array.
220         (llogb_test): New function.
221         (main): Call llogb_test.
222         * math/test-fp-llogb-constants.c: New file.  Based on
223         math/test-fp-ilogb-constants.c.
224         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
225         (do_test): Call check_return_llogb.
226         * math/test-tgmath.c (NCALLS): Increase to 126.
227         (F(compile_test)): Call llogb.
228         (F(llogb)): New function.
229         * manual/math.texi (Exponents and Logarithms): Document llogb,
230         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
231         * manual/libm-err-tab.pl (@all_functions): Add llogb.
232         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
233         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
234         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
235         (CFLAGS-nldbl-llogb.c): New variable.
236         * sysdeps/nacl/libm.abilist: Update.
237         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
238         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
239         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
240         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
241         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
242         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
243         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
244         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
245         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
246         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
247         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
248         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
250         Likewise.
251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
252         Likewise.
253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
254         Likewise.
255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
256         Likewise.
257         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
258         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
259         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
260         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
261         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
263         Likewise.
264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
265         Likewise.
266         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
267         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
268         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
270 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
272         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
273         _Float128 instead of long double.
274         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
276         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
277         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
278         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
279         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
280         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
281         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
282         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
283         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
284         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
285         Likewise.
287 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
289         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
290         Remove redirection to __strrchr_ppc.
292 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
294         * sysdeps/powerpc/powerpc64/multiarch/Makefile
295         (sysdep_routines): Add strcmp_power9.
296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
297         (strcmp): Add __strcmp_power9 to list of strcmp functions.
298         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
299         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
300         (strcmp): Add __strcmp_power9 to ifunc list.
301         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
303 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
305         * bits/fp-logb.h: New file.
306         * sysdeps/ia64/bits/fp-logb.h: Likewise.
307         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
308         * sysdeps/x86/bits/fp-logb.h: Likewise.
309         * math/Makefile (headers): Add bits/fp-logb.h.
310         * math/math.h: Include <bits/fp-logb.h>.
311         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
312         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
313         * bits/mathdef.h (FP_ILOGB0): Remove.
314         (FP_ILOGBNAN): Likewise.
315         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
316         (FP_ILOGBNAN): Likewise.
317         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
318         (FP_ILOGBNAN): Likewise.
319         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
320         (FP_ILOGBNAN): Likewise.
321         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
322         (FP_ILOGBNAN): Likewise.
323         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
324         (FP_ILOGBNAN): Likewise.
325         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
326         (FP_ILOGBNAN): Likewise.
327         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
328         (FP_ILOGBNAN): Likewise.
329         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
330         (FP_ILOGBNAN): Likewise.
331         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
332         (FP_ILOGBNAN): Likewise.
334         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
335         time module.
336         (Context.__init__): Initialize self.logsdir_old.
337         (Context.run_builds): Handle bot action.
338         (Context.bot_cycle): Copy logs directory before running builds.
339         (Context.bot_run_self): Take argument for whether to check
340         subprocess result.  Flush stdout before running subprocess.
341         (Context.bot): New function.
342         (get_parser): Allow bot action.
344 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
346         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
347         Import email.mime.text, email.utils and smtplib modules.
348         (Context.__init__): Initialize self.bot_config_json.
349         (Context.run_builds): Handle bot-cycle action.
350         (Context.load_bot_config_json): New function.
351         (Context.part_build_old): Likewise.
352         (Context.bot_cycle): Likewise.
353         (Context.bot_build_mail): Likewise.
354         (Context.bot_run_self): Likewise.
355         (get_parser): Allow bot-cycle action.
357 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
359         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
360         Remove redirection to __stpcpy_ppc.
362 2016-11-30  Florian Weimer  <fweimer@redhat.com>
364         Remove __libc_memalign from ld.so because it is unused.
365         * elf/dl-minimal.c: Update comment on the malloc implementation.
366         (malloc): Renamed from __libc_memalign, replacing the original
367         malloc implementation.  Replace the align parameter with
368         MALLOC_ALIGNMENT.
369         * elf/Versions (ld): Update comment and remove __libc_memalign.
370         * sysdeps/nacl/ld.abilist: Likewise.
371         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
372         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
373         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
374         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
375         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
376         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
377         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
379         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
381         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
382         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
383         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
387         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
388         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
389         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
390         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
391         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
397         * sysdeps/generic/localplt.data (ld.so): Likewise.
398         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
399         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
400         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
401         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
402         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
403         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
404         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
405         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
406         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
408         (ld.so): Likewise.
409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
410         (ld.so): Likewise.
411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
412         Likewise.
413         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
414         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
415         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
416         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
417         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
419 2016-11-30  Florian Weimer  <fweimer@redhat.com>
421         [BZ #16628]
422         Implement _dl_catch_error, _dl_signal_error in libc.so.
423         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
424         (catch_hook): Define as thread-local or regular variable,
425         depending on DL_ERROR_BOOTSTRAP.
426         (CATCH_HOOK): Remove.
427         (dl_signal_error, _dl_catch_error): Use
428         catch_hook.  Add hidden definition for libc.
429         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
430         for DL_ERROR_BOOTSTRAP only.
431         * elf/dl-error.c: New file.
432         * elf/dl-error-minimal.c: Likewise.
433         * elf/tst-latepthread.c: Likewise.
434         * elf/tst-latepthreadmod.c: Likewise.
435         * elf/Makefile (routines): Add dl-error.
436         (dl-routines): Remove dl-error.
437         (rtld-routines): Add dl-error-minimal.
438         [build-shared] (tests): Add tst-latepthread.
439         (module-names): Add tst-latepthreadmod.
440         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
441         symbol.
442         (tst-latepthreadmod.so): Link against libpthread.
443         (tst-latepthread): Link against libdbl.
444         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
445         _dl_catch_error.
446         [ld] (GLIBC_PRIVATE): Likewise.
447         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
448         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
449         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
450         directly.
451         * elf/dl-tsd.c: Remove file.
452         * elf/rtld.c (_rtld_global_ro): Remove initializers for
453         _dl_catch_error, _dl_signal_error.
454         (_dl_initial_error_catch_tsd): Remove definition.
455         (do_preload): Remove initialization of dl_error_catch_tsd.
456         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
457         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
458         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
459         * dlfcn/dlopen.c (dlopen_doit): Likewise.
460         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
461         set dl_error_catch_tsd.
462         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
463         _dl_error_catch_tsd member.
464         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
465         members.
466         (_dl_initial_error_catch_tsd): Remove declaration.
467         (_dl_dprintf): Provide definition for use outside of ld.so.
468         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
469         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
470         prototype for libc.
471         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
472         _dl_catch_error.
473         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
474         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
475         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
476         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
477         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
478         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
479         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
480         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
481         Likewise.
482         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
484         (ld.so): Likewise.
485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
486         (ld.so): Likewise.
487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
488         Likewise.
489         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
490         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
491         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
492         Likewise.
493         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
494         Likewise.
495         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
497 2016-11-30  Florian Weimer  <fweimer@redhat.com>
499         [BZ #4099]
500         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
501         _IO_BUFSIZ (8192).
503 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
505         * PROJECTS: Remove file.
507 2016-11-29  Florian Weimer  <fweimer@redhat.com>
509         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
511 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
512             Steve Ellcey  <sellcey@caviumnetworks.com>
514         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
515         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
516         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
517         fxstatat.
518         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
519         lxstat.
520         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
521         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
522         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
523         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
524         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
525         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
526         __xstat.
528 2016-11-29  Florian Weimer  <fweimer@redhat.com>
530         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
531         Define.
532         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
533         definition.
535 2016-11-29  Florian Weimer  <fweimer@redhat.com>
537         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
538         version and turn into strong alias.  Remove compat symbol.
540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
541         (__longjmp): Remove.
543 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
545         * bits/fp-fast.h: New file.
546         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
547         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
548         * math/Makefile (headers): Add bits/fp-fast.h.
549         * math/math.h: Include <bits/fp-fast.h>.
550         * bits/mathdef.h (FP_FAST_FMA): Remove.
551         (FP_FAST_FMAF): Likewise.
552         (FP_FAST_FMAL): Likewise.
553         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
554         (FP_FAST_FMAF): Likewise.
555         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
556         (FP_FAST_FMAF): Likewise.
557         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
558         (FP_FAST_FMAF): Likewise.
559         (FP_FAST_FMAL): Likewise.
560         * sysdeps/arm/bits/mathdef.h: Remove file.
561         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
562         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
563         * sysdeps/tile/bits/mathdef.h: Likewise.
565 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
567         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
568         * math/w_ilogb.c: Remove.
569         * math/w_ilogbf.c: Likewise.
570         * math/w_ilogbl.c: Likewise.
571         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
572         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
573         * math/Makefile (gen-libm-calls): Add w_ilogbF.
574         (libm-calls): Remove w_ilogbF.
575         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
576         (LDOUBLE_ilogbl_libm_version): New macro.
578         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
580         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
581         [!__STRICT_ANSI__ && !__cplusplus].
583 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
585         [BZ #20750]
586         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
587         of PIC.
589 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
590             Yury Norov  <ynorov@caviumnetworks.com>
591             Steve Ellcey  <sellcey@caviumnetworks.com>
593         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
594         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
595         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
596         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
597         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
598         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
599         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
600         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
601         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
602         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
603         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
604         to get correct reg name for ILP32.
605         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
606         (RELA_SIZE): New Macro.
607         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
608         to support ILP32.
609         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
610         cast for ILP32 mode.
611         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
612         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
613         * sysdeps/aarch64/memset.S (__memset): Ditto.
614         * sysdeps/aarch64/strchr.S (strchr): Ditto.
615         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
616         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
617         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
618         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
619         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
620         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
621         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
622         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
623         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
624         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
625         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
626         change PTR_MANGLE call to use register numbers instead of names.
627         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
628         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
629         ILP32 mode, change PTR_MANGLE calls to use register numbers.
630         * sysdeps/aarch64/start.S (_start): Ditto.
631         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
632         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
633         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
634         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
635         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
636         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
637         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
638         Make defined values dependent on __ILP32__.
639         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
640         (sem_t): Change __align type.
641         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
642         PTR_SIZE): New Macros.
643         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
644         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
645         Set when in ILP32 mode.
646         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
647         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
648         Set elf flags for ILP32.
649         (add_system_dir): Set ILP32 library directories.
650         * sysdeps/unix/sysv/linux/aarch64/init-first.c
651         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
652         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
653         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
654         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
655         New Macros.
656         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
658 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
660         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
661         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
662         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
664 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
666         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
667         <asm/cachectl.h>.
669 2016-11-27  Zack Weinberg  <zackw@panix.com>
671         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
672         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
674 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
676         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
677         error_t to fix usage in C++ programs.
679 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
681         * scripts/build-many-glibcs.py: Import datetime module.
682         (Context.__init__): Load JSON build state.  Initialize list of
683         status logs.
684         (Context.run_builds): Update saved build state.
685         (Context.add_makefile_cmdlist): Update list of status logs.
686         (Context.load_build_state_json): New function.
687         (Context.store_build_state_json): Likewise.
688         (Context.clear_last_build_state): Likewise.
689         (Context.update_build_state): Likewise.
690         (CommandList.status_logs): Likewise.
692 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
694         * scripts/build-many-glibcs.py (Context.__init__): Save text of
695         script being executed.
696         (Context.get_script_text): New function.
697         (Context.exec_self): Likewise.
698         (Context.checkout): Re-exec script if changed by checkout process.
700 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
702         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
703         (setpayloadsig): New declaration.
704         * math/Versions (setpayloadsig): New libm symbol at version
705         GLIBC_2.25.
706         (setpayloadsigf): Likewise.
707         (setpayloadsigl): Likewise.
708         * math/Makefile (libm-calls): Add s_setpayloadsigF.
709         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
710         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
711         (setpayloadsig_test_data): New array.
712         (setpayloadsig_test): New function.
713         (main): Call setpayloadsig_test.
714         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
715         setpayloadsigf and setpayloadsigl.
716         * manual/libm-err-tab.pl: Update comment on interfaces without
717         ulps tabulated.
718         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
719         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
720         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
721         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
722         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
723         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
724         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
725         setpayloadsig.
726         (CFLAGS-nldbl-setpayloadsig.c): New variable.
727         * sysdeps/nacl/libm.abilist: Update.
728         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
729         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
730         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
731         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
732         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
733         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
734         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
735         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
736         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
737         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
738         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
739         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
741         Likewise.
742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
743         Likewise.
744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
745         Likewise.
746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
747         Likewise.
748         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
749         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
750         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
751         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
752         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
754         Likewise.
755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
756         Likewise.
757         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
761         * scripts/build-many-glibcs.py: Import json module.
762         (Context.__init__): Take replace_sources argument.  Load
763         versions.json.
764         (Context.load_versions_json): New function.
765         (Context.store_json): Likewise.
766         (Context.store_versions_json): Likewise.
767         (Context.set_component_version): Likewise.
768         (Context.checkout): Update versions.json.  Check for and handle
769         changes of version.  Prefer previously explicitly specified
770         version to default version.
771         (Context.checkout_vcs): Return a revision identifier.
772         (Context.git_checkout): Likewise.
773         (Context.gcc_checkout): Likewise.
774         (get_parser): Add --replace-sources option.
775         (main): Pass replace_sources argument to Context call.
777 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
779         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
780         * nptl/allocatestack.c (allocate_stack): Likewise.
781         (__reclaim_stacks): Likewise.
782         (setxid_signal_thread): Obtain pid through syscall.
783         * nptl/nptl-init.c (sigcancel_handler): Likewise.
784         (sighandle_setxid): Likewise.
785         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
786         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
787         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
788         Likewise.
789         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
790         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
791         comment.
792         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
793         * nptl/descr.h (struct pthread): Change comment about pid value.
794         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
795         pid assert.
796         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
797         Do not set pid value.
798         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
799         pid cache check.
800         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
801         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
802         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
803         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
804         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
805         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
806         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
807         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
808         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
809         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
810         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
811         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
812         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
813         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
814         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
815         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
816         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
817         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
818         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
819         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
820         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
821         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
822         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
823         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
824         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
827         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
828         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
829         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
830         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
831         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
832         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
833         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
834         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
835         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
836         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
837         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
838         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
839         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
840         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
841         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
842         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
845         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
846         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
847         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
848         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
849         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
850         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
851         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
852         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
853         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
854         struct access.
855         (clone_test): Remove function.
856         (do_test): Rewrite to take in consideration pid is not cached anymore.
858 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
860         * bits/flt-eval-method.h: New file.
861         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
862         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
863         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
864         * math/Makefile (headers): Add bits/flt-eval-method.h.
865         * math/math.h: Include <bits/flt-eval-method.h>.
866         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
867         [__USE_ISOC99] (double_t): Likewise.
868         * bits/mathdef.h (float_t): Remove.
869         (double_t): Likewise.
870         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
871         (double_t): Likewise.
872         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
873         (double_t): Likewise.
874         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
875         (double_t): Likewise.
876         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
877         (double_t): Likewise.
878         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
879         (double_t): Likewise.
880         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
881         (double_t): Likewise.
882         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
883         (double_t): Likewise.
884         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
885         (double_t): Likewise.
886         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
887         (double_t): Likewise.
888         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
889         (double_t): Likewise.
890         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
891         (double_t): Likewise.
892         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
893         (double_t): Likewise.
894         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
895         (double_t): Likewise.
897 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
899         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
900         instead of PIC.
902 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
904         [BZ #20859]
905         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
906         (-0x7fffffff) instead of 0x80000001.
907         * math/test-fp-ilogb-constants.c: New file.
908         * math/Makefile (tests): Add test-fp-ilogb-constants.
910 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
912         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
913         (_init): Use it in place of hardcoded R_MIPS_JALR.
914         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
915         (_init): Use it in place of hardcoded R_MIPS_JALR.
916         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
917         (_init): Use it in place of hardcoded R_MIPS_JALR.
919 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
921         [BZ #20787]
922         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
923         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
924         (double_t): Do not define to double if [__x86_64__] when
925         __FLT_EVAL_METHOD__ is nonzero.
926         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
927         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
928         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
929         test-flt-eval-method-387 and test-flt-eval-method-sse.
930         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
931         variable.
932         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
934 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
936         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
937         use of -fno-isolate-erroneous-paths options for tilepro.
939 2016-11-23  Florian Weimer  <fweimer@redhat.com>
941         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
942         structure initialization is no longer needed.
944 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
946         [BZ #20855]
947         * bits/mathdef.h (float_t): Define to float.
948         * math/test-flt-eval-method.c: New file.
949         * math/Makefile (tests): Add test-flt-eval-method.
950         (CFLAGS-test-flt-eval-method.c): New variable.
952 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
954         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
955         and __fstatfs.  Make them aliases of __fstatfs64 if
956         STATFS_IS_STATFS64 is set to non-zero.
957         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
958         and __statfs64.
959         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
960         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
961         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
962         for __statfs and statfs.
963         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
964         to 0.
965         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
966         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
967         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
968         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
969         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
970         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
973         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
974         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
975         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
976         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
978 2016-11-22  Andreas Schwab  <schwab@suse.de>
980         * misc/mkstemp.c: Include <fcntl.h>.
981         * misc/mkstemps.c: Likewise.
982         * misc/mkostemp.c: Likewise.
983         * misc/mkostemps.c: Likewise.
985 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
987         [BZ #20847]
988         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
989         array bounds.
990         (__execvpe): Likewise.
992 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
994         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
995         -fno-isolate-erroneous-paths options for tilepro.
997 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
999         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1000         to 0 when in 32 bit mode.
1001         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1002         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1003         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1004         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1006         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1007         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1008         XSTAT_IS_XSTAT64 test.
1009         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1010         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1011         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1012         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1013         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1014         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1015         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1016         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1017         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1018         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1019         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1021 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1023         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1024         (setpayload): New declaration.
1025         * math/Versions (setpayload): New libm symbol at version
1026         GLIBC_2.25.
1027         (setpayloadf): Likewise.
1028         (setpayloadl): Likewise.
1029         * math/Makefile (libm-calls): Add s_setpayloadF.
1030         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1031         test_Ff_b1_data.
1032         (RUN_TEST_Ff_b1): New macro.
1033         (RUN_TEST_LOOP_Ff_b1): Likewise.
1034         (canonicalize_test_data): Update type.
1035         (setpayload_test_data): New array.
1036         (setpayload_test): New function.
1037         (main): Call setpayload_test.
1038         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1039         setpayloadf and setpayloadl.
1040         * manual/libm-err-tab.pl: Update comment on interfaces without
1041         ulps tabulated.
1042         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1043         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1044         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1045         Likewise.
1046         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1047         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1048         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1049         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1050         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1051         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1052         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1053         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1054         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1055         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1056         setpayload.
1057         (CFLAGS-nldbl-setpayload.c): New variable.
1058         * sysdeps/nacl/libm.abilist: Update.
1059         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1060         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1062         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1063         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1064         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1069         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1070         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1072         Likewise.
1073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1074         Likewise.
1075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1076         Likewise.
1077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1078         Likewise.
1079         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1081         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1082         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1083         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1085         Likewise.
1086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1087         Likewise.
1088         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1089         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1090         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1092 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1094         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1095         * include/unistd.h: Extend comment about __access_noerrno return
1096         semantics.
1097         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1098         (access_common): Correct typo for EACCES.
1100 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1102         * sysdeps/tile/math-tests.h: New file.
1104         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1105         (__old_set_dataplane): Rename from set_dataplane and make a
1106         compatibility symbol.
1107         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1108         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1109         sys/dataplane.h.
1111 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1113         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1114         script quote words in command output to log suitably for input to
1115         the shell.
1117 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1118             Maciej W. Rozycki  <macro@imgtec.com>
1120         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1121         `.Lno_weak_fn' label.
1122         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1123         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1125 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1126             Yury Norov  <ynorov@caviumnetworks.com>
1128         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1129         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1130         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1131         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1132         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1133         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1134         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1135         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1136         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1137         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1138         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1139         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1140         (sysdep_routines): Remove oldgetrlimit64.
1141         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1142         (sysdep_routines): Likewise.
1143         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1144         (sysdep_routines): Likewise.
1145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1146         [$(subdir) = resource] (sysdep_routines): Likewise.
1147         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1148         [$(subdir) = resource] (sysdep_routines): Likewise.
1149         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1150         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1151         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1152         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1153         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1154         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1155         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1156         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1157         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1158         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1159         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1160         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1161         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1162         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1163         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1164         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1165         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1166         setrlimit and getrlimit.
1167         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1168         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1169         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1172         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1173         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1174         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1175         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1176         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1177         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1178         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1179         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1180         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1181         (__old_getrlimit64): Add compatibility symbol.
1182         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1184 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1186         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1187         newly built gmp, mpfr and mpc.
1189         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1191 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1193         * conform/Makefile (linknamespace-libs): Rename to
1194         linknamespace-libs-thr.
1195         (linknamespace-libs-posix): New variable.
1196         (linknamespace-libs-xsi): Likewise.
1197         (linknamespace-libs-XPG3): Include libcrypt.a.
1198         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1199         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1200         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1201         (linknamespace-libs-XOPEN2K): Likewise.
1202         (linknamespace-libs-XOPEN2K8): Likewise.
1203         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1205         [BZ #20829]
1206         * stdio-common/Versions (__snprintf): Add to version
1207         GLIBC_PRIVATE.
1208         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1209         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1210         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1211         of snprintf.
1212         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1214 2016-11-16  Zack Weinberg  <zackw@panix.com>
1216         * string/string.h: Remove obsolete comment stating that
1217         strcoll_l and strxfrm_l have not yet been standardized.
1219 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1221         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1222         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1223         __access_noerrno.
1224         * io/access.c (__access_noerrno): New function.
1225         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1226         (hurd_fail_seterrno): Likewise.
1227         (access_common): Likewise.
1228         (__access_noerrno): Likewise.
1229         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1230         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1231         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1232         macro.
1234 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1236         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1237         Only declare fpregs if [__SH_FPU_ANY__].
1239 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1241         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1242         Make code unconditional.
1243         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1245 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1247         * manual/sysinfo.texi (S_APPEND): Delete.
1248         (S_IMMUTABLE): Likewise.
1250 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1251             Magnus Granberg  <zorry@gentoo.org>
1252             Mike Frysinger  <vapier@gentoo.org>
1254         [BZ #20662]
1255         * configure.ac (libc_cv_predef_stack_protector): Also check for
1256         __stack_chk_fail_local symbols.
1257         * configure: Regenerated.
1259 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1261         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1262         (libc_hidden_def): Remove redefinition.
1263         (__sigsetjmp): Add hidden definition.
1264         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1265         (libc_hidden_def): Remove redefinition.
1266         (__sigsetjmp): Add hidden definition.
1268 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1270         * scripts/build-many-glibcs.py (os.path): Do not import.
1271         (Context): Inherit explicitly from object.  Remove blank line
1272         between class and docstring.
1273         (Config): Likewise.
1274         (Glibc): Likewise.
1275         (Command): Likewise.
1276         (CommandList): Likewise.
1277         (Context.write_files): Store chmod mode in a variable.
1279         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1280         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1281         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1283 2016-11-14  Zack Weinberg  <zackw@panix.com>
1285         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1286         creating or re-creating it.
1288         * string/bits/string2.h: Fix typo in comment.
1290 2016-11-14  Zack Weinberg  <zackw@panix.com>
1292         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1293         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1294         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1295         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1296         of redirected function names.
1298         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1299         as well.  Document that MESSAGE must be a single string literal.
1301 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1303         * scripts/build-many-glibcs.py: New file.
1305         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1306         (do_test): Disable -Wmaybe-uninitialized around uses of
1307         except_mask.
1309         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1311 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1313         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1314         (atomic_store_release): Provide tilepro-specific implementations.
1316 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1318         * math/math.h (__MATH_TG): New macro.
1319         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1320         [__USE_ISOC99] (signbit): Likewise.
1321         [__USE_ISOC99] (isfinite): Likewise.
1322         [__USE_ISOC99] (isnan): Likewise.
1323         [__USE_ISOC99] (isinf): Likewise.
1324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1327         __MATH_TG and __MATH_EVAL_FMT2.
1328         * sysdeps/generic/math_private.h (fabs_tg): Define using
1329         __MATH_TG.
1330         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1331         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1332         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1333         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1334         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1335         macro.
1336         (__iscanonical): Likewise.
1337         (iscanonical): Define using __MATH_TG.
1339 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1341         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1342         guards.
1344         * sysdeps/unix/sysv/linux/access.c: New file.
1345         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1347 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1349         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1350         and __WORDSIZE32_PTRDIFF_LONG.
1352 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1354         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1356 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1358         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1359         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1360         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1361         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1362         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1364         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1365         * sysdeps/unix/sysv/linux/truncate.c: New file.
1366         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1367         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1368         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1369         Remove.
1370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1371         Likewise.
1373         * posix/tst-truncate-common.c: New file.
1374         * posix/tst-truncate.c: Use tst-truncate-common.c.
1375         * posix/tst-truncate64.c: Likewise and add LFS tests.
1376         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1377         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1378         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1379         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1380         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1382         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1383         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1384         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1385         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1386         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1387         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1388         Remove.
1389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1390         Likewise.
1392 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1394         [BZ #20790]
1395         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1396         to MAXLINESIZE.
1397         * sunrpc/bug20790.x: New file.
1398         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1399         variable.
1400         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1401         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1403         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1405         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1407         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1408         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1409         calloc, realloc, free, memalign and __libc_memalign rather than
1410         making them optional.
1412         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1413         for libc.so.
1415 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1417         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1418         ptw-lseek64.
1419         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1420         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1421         Likewise.
1422         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1423         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1424         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1425         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1426         * sysdeps/unix/sysv/linux/lseek.c: New file.
1427         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1428         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1429         __libc_lseek64 from auto-generation.
1430         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1431         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1433 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1435         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1436         * nptl/tst-cleanup1.c (do_test): Likewise.
1437         * nptl/tst-cleanup3.c (do_test): Likewise.
1438         * nptl/tst-key1.c (do_test): Likewise.
1439         * nptl/tst-key2.c (tf, do_test): Likewise.
1440         * nptl/tst-key3.c (tf, do_test): Likewise.
1441         * nptl/tst-stdio1.c (do_test): Likewise.
1442         * nptl/tst-stdio2.c (do_test): Likewise.
1444         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1445         * nptl/tst-kill6.c (handler): Likewise.
1446         * nptl/tst-tls2.c (CB): Likewise.
1447         * nptl/tst-tls3.c (CB): Likewise.
1449 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1451         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1453 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1454             Steve Ellcey  <sellcey@caviumnetworks.com>
1456         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1457           __ASSUME_ST_INO_64_BIT as 0
1458         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1459         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1460           over the code where __ASSUME_ST_INO_64_BIT is used.
1461         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1462         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1463         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1465 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1467         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1468         Document ABI exposure of the __kind offset.
1469         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1470         Mention reason for the __kind offset exposure in the ABI.
1471         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1472         Likewise.
1473         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1474         Likewise.
1475         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1476         Likewise.
1477         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1478         (struct __pthread_mutex_s): Likewise.
1479         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1480         Likewise.
1481         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1482         Likewise.
1483         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1484         Likewise.
1485         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1486         Likewise.
1487         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1488         Likewise.
1489         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1490         Likewise.
1491         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1492         (struct __pthread_mutex_s): Likewise.
1493         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1494         (struct __pthread_mutex_s): Likewise.
1495         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1496         Likewise.
1498 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1500         * test-skeleton.c: Document do_test usage.
1502 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1504         * iconv/gconv.h (__gconv_info): Define __data element using a
1505         zero-length array.
1507 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1509         * math/test-tgmath2.c: Split up test function.
1511 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1513         * Rules (tests-expected): New variable, depending on
1514         $(run-built-tests).
1515         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1516         $(tests).
1518         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1519         $(tests-unsupported).
1521 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1523         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1524         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1526 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1528         [BZ #20768]
1529         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1530         __fegetenv instead of fegetenv.
1532         [BZ #14139]
1533         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1534         (find_files): Obtain platform name from libm-test-ulps-name and
1535         store in %pplatforms.
1536         (canonicalize_platform): Remove.
1537         (print_platforms): Use $pplatforms directly.
1538         (by_platforms): Do not allow for platforms missing from
1539         %pplatforms.
1540         * sysdeps/aarch64/libm-test-ulps-name: New file.
1541         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1542         * sysdeps/arm/libm-test-ulps-name: Likewise.
1543         * sysdeps/generic/libm-test-ulps-name: Likewise.
1544         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1545         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1546         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1547         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1548         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1549         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1550         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1551         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1552         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1553         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1554         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1555         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1556         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1557         * sysdeps/sh/libm-test-ulps-name: Likewise.
1558         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1559         * sysdeps/tile/libm-test-ulps-name: Likewise.
1560         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1562         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1564         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1565         (test-xfail-check-execstack): New variable.
1567         * sysdeps/mips/localplt.data: New file.
1569 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1570             Steve Ellcey  <sellcey@caviumnetworks.com>
1572         * bits/wordsize.h: Add documentation.
1573         * sysdeps/aarch64/bits/wordsize.h : New file
1574         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1575         definitions.
1576         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1577         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1578         with #if instead of #ifdef.
1579         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1580         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1581         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1582         Add or change defines.
1583         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1584         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1585         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1586         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1587         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1588         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1589         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1590         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1591         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1592         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1593         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1594         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1595         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1596         * sysdeps/x86/bits/wordsize.h: Likewise.
1598 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1599             Kevin Petit  <kevin.petit@arm.com>
1601         * sysdeps/aarch64/memchr.S (__memchr): New file.
1603 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1605         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1607 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1609         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1610         $(linknamespace-symlists-tests).
1612 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1614         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1616 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1617             Carlos O'Donell  <carlos@redhat.com>
1619         [Bug #20729]
1620         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1621         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1622         for -Os related change.
1624 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1626         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1628 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1630         [BZ #19673]
1631         * manual/math.texi (Exponents and Logarithms): Correct description
1632         of clog10.
1634 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1636         [Bz #20729]
1637         * locale/weight.h: Include libc-internal.h.
1638         * locale/weightwc.h: Likewise.
1639         * nptl/nptl_dbP.h: Likewise.
1641 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1643         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1644         when it is MACH_PORT_NULL.
1646 2016-10-31  Andreas Schwab  <schwab@suse.de>
1648         [BZ #20707]
1649         * posix/glob.c (glob): Initialize pglob before checking for
1650         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1651         valid brace expression despite GLOB_BRACE.
1652         * posix/globtest.sh: Test it.
1654 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1656         [BZ #20729]
1657         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1658         Define.
1659         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1660         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1661         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1662         for seq2.back_us and seq1.back_us only for -Os compiles.
1663         * locale/weightwc.h (findix): Likewise.
1664         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1665         DB_GET_FIELD_ADDRESS only for -Os compiles.
1666         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1667         for slen only for -Os compiles.
1668         * string/strcoll_l.c (get_next_seq): Ignore
1669         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1670         for -Os compiles.
1672         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1673         * include/crypt.h: New file.
1675 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1677         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1678         from test-skeleton.c.
1679         (statclass): Replace calls to write with calls to write_message.
1681 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1683         * math/math.h
1684         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1685         New macro.
1686         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1687         Likewise.
1688         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1689         Likewise.
1690         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1691         SNANL.
1692         * math/test-double.h (snan_value_MACRO): New macro.
1693         * math/test-float.h (snan_value_MACRO): Likewise.
1694         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1695         * math/libm-test.inc (issignaling_test_data): Add tests of
1696         snan_value_MACRO.
1698 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1700         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1701         behavior when eliding a lock not held by the current thread.
1702         * sysdeps/powerpc/nptl/elide.h: Likewise.
1704 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1706         [BZ #20728]
1707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1708         branch to _exit() by a function call.
1710 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1712         * malloc/malloc.c: Update chunk layout comments.
1713         (chunk_main_arena): Update comment.
1715 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1717         * crypt/sha256.c, crypt/sha256-block.c,
1718         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1719         sha256_process_block to __sha256_process_block.
1720         * crypt/sha512.c, crypt/sha512-block.c,
1721         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1722         sha512_process_block to __sha512_process_block.
1724 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1726         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1728         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1730 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1732         [BZ #20019]
1733         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1734         definition in unrelocated shared library.
1735         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1737 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1739         [BZ #20729]
1740         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1741         * sysdeps/unix/sysv/linux/i386/Makefile
1742         (uses-6-syscall-arguments): Define.
1743         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1744         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1745         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1746         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1747         Likewise.
1748         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1749         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1750         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1751         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1752         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1753         (CFLAGS-fallocate64.os): Likewise.
1754         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1755         (CFLAGS-pthread_rwlock_timedrdlock.os)
1756         (CFLAGS-pthread_rwlock_timedwrlock.o)
1757         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1758         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1759         (CFLAGS-sem_timedwait.os): Likewise.
1761 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1763         * elf/tst-linkall-static.c: New file.
1764         * elf/Makefile (tests-static): Add tst-linkall-static.
1765         (tst-linkall-static): Link against static libraries.
1767 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1769         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1770         mmaped chunks.
1772 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1774         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1775         members to mchunk_prev_size, mchunk_size.
1776         (chunk_main_arena): Reverse sense and rename from
1777         chunk_non_main_arena.
1778         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1779         mchunk_size instead of size.
1780         (set_non_main_arena): Define.
1781         (chunksize): Use chunksize_nomask instead of direct member access.
1782         (chunksize_nomask): Define.
1783         (next_chunk): Use chunksize instead of direct member access.
1784         (prev_size, set_prev_size): Define.
1785         (prev_chunk): Use prev_size instead of direct member access.
1786         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1787         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1788         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1789         (mchunk_prev_size, mchunk_size): Poison tokens.
1790         (unlink): Use chunksize_nomask, prev_size accessors.
1791         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1792         (do_check_free_chunk): Use prev_size accessor.
1793         (sysmalloc): Use set_prev_size, set_head accessors.
1794         (munmap_chunk, mremap_chunk): Use prev_size accessor.
1795         (__libc_free): Use chunksize_nomask accessor.
1796         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1797         chunk_main_arena accessors.
1798         (_int_free): Use chunksize_nomask, prev_size accessors.
1799         (malloc_consolidate): Use chunksize, prev_size accessors.
1800         (_int_realloc): Use chunksize_nomask accessor.
1801         (_int_memalign): Use set_prev_size accessor.
1802         (__malloc_info): Use chunksize_nomask accessor.
1803         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
1804         accessors.
1805         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
1806         (heap_trim): Use chunksize_nomask, prev_size accessors.
1808 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1810         [BZ #19380]
1811         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
1812         for inexact results.
1813         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
1814         of inexact result where mpfr_subnormalize is the only inexact
1815         step.
1816         * stdlib/tst-strtod-round-data.h: Regenerated.
1817         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
1818         Define to 0.
1819         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
1821 2016-10-27  David S. Miller  <davem@davemloft.net>
1823         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
1825 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1827         * malloc/malloc.c (do_set_mallopt_check): New function.
1828         (do_set_mmap_threshold): Likewise.
1829         (do_set_mmaps_max): Likewise.
1830         (do_set_top_pad): Likewise.
1831         (do_set_perturb_byte): Likewise.
1832         (do_set_trim_threshold): Likewise.
1833         (do_set_arena_max): Likewise.
1834         (do_set_arena_test): Likewise.
1835         (__libc_mallopt): Use them.
1837 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
1839         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1840         (canonicalize): New declaration.
1841         * math/Versions (canonicalize): New libm symbol at version
1842         GLIBC_2.25.
1843         (canonicalizef): Likewise.
1844         (canonicalizel): Likewise.
1845         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
1846         * math/s_canonicalize_template.c: New file.
1847         * math/libm-test.inc: Update comment on functions tested and
1848         testing of NaN payloads.
1849         (TEST_NAN_PAYLOAD): New macro.
1850         (NO_TEST_INLINE): Update value.
1851         (XFAIL_TEST): Likewise.
1852         (ERRNO_UNCHANGED): Likewise.
1853         (ERRNO_EDOM): Likewise.
1854         (ERRNO_ERANGE): Likewise.
1855         (IGNORE_RESULT): Likewise.
1856         (NON_FINITE): Likewise.
1857         (TEST_SNAN): Likewise.
1858         (NO_TEST_MATHVEC): Likewise.
1859         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
1860         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
1861         (struct test_Ffp_b1_data): New type.
1862         (RUN_TEST_Ffp_b1): New macro.
1863         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1864         (canonicalize_test_data): New array.
1865         (canonicalize_test): New function.
1866         (main): Call canonicalize_test.
1867         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
1868         canonicalizef and canonicalizel.
1869         * manual/libm-err-tab.pl: Update comment on interfaces without
1870         ulps tabulated.
1871         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
1872         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
1873         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1874         canonicalize.
1875         (CFLAGS-nldbl-canonicalize.c): New variable.
1876         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
1877         to ...
1878         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
1879         ... here.
1880         (do_test): Also test canonicalizel.
1881         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
1882         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
1883         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
1884         file.
1885         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
1886         Use libm_hidden_def.
1887         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
1888         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
1889         (do_test): Also test canonicalizel.
1890         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
1891         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
1892         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
1893         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
1894         libm_hidden_def.
1895         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
1896         macro.
1897         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
1898         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
1899         * sysdeps/nacl/libm.abilist: Update.
1900         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1901         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1902         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1903         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1904         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1905         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1906         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1907         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1908         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1909         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1910         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1911         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1913         Likewise.
1914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1915         Likewise.
1916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1917         Likewise.
1918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1919         Likewise.
1920         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1921         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1922         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1923         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1924         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1926         Likewise.
1927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1928         Likewise.
1929         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1930         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1931         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1933         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
1934         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1935         getpayload.
1936         (CFLAGS-nldbl-getpayload.c): New variable.
1938 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1940         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
1941         integer from the format string.
1943 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1945         [BZ #19473]
1946         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
1947         declarations.
1948         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
1949         weak aliases.
1950         * malloc/hooks.c (__malloc_get_state): Remove definition.
1951         (malloc_get_state): New stub implementation as
1952         compatibility symbol.
1953         (malloc_set_state): Rename from __malloc_set_state.  Turn into
1954         compat symbol.
1955         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
1956         malloc_set_state.
1957         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
1959 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1961         * iconvdata/iso646.c (enum variant): Drop illegal_var.
1962         (names): Turn into concatenation of strings.
1963         (gconv_init): Adapt iteration over names.
1965 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1967         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
1968         make const.
1969         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
1970         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
1971         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
1972         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
1973         character in sbconv.
1974         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
1975         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
1976         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1978 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1980         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1982         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1983         (M_TRIM_THRESHOLD): Likewise.
1985         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1986         (M_ARENA_MAX): Likewise.
1987         * malloc/malloc.c: Remove obsolete comment.
1989         * manual/memory.texi: Add environment variable alternatives to
1990         setting mallopt parameters.
1992 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1994         * include/atomic.h
1995         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1996         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1998 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2000         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2001         * stdlib/tst-strfrom.h: New file.
2002         * stdlib/tst-strfrom.c: New file.
2003         * stdlib/tst-strfrom-locale.c: New file.
2005         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2006         * stdlib/bug-strtod2.c: Likewise.
2007         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2008         * stdlib/tst-strtod6.c: Likewise.
2009         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2011 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2013         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2014         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2015         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2016         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2017         * stdlib/stdlib.h (strfromd): New declaration.
2018         (strfromf): Likewise.
2019         (strfroml): Likewise.
2020         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2021         strfrom.
2022         * stdlib/strfromd.c: New file.
2023         * stdlib/strfromf.c: Likewise.
2024         * stdlib/strfroml.c: Likewise.
2025         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2026         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2027         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2028         * sysdeps/arm/nacl/libc.abilist: Update.
2029         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2030         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2031         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2032         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2033         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2034         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2035         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2036         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2037         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2038         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2039         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2040         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2041         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2042         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2047         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2048         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2049         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2050         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2051         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2054         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2055         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2056         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2058 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2060         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2061         instead of cmpli.
2062         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2063         instead of cmpli.
2065 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2067         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2068         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2069         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2070         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2071         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2072         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2074 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2076         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2077         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2078         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2079         SYSCALL_LL64_PRW.
2080         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2081         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2082         __ASSUME_PRW_DUMMY_ARG.
2083         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2084         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2085         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2086         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2087         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2088         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2090 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2092         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2094 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2096         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2097         "C++", to override a potential extern "C" directive around the
2098         header file inclusion.
2100 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2102         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2104 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2106         * sysdeps/powerpc/fpu/fenv_private.h:
2107         (_FPU_MASK_ALL): Rename to...
2108         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2109         XE FPSCR bits.
2111         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2113         (_FPU_MASK_ROUNDING): Rename to...
2114         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2115         NI bits.
2117         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2118         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2119         bits and rounding bits.
2121         (__libc_feholdbits_ppc): New inline function to mask, set,
2122         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2123         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2124         (libc_feholdexcept_setround_ppc): Likewise.
2126         (__libc_femergeenv_ppc): New function to dynamically mask both
2127         old and new FP environments and merge.
2128         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2129         (libc_feresetround_ppc): Likewise.
2130         (libc_feupdateenv_test_ppc): Likewise.
2131         (libc_feupdateenv_ppc): Likewise.
2133         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2134         of ISA RN bits, and update macro names.
2135         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2136         effectively the same as the previously mentioned function.
2138         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2139         usage with fe_resetround_ppc.
2141         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2142         to be used.
2143         (libc_feholdexcept_setround_ctxf): Likewise.
2144         (libc_feholdexcept_setround_ctxl): Likewise.
2146 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2148         [BZ #20715]
2149         * math/math.h [__cplusplus] (iszero): Define as function template.
2150         * math/Makefile [CXX] (tests): Add test-math-iszero.
2151         (CFLAGS-test-math-iszero.cc): Set.
2152         * math/test-math-iszero.cc: New file.
2154 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2156         [BZ #20660]
2157         * sysdeps/arm/e_sqrt.c: New file.
2158         * sysdeps/arm/e_sqrtf.c: Likewise.
2160 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2162         [BZ #20718]
2163         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2164         not use floating-point comparisons to test sign.
2165         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2166         Likewise.
2168         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2169         (getpayload): New declaration.
2170         * math/Versions (getpayload): New libm symbol at version
2171         GLIBC_2.25.
2172         (getpayloadf): Likewise.
2173         (getpayloadl): Likewise.
2174         * math/Makefile (libm-calls): Add s_getpayloadF.
2175         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2176         (struct test_f_f_data): Add comment.
2177         (RUN_TEST_fp_f): New macro.
2178         (RUN_TEST_LOOP_fp_f): Likewise.
2179         (getpayload_test_data): New array.
2180         (getpayload_test): New function.
2181         (main): Call getpayload_test.
2182         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2183         descriptor.
2184         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2185         getpayloadf and getpayloadl.
2186         * manual/libm-err-tab.pl: Update comment on interfaces without
2187         ulps tabulated.
2188         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2189         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2190         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2191         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2192         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2193         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2194         * sysdeps/nacl/libm.abilist: Update.
2195         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2196         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2197         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2198         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2203         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2204         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2205         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2206         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2208         Likewise.
2209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2210         Likewise.
2211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2212         Likewise.
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2214         Likewise.
2215         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2216         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2217         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2218         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2219         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2221         Likewise.
2222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2223         Likewise.
2224         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2225         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2226         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2228 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2230         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2231         tst-fallocate{64}.
2232         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2233         on syscall return.
2235 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2237         [BZ #20689]
2238         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2239         usable.
2241 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2243         * sysdeps/generic/nan-high-order-bit.h: New file.
2244         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2245         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2246         * sysdeps/hppa/math_private.h: Remove file.
2247         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2248         not define here.
2249         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2250         <nan-high-order-bit.h>.
2251         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2252         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2253         <nan-high-order-bit.h>.
2254         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2255         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2256         <nan-high-order-bit.h>.
2257         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2258         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2259         <nan-high-order-bit.h>.
2260         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2261         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2262         <nan-high-order-bit.h>.
2263         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2264         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2265         <nan-high-order-bit.h>.
2266         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2267         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2268         <nan-high-order-bit.h>.
2269         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2270         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2271         <nan-high-order-bit.h>.
2272         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2273         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2274         <nan-high-order-bit.h>.
2275         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2276         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2277         <nan-high-order-bit.h>.
2278         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2279         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2280         <nan-high-order-bit.h>.
2281         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2282         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2283         <nan-high-order-bit.h>.
2284         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2285         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2286         <nan-high-order-bit.h>.
2287         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2288         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2289         <nan-high-order-bit.h>.
2290         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2291         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2292         <nan-high-order-bit.h>.
2293         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2294         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2295         <nan-high-order-bit.h>.
2296         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2297         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2298         <nan-high-order-bit.h>.
2299         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2300         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2301         <nan-high-order-bit.h>.
2302         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2304 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2306         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2308 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2310         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2311         abort-instr.h.
2312         (EFAULT): Remove conditional define.
2313         (ENOSYS): Likewise.
2314         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2315         instead of conditional branch instructions.
2317 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2319         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2320         (totalordermag): New declaration.
2321         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2322         New macro.
2323         * math/Versions (totalordermag): New libm symbol at version
2324         GLIBC_2.25.
2325         (totalordermagf): Likewise.
2326         (totalordermagl): Likewise.
2327         * math/Makefile (libm-calls): Add s_totalordermagF.
2328         * math/libm-test.inc (totalordermag_test_data): New array.
2329         (totalordermag_test): New function.
2330         (main): Call totalordermag_test.
2331         * math/test-tgmath.c (NCALLS): Increase to 125.
2332         (F(compile_test)): Call totalordermag.
2333         (F(totalordermag)): New function.
2334         * manual/arith.texi (FP Comparison Functions): Document
2335         totalordermag, totalordermagf and totalordermagl.
2336         * manual/libm-err-tab.pl: Update comment on interfaces without
2337         ulps tabulated.
2338         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2339         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2340         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2345         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2346         totalordermag.
2347         (CFLAGS-nldbl-totalordermag.c): New variable.
2348         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2349         (do_test): Also test totalordermagl.
2350         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2351         Likewise.
2352         * sysdeps/nacl/libm.abilist: Update.
2353         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2354         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2355         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2356         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2357         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2358         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2359         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2360         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2361         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2362         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2363         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2364         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2366         Likewise.
2367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2368         Likewise.
2369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2370         Likewise.
2371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2372         Likewise.
2373         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2374         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2375         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2376         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2377         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2379         Likewise.
2380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2381         Likewise.
2382         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2383         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2384         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2386 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2388         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2389         boolean.
2391 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2393         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2394         raising FE_INVALID with feraisexcept in case where part of
2395         argument is infinite, subtract that part of argument from itself.
2396         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2397         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2398         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2400 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2402         * math/libm-test.inc (totalorder_test_data): Add more tests.
2404 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2406         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2407         Undefine weak_alias and add a comment why mips64 require
2408         versioning.
2410 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2412         [BZ #20647]
2413         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2414         maximum CPUID level is less than 2.
2416 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2418         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2419         (totalorder): New declaration.
2420         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2421         New macro.
2422         * math/Versions (totalorder): New libm symbol at version
2423         GLIBC_2.25.
2424         (totalorderf): Likewise.
2425         (totalorderl): Likewise.
2426         * math/Makefile (libm-calls): Add s_totalorderF.
2427         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2428         string.
2429         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2430         (qnan_value_pl): Likewise.
2431         (snan_value_pl): Likewise.
2432         (qnan_value): Define using qnan_value_pl.
2433         (snan_value): Define using snan_value_pl.
2434         (struct test_ff_i_data): Add comment about which tests use this
2435         structure.
2436         (RUN_TEST_ff_b): New macro.
2437         (RUN_TEST_LOOP_ff_b): Likewise.
2438         (totalorder_test_data): New array.
2439         (totalorder_test): New function.
2440         (main): Call totalorder_test.
2441         * math/test-tgmath.c (NCALLS): Increase to 122.
2442         (F(compile_test)): Call totalorder.
2443         (F(totalorder)): New function.
2444         * manual/arith.texi (FP Comparison Functions): Document
2445         totalorder, totalorderf and totalorderl.
2446         * manual/libm-err-tab.pl: Update comment on interfaces without
2447         ulps tabulated.
2448         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2449         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2450         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2451         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2453         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2455         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2456         totalorder.
2457         (CFLAGS-nldbl-totalorder.c): New variable.
2458         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2459         file.
2460         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2461         Add test-totalorderl-ldbl-128ibm.
2462         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2463         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2464         test-totalorderl-ldbl-96.
2465         * sysdeps/nacl/libm.abilist: Update.
2466         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2467         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2468         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2469         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2470         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2471         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2472         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2473         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2474         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2475         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2476         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2477         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2479         Likewise.
2480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2481         Likewise.
2482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2483         Likewise.
2484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2485         Likewise.
2486         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2487         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2488         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2489         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2490         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2492         Likewise.
2493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2494         Likewise.
2495         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2496         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2497         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2499 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2501         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2502         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2503         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2504         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2505         remove ENOSYS implementation.
2506         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2507         Consolidate all Linux implementations.
2509 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2511         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2512         * resolv/herror.c (herror): Cast away const-ness.
2513         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2514         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2516 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2518         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2519         instead of M_NAN + M_NAN.
2520         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2522 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2524         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2525         unused variable 'p'.
2527 2016-10-09  Alan Modra  <amodra@gmail.com>
2528             Andreas Schwab  <schwab@linux-m68k.org>
2530         [BZ #20554]
2531         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2532         [PIC && !SHARED]: Set up PIC register for PLT call.
2534 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2536         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2537         conditional on value of [__FLT_EVAL_METHOD__].
2538         * math/test-iseqsig-excess-precision.c: New file.
2539         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2541 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2543         * math/s_iseqsig_template.c: Include math-private.h.
2545         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2546         * posix/tst-posix_fadvise.c: New file.
2547         * posix/tst-posix_fadvise64.c: Likewise.
2548         * posix/tst-posix_fadvise-common.c: Likewise.
2549         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2550         (__ASSUME_FADVISE64_64_6ARG): Define.
2551         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2552         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2553         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2554         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2555         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2556         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2557         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2558         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2559         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2560         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2561         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2562         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2565         Likewise.
2566         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2567         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2568         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2569         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2570         Alias to __posix_fadvise64_l32.
2571         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2572         Add compat definition to posix_fadvise64.
2573         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2574         Add versioned definition to posix_fadvise64.
2575         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2576         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2577         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2578         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2579         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2581         * io/Makefile (tests): Add tst-posix_fallocate and
2582         tst-posix_fallocate64.
2583         * io/tst-posix_fallocate-common.c: New file.
2584         * io/tst-posix_fallocate.c: Likewise.
2585         * io/tst-posix_fallocate64.c: Likewise.
2586         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2587         file.
2588         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2589         Likewise.
2590         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2591         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2592         Likewise.
2593         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2594         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2595         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2596         SYSCALL_LL to pass both offset and len arguments.
2597         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2598         Likewise.
2599         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2600         __libc_pwrite64 alias used by posix_fallocate64.
2602         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2603         tst-fallocate64.
2604         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2605         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2606         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2607         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2608         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2609         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2610         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2611         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2612         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2613         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2614         macro on offset argument.
2615         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2616         SYSCALL_LL64 on offset argument.
2618         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2619         tst-fallocate64.
2620         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2621         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2622         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2623         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2624         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2625         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2626         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2627         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2628         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2629         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2630         macro on offset argument.
2631         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2632         SYSCALL_LL64 on offset argument.
2633         * test-skeleton.c (FAIL_RET): Add macro.
2634         (FAIL_EXIT): Likewise.
2635         (FAIL_EXIT1): Likewise.
2636         (_FAIL): Likewise.
2638 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2640         [BZ #20629]
2641         resolv: Remove RES_USEBSTRING and its implementation.
2642         * resolv/resolv.h (RES_USEBSTRING): Remove.
2643         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2644         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2645         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2646         (labellen): Remove extended label types support.
2647         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2648         * resolv/res_init.c (res_setoptions): Likewise.
2649         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2651 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2653         resolv: Remove RES_NOIP6DOTINT and its implementation.
2654         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2655         (RES_NOIP6DOTINT): Remove.
2656         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2657         handling.
2658         * resolv/res_debug.c (p_option): Likewise.
2659         * resolv/res_init.c (res_setoptions): Likewise.
2660         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2662 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2664         resolv: Deprecate unimplemented flags.
2665         * misc/sys/cdefs.h (__glibc_macro_warning1)
2666         (__glibc_macro_warning): Define.
2667         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2668         (RES_KEEPTSIG): Mark as deprecated.
2669         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2670         RES_NOCHECKNAME, RES_KEEPTSIG.
2671         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2673 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2675         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2676         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2677         Use strong_alias to create symbols for glibc verison 2.19.
2679 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2681         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2683 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2685         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2687 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2689         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2691 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2693         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2694         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2695         in header for using it as type for ifunc function because __GI_* symbols
2696         for ppc32 do not target the ifunc symbols.
2697         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2699 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2701         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2702         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2703         libc_ifunc_hidden_def.
2704         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2705         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2706         Redirect ifunced function in header for using it as type of ifunc'ed
2707         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2708         function for __GI_* symbol.
2709         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2710         * include/libc-symbols.h
2711         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2713 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2715         [BZ #20478]
2716         * sysdeps/s390/multiarch/ifunc-resolve.h
2717         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2718         to create ifunc symbols.
2719         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2720         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2721         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2722         for using it as type for ifunc function.
2723         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2724         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2725         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2726         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2727         * sysdeps/s390/multiarch/strcat.c: Likewise.
2728         * sysdeps/s390/multiarch/strchr.c: Likewise.
2729         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2730         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2731         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2732         * sysdeps/s390/multiarch/strlen.c: Likewise.
2733         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2734         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2735         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2736         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2737         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2738         * sysdeps/s390/multiarch/strspn.c: Likewise.
2739         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2740         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2741         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2742         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2743         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2744         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2745         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2746         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2747         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2748         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2749         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2750         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2752 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2754         * include/libc-symbols.h (__ifunc_resolver):
2755         New macro is used by __ifunc* macros.
2756         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2757         depending on HAVE_GCC_IFUNC.
2758         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2759         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2761         Redirect ifunced function in header for using as type for ifunc function.
2762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2768         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2769         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2770         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2771         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2772         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2773         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2774         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2775         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2781         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2782         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2783         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2784         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2785         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2786         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2787         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2788         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2789         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2790         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2791         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2792         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2793         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2794         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2796         Add libc_hidden_def() and use libc_ifunc_hidden() macro
2797         instead of libc_ifunc() macro.
2798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2799         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2801 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2803         * config.h.in (HAVE_GCC_IFUNC): New undef.
2804         * configure.ac: Add check if gcc supports attribute ifunc feature.
2805         * configure: Regenerated.
2806         * manual/install.texi: Add recommendation for gcc with
2807         indirect-function support.
2808         * INSTALL: Regenerated.
2810 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
2812         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
2813         macro.
2814         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2815         (__iseqsig): New declaration.
2816         * math/s_iseqsig_template.c: New file.
2817         * math/Versions (__iseqsigf): New libm symbol at version
2818         GLIBC_2.25.
2819         (__iseqsig): Likewise.
2820         (__iseqsigl): Likewise.
2821         * math/libm-test.inc (iseqsig_test_data): New array.
2822         (iseqsig_test): New function.
2823         (main): Call iseqsig_test.
2824         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
2825         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
2826         * manual/libm-err-tab.pl: Update comment on interfaces without
2827         ulps tabulated.
2828         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
2829         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
2830         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
2831         * sysdeps/nacl/libm.abilist: Update.
2832         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2833         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2834         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2835         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2836         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2837         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2838         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2839         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2840         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2841         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2842         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2843         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2845         Likewise.
2846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2847         Likewise.
2848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2849         Likewise.
2850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2851         Likewise.
2852         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2853         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2854         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2855         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2856         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2858         Likewise.
2859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2860         Likewise.
2861         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2862         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2863         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2865 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2867         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
2868         do_sincos_2, sloww, sloww1): Update comments.
2870         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
2871         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
2873         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
2874         K boolean and rename it.
2875         (__sin): Adjust.
2876         (__cos): Adjust.
2878 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2879             Siddhesh Poyarekar  <siddhesh@sourceware.org>
2881         * manual/nss.texi: Fix typos in the manual.
2883 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2885         * manual/contrib.texi: Fix typos in the manual.
2887         * manual/maint.texi: Fix typos in the manual.
2889         * manual/install.texi: Fix typos in the manual.
2890         * INSTALL: Regenerated.
2892         * manual/lang.texi: Fix typos in the manual.
2894         * manual/probes.texi: Fix typos in the manual.
2896         * manual/threads.texi: Fix typos in the manual.
2898         * manual/debug.texi: Fix typos in the manual.
2900         * manual/crypt.texi: Fix typos in the manual.
2902         * manual/conf.texi: Fix typos in the manual.
2904         * manual/sysinfo.texi: Fix typos in the manual.
2906         * manual/users.texi: Fix typos in the manual.
2908         * manual/job.texi: Fix typos in the manual.
2910         * manual/process.texi: Fix typos in the manual.
2912         * manual/argp.texi: Fix typos in the manual.
2913         * manual/getopt.texi: Likewise.
2914         * manual/startup.texi: Likewise.
2916         * manual/signal.texi: Fix typos in the manual.
2918         * manual/setjmp.texi: Fix typos in the manual.
2920         * manual/resource.texi: Fix typos in the manual.
2922         * manual/time.texi: Fix typos in the manual.
2924         * manual/arith.texi: Fix typos in the manual.
2926         * manual/math.texi: Fix typos in the manual.
2928         * manual/syslog.texi: Fix typos in the manual.
2930         * manual/terminal.texi: Fix typos in the manual.
2932         * manual/socket.texi: Fix typos in the manual.
2934         * manual/filesys.texi: Fix typos in the manual.
2936         * manual/llio.texi: Fix typos in the manual.
2938         * manual/stdio.text: Fix typos in the manual.
2940 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2942         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
2943         instead of K1.
2945         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
2946         SHIFT_QUADRANT and make it bool.
2947         (do_sincos_2): Likewise.
2948         (sloww): Likewise.
2949         (sloww1): Likewise.
2950         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
2951         (__cos): Likewise.
2953 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2955         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2957 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
2959         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
2960         Define to __WORDSIZE, not conditional on [LONG_MAX ==
2961         0x7fffffffL].
2962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2964 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2966         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
2967         inline by __inline__.
2968         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
2969         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
2970         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
2971         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
2972         sigset_t from signal.h.
2973         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
2974         which is already required.
2976 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2978         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2980 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
2982         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2983         (struct tcp_repair_window): New type.
2985 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2987         * libio/tst-memstream3.c: Include string.h.
2989 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2991         [BZ #18241]
2992         [BZ #20181]
2993         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2994         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2995         write position is at the end the buffer.
2996         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2997         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2998         (_IO_str_seekoff): Set correct offset from negative displacement and
2999         set EINVAL for invalid ones.
3000         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3001         buffer length.
3002         (_IO_wstr_switch_to_get_mode): New function.
3003         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3004         set EINVAL for invalid ones.
3005         * libio/tst-memstream3.c: New file.
3006         * libio/tst-wmemstream3.c: Likewise.
3007         * manual/examples/memstrm.c: Remove warning when priting size_t.
3009 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3011         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3012         macro to use __builtin_fma.
3013         * sysdeps/x86_64/fpu/dla.h: Remove file.
3015         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3016         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3017         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3019 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3021         [BZ #20292]
3022         * elf/Makefile (routines): Add dl-addr-obj.
3023         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3024         tst-_dl_addr_inside_object.
3025         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3026         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3027         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3028         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3029         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3030         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3031         * elf/dl-open.c: Likewise.
3032         * elf/dl-addr-obj.c: New file.
3033         * elf/tst-_dl_addr_inside_object.c: New file.
3035 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3037         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3038         <bits/iscanonical.h>.
3039         * bits/iscanonical.h: New file.
3040         * math/s_iscanonicall.c: Likewise.
3041         * math/Versions (__iscanonicall): New libm symbol at version
3042         GLIBC_2.25.
3043         * math/libm-test.inc (iscanonical_test_data): New array.
3044         (iscanonical_test): New function.
3045         (main): Call iscanonical_test.
3046         * math/Makefile (headers): Add bits/iscanonical.h.
3047         (type-ldouble-routines): Add s_iscanonicall.
3048         * manual/arith.texi (Floating Point Classes): Document
3049         iscanonical.
3050         * manual/libm-err-tab.pl: Update comment on interfaces without
3051         ulps tabulated.
3052         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3053         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3054         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3055         Likewise.
3056         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3057         test-iscanonical-ldbl-128ibm.
3058         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3059         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3060         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3061         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3062         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3063         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3064         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3066         Likewise.
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3068         Likewise.
3069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3070         Likewise.
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3072         Likewise.
3073         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3074         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3076 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3078         * string/bits/string3.h: Remove C++ style comments.
3080 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3082         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3083         instead of ternary condition.
3084         (do_sincos_2): Likewise.
3085         (__sin): Likewise.
3086         (__cos): Likewise.
3087         (slow): Likewise.
3088         (sloww): Likewise.
3089         (sloww1): Likewise.
3090         (bsloww): Likewise.
3091         (bsloww1): Likewise.
3093         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3094         instead of ternary condition.
3095         (do_sin_slow): Likewise.
3096         (do_sincos_1): Likewise.
3097         (do_sincos_2): Likewise.
3098         (__cos): Likewise.
3099         (sloww): Likewise.
3100         (sloww1): Likewise.
3101         (sloww2): Likewise.
3102         (bsloww): Likewise.
3103         (bsloww1): Likewise.
3104         (bsloww2): Likewise.
3106         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3107         check from here...
3108         (slow2): ... and here...
3109         (__sin): ... to here.
3111 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3113         * math/math.h
3114         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3115         Cast argument to its own type.
3116         * math/test-iszero-excess-precision.c: New file.
3117         * math/Makefile (tests): Add test-iszero-excess-precision.
3118         (CFLAGS-test-iszero-excess-precision.c): New variable.
3120 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3122         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3123         field, add err field.
3124         (__spawni_child): Report error through err member instead of pipe.
3125         (__spawnix): Likewise.
3127 2016-09-28  Zack Weinberg  <zackw@panix.com>
3129         * scripts/check-installed-headers.sh: Generalize treatment of
3130         sys/elf.h to all target architectures.
3132         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3133         deleted typedef ucontext_t.
3135 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3137         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3138         (__INTERNAL_SYSCALL1): Likewise.
3139         (__INTERNAL_SYSCALL2): Likewise.
3140         (__INTERNAL_SYSCALL3): Likewise.
3141         (__INTERNAL_SYSCALL4): Likewise.
3142         (__INTERNAL_SYSCALL5): Likewise.
3143         (__INTERNAL_SYSCALL6): Likewise.
3144         (__INTERNAL_SYSCALL7): Likewise.
3145         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3146         (__INTERNAL_SYSCALL_NARGS): Likewise.
3147         (__INTERNAL_SYSCALL_DISP): Likewise.
3148         (INTERNAL_SYSCALL_CALL): Likewise.
3149         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3150         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3151         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3152         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3153         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3154         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3155         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3156         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3157         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3158         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3159         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3160         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3161         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3163 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3165         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3166         macro.
3167         * math/libm-test.inc (iszero_test_data): New array.
3168         (iszero_test): New function.
3169         (main): Call iszero_test.
3170         * manual/arith.texi (Floating Point Classes): Document iszero.
3171         * manual/libm-err-tab.pl: Update comment on interfaces without
3172         ulps tabulated.
3174 2016-09-23  Zack Weinberg  <zackw@panix.com>
3176         * scripts/check-installed-headers.sh: New script.
3177         * Rules: In each directory that defines header files to be installed,
3178         run check-installed-headers.sh on them as a special test.
3179         * Makefile: Likewise for the headers installed at top level.
3181         * include/aliases.h, include/alloca.h, include/argz.h
3182         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3183         * include/elf.h, include/envz.h, include/err.h
3184         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3185         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3186         * include/link.h, include/malloc.h, include/mcheck.h
3187         * include/mntent.h, include/netinet/ether.h
3188         * include/nss.h, include/obstack.h, include/printf.h
3189         * include/pty.h, include/resolv.h, include/rpc/auth.h
3190         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3191         * include/rpc/clnt.h, include/rpc/des_crypt.h
3192         * include/rpc/key_prot.h, include/rpc/netdb.h
3193         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3194         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3195         * include/rpc/rpc_msg.h, include/rpc/svc.h
3196         * include/rpc/svc_auth.h, include/rpc/xdr.h
3197         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3198         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3199         * include/rpcsvc/ypupd.h, include/shadow.h
3200         * include/stdio_ext.h, include/sys/epoll.h
3201         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3202         * include/sys/prctl.h, include/sys/profil.h
3203         * include/sys/statfs.h, include/sys/sysctl.h
3204         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3205         * sysdeps/arm/nacl/include/bits/setjmp.h
3206         * sysdeps/mips/include/sys/asm.h
3207         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3208         * sysdeps/unix/sysv/linux/include/sys/timex.h
3209         * sysdeps/x86/fpu/include/bits/fenv.h:
3210         Add #ifndef _ISOMAC guard around internal declarations.
3211         Add multiple-inclusion guard if not already present.
3213 2016-09-23  Zack Weinberg  <zackw@panix.com>
3215         * sysdeps/generic/sys/ucontext.h
3216         * sysdeps/arm/sys/ucontext.h
3217         * sysdeps/i386/sys/ucontext.h
3218         * sysdeps/m68k/sys/ucontext.h
3219         * sysdeps/mips/sys/ucontext.h
3220         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3221         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3222         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3223         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3224         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3225         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3226         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3227         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3228         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3229         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3230         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3231         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3232         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3233         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3234         Include both bits/sigcontext.h and bits/sigstack.h.
3235         Fix grammar error in comment, if present.
3237         * bits/sigstack.h
3238         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3239         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3240         * sysdeps/unix/sysv/linux/bits/sigstack.h
3241         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3242         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3243         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3244         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3245         * bits/sigcontext.h
3246         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3247         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3248         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3249         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3250         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3251         as well as signal.h, if this was not already allowed.  Request
3252         definition of size_t if necessary.  Minimize semantically-null
3253         differences across files.
3255 2016-09-23  Zack Weinberg  <zackw@panix.com>
3257         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3258         Remove all logic conditional on __need macros.  Move all the
3259         conditionally defined types to their own headers...
3260         * time/bits/types/clock_t.h: Define clock_t here.
3261         * time/bits/types/clockid_t.h: Define clockid_t here.
3262         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3263         * time/bits/types/struct_timespec.h: Define struct timespec here.
3264         * time/bits/types/struct_timeval.h: Define struct timeval here.
3265         * time/bits/types/struct_tm.h: Define struct tm here.
3266         * time/bits/types/time_t.h: Define time_t here.
3267         * time/bits/types/timer_t.h: Define timer_t here.
3268         * time/Makefile: Install the new headers.
3270         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3271         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3272         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3273         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3274         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3275         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3276         * sysdeps/unix/sysv/linux/bits/resource.h
3277         * sysdeps/unix/sysv/linux/bits/timex.h
3278         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3279         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3280         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3281         * sysdeps/unix/sysv/linux/sys/acct.h
3282         * sysdeps/unix/sysv/linux/sys/timerfd.h
3283         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3284         * time/sys/time.h, time/sys/timeb.h
3285         Use the new bits/types headers.
3287         * include/time.h: Remove __need logic.
3288         * include/bits/time.h
3289         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3290         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3291         * include/bits/types/struct_itimerspec.h
3292         * include/bits/types/struct_timespec.h
3293         * include/bits/types/struct_timeval.h
3294         * include/bits/types/struct_tm.h:
3295         New wrapper headers.
3297 2016-09-23  Zack Weinberg  <zackw@panix.com>
3299         * sysdeps/mach/hurd/net/if_ppp.h
3300         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3301         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3302         if __USE_MISC is defined, to ensure struct ifreq is declared.
3304         * inet/netinet/ether.h: Condition all function prototypes
3305         on __USE_MISC, to ensure struct ether_addr is declared.
3307         * socket/bits/types/struct_osockaddr.h: New header.
3308         * include/bits/types/struct_osockaddr.h: New wrapper.
3309         * socket/Makefile: Install the new header.
3310         * socket/sys/socket.h, inet/protocols/talkd.h:
3311         Refer to bits/types/struct_osockaddr.h for the definition of
3312         struct osockaddr.
3314 2016-09-23  Zack Weinberg  <zackw@panix.com>
3316         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3317         * inet/protocols/routed.h, inet/protocols/talkd.h
3318         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3319         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3320         * sysdeps/generic/netinet/if_ether.h
3321         * sysdeps/generic/netinet/in_systm.h
3322         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3323         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3324         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3325         * sysdeps/mach/hurd/net/if_arp.h
3326         * sysdeps/mach/hurd/net/if_ppp.h
3327         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3328         * sysdeps/unix/sysv/linux/bits/in.h
3329         * sysdeps/unix/sysv/linux/net/ethernet.h
3330         * sysdeps/unix/sysv/linux/net/if_arp.h
3331         * sysdeps/unix/sysv/linux/net/if_ppp.h
3332         * sysdeps/unix/sysv/linux/net/if_shaper.h
3333         * sysdeps/unix/sysv/linux/net/route.h
3334         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3335         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3336         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3337         * sysdeps/unix/sysv/linux/netipx/ipx.h
3338         * sysdeps/unix/sysv/linux/sys/acct.h
3339         * include/arpa/nameser.h, include/resolv.h:
3340         Change all uses of u_char to unsigned char,
3341         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3342         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3343         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3344         and u_int64_t and u_quad_t to uint64_t.
3346         * mach/sys/reboot.h: Remove two casts of integer literals
3347         to the types they already have.
3349         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3350         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3351         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3352         from referring to 'unsigned char' to 'uint8_t' for consistency with
3353         the macro definition below.
3355         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3356         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3357         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3358         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3359         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3360         * sysdeps/unix/sysv/linux/sys/acct.h
3361         * include/arpa/nameser.h, include/resolv.h:
3362         Fix indentation disrupted by mechanical edits.
3364         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3365         * sysdeps/generic/netinet/in_systm.h
3366         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3367         * sysdeps/gnu/netinet/udp.h
3368         * sysdeps/unix/sysv/linux/net/ethernet.h
3369         * sysdeps/unix/sysv/linux/net/if_arp.h
3370         * sysdeps/unix/sysv/linux/net/if_ppp.h
3371         * sysdeps/unix/sysv/linux/net/if_shaper.h
3372         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3373         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3374         * sysdeps/unix/sysv/linux/netipx/ipx.h
3375         * sysdeps/unix/sysv/linux/sys/acct.h
3376         Include stdint.h for uintNN_t definitions.
3377         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3379 2016-09-23  Zack Weinberg  <zackw@panix.com>
3381         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3382         * sysdeps/unix/sysv/linux/netrose/rose.h:
3383         Include sys/socket.h and netax25/ax25.h.
3385         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3386         * resolv/arpa/nameser_compat.h:
3387         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3389         * sysdeps/unix/sysv/linux/sys/quota.h:
3390         Use __caddr_t instead of caddr_t.
3391         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3392         Use __clockid_t instead of clockid_t.
3394         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3396         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3397         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3398         expanding it.
3400         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3401         Define __glibc_c99_flexarr_available to 1 when the compiler
3402         supports C99-compatible flexible array members, 0 otherwise.
3403         * sysdeps/unix/sysv/linux/bits/socket.h
3404         * sysdeps/mach/hurd/bits/socket.h
3405         * bits/socket.h: Use __glibc_c99_flexarr_available in
3406         definitions of struct cmsghdr and CMSG_DATA.
3408 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3410         * manual/nss.texi (NSS Modules Interface): Adjust function return
3411         type to enum nss_status.  Document errnop argument.  Clarify
3412         h_errnop semantics.  Fix cross-reference formatting.
3413         (NSS Module Function Internals): Mention that *errnop needs to be
3414         set on failure, but not to zero.
3416 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3418         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3419         (get_random_name): New functions.
3420         (check_wrapper_flags_mode): Use linkat to give the new file a name
3421         determined by get_random_name.
3422         (do_test): Add calls to test open64 and openat64.
3424 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3426         * test-skeleton.c: Remove #include <stdarg.h>.
3428 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3430         [BZ #19826]
3431         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3432         initialization of static TLS entries.
3433         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3434         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3436 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3438         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3439         _hurd_malloc_fork_prepare.
3440         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3441         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3442         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3443         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3444         (_hurd_fork_child_hook): Drop malloc_fork_child.
3445         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3446         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3447         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3448         after locking locks (notably hurd_dtable_lock). Call
3449         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3450         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3451         __malloc_fork_unlock_child.
3452         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3454 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3456         * soft-fp/extendhftf2.c: New.
3457         * soft-fp/fixhfti.c: Likewise.
3458         * soft-fp/fixunshfti.c: Likewise.
3459         * soft-fp/floattihf.c: Likewise.
3460         * soft-fp/floatuntihf.c: Likewise.
3461         * soft-fp/half.h: Likewise.
3462         * soft-fp/trunctfhf2.c: Likewise.
3464 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3466         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3467         macro.
3468         * math/libm-test.inc (issubnormal_test_data): New array.
3469         (issubnormal_test): New function.
3470         * manual/arith.texi (Floating Point Classes): Document
3471         issubnormal.
3472         * manual/libm-err-tab.pl: Update comment on interfaces without
3473         ulps tabulated.
3475         * sysdeps/generic/stdint.h: Define
3476         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3477         <bits/libc-header-start.h> instead of including <features.h>.
3478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3485         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3511         * manual/arith.texi (Integers): Document these macros for types
3512         specified by width properties.
3513         * manual/lang.texi (Width of Type): Document these macros for
3514         other standard typedefs.
3515         * stdlib/tst-width-stdint.c: New file.
3516         * stdlib/Makefile (tests): Add tst-width-stdint.
3518 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3520         [BZ #20016]
3521         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3522         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3523         Move ...
3524         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3525         ... here, as compatibility symbols in a new file.
3526         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3527         * resolv/res_init.c (__res_vinit): Adjust member names.
3528         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3529         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3530         (res_send_rhook): Remove.
3531         (struct __res_state): Rename qhook, rhook members.
3533 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3535         malloc: Use __libc_lock wrappers.
3536         * malloc/arena.c (list_lock, free_list_lock): Define using
3537         __libc_lock_define_initialized.
3538         (arena_lock): Adjust formatting.
3539         * malloc/malloc.c (struct malloc_state): Define mutex using
3540         __libc_lock_define.
3541         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3542         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3543         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3544         (mutex_unlock, mutex_trylock): Remove.
3545         (__pthread_initialize): Remove unused macro.
3546         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3547         (mutex_unlock, mutex_trylock): Remove.
3549 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3551         [BZ #20592]
3552         Remove RR type classification macros.
3553         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3554         (ns_t_udp_p, ns_t_xfr_p): Remove.
3556 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3558         Remove misleading version information.
3559         * resolv/arpa/nameser.h (__NAMESER): Remove.
3560         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3562 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3564         Remove the always-defined BIND_4_COMPAT macro.
3565         * resolv/arpa/nameser.h: Unconditionally include
3566         <arpa/nameser_compat.h>.
3567         (BIND_4_COMPAT): Remove.
3568         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3570 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3572         [BZ #20591]
3573         Remove obsolete DNSSEC support.
3574         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3575         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3576         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3577         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3578         (ns_cert_types): Add comment.
3579         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3580         separately.
3581         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3582         (dst_s_dns_key_id): Remove.
3583         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3584         variables.
3586 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3588         [BZ #20524]
3589         * manual/string.texi (String/Array Comparison): Clarify the
3590         strverscmp behavior.
3592 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3594         * test-skeleton.c (xasprintf): Add function.
3595         * io/tst-open-tmpfile.c: New test.
3596         * io/Makefile (tests): Add it.
3598 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3600         Avoid running $(CXX) during build to obtain header file paths.
3601         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3602         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3603         * Makerules (cstdlib, cmath): Remove variables.  Use
3604         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3605         * configure: Regenerate.
3607 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3609         * Makeconfig (all-object-suffixes): Include .op only if
3610         $(build-profile).
3612 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3614         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3615         conditionals.  Do not define PATH_MAX.
3617 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3619         * posix/Makefile (tests): Add tst-spawn3.
3620         * posix/tst-spawn3.c: New file.
3621         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3622         if it is already opened for open action.
3624         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3625         all signals when executing the clone vfork child.
3626         (SIGALL_SET): Remove macro.
3628         * nptl/Makefile (tests): Add tst-exec5.
3629         * nptl/tst-exec5.c: New file.
3630         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3631         asynchronous cancellation.
3633 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3635         * hurd/exc2signal.c: #include <hurd/signal.h>
3636         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3637         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3638         accordingly.
3639         * mach/mach_error.c (mach_error): Fix old-style function definition.
3640         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3642 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3644         * math/Makefile (libm-calls): Remove s_nanF.
3645         (gen-libm-calls): Add s_nanF.
3647         * math/s_nan.c: Refactor into ...
3648         * math/s_nan_template.c: New file.
3650         * math/s_nanf.c: Removed.
3651         * math/s_nanl.c: Removed.
3652         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3653         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3655         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3656         (LDOUBLE_nanl_libm_version): New macro.
3658         * sysdeps/generic/math-type-macros-double.h:
3659         (M_STRTO_NAN): New macro.
3660         * sysdeps/generic/math-type-macros-float.h: Likewise.
3661         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3663         * sysdeps/generic/math-type-macros.h: Document
3664         M_STRTO_NAN.
3666 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3668         * math/s_nanf.c: Remove __nanf undef.
3669         * math/s_nan.c: Remove __nan undef.
3670         * math/s_nanl.c: Remove __nanl undef.
3672         * sysdeps/generic/math_private.h (__nan): Remove macro
3673         override.
3674         (__nanf): Likewise.
3675         (__nanl): Likewise.
3677 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3679         * math/Makefile (gen-all-calls): New variable.
3680         (generated): Replace gen-libm-calls with gen-all-calls.
3681         (gen-libm-templates.stmp): Likewise.  Also, ensure
3682         the output directory exists or is created and add
3683         dependency on the Makefile.
3684         (calls): Move s_ldexpF into gen-calls.
3685         (gen-calls): New variable.
3687         * math/s_ldexpf.c: Removed.
3688         * math/s_ldexpl.c: Removed.
3689         * math/s_ldexp.c: Refactored into ...
3690         * math/s_ldexp_template.c: New file.
3692         * sysdeps/generic/math-type-macros-double.h: Remove
3693         redundant fall-through definition of declare_mgen_alias.
3694         (declare_mgen_alias_2): New macro.
3696         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3697         New macro for function aliased to two exported symbols.
3699         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3700         new template file.
3701         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3703 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3705         * Makeconfig (all-object-suffixes): Remove .og.
3706         * Makerules (elide-routines.og): Remove.
3707         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3708         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3709         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3711 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3713         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3714         .os objects.
3716 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3718         [BZ #20615]
3719         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3720         fpu directory by non-fpu.
3721         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3722         on non-fpu directory from a fpu directory.
3724 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3726         * include/limits.h: Define
3727         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3728         <bits/libc-header-start.h> instead of including <features.h>.
3729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3740         * manual/lang.texi (Width of Type): Document these macros.
3741         * stdlib/tst-width.c: New file.
3742         * stdlib/Makefile (tests): Add tst-width.
3744 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3746         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3747         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3749 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3751         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3752         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3753         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3755 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3757         [BZ #18243]
3758         * rt/Makefile (test): Add tst-shm-cancel.
3759         * rt/tst-shm-cancel.c: New file.
3760         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3762         [BZ #18243]
3763         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3764         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3765         definition.
3766         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3767         uncontended case.
3768         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3769         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3770         (tf): Fix check for uncontended case.
3771         (do_test): Likewise.
3772         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3773         (tf): Fix check for uncontended case.
3774         (do_test): Likewise.
3775         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3776         (tf): Fix check for uncontended case.
3777         (do_test): Likewise.
3778         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3779         (tf): Fix check for uncontended case.
3780         (do_test): Likewise.
3782         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3783         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3785         [BZ #15765]
3786         * nptl/Makefile (tests): Add tst-sem16.
3787         * nptl/tst-sem16.c: New file.
3788         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3790         * nptl/sem_open.c (sem_open): Init pad value to 0.
3791         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3792         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3794 2016-09-15  Florian Weimer  <fweimer@redhat.com>
3796         [BZ #20611]
3797         * inet/Makefile (routines): Add inet6_scopeid_pton.
3798         (tests): Add tst-inet6_scopeid_pton.
3799         * inet/inet6_scopeid_pton.c: New file.
3800         * inet/net-internal.h: Likewise.
3801         * inet/tst-inet6_scopeid_pton.c: New test.
3802         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
3803         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
3804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3806 2016-09-14  Florian Weimer  <fweimer@redhat.com>
3808         Remove support for compiling wrappers with PTW.
3809         * sysdeps/nptl/Makeconfig: Drop ptw- support.
3810         * nptl/Makefile (pthread-compat-wrappers): Define.
3811         (libpthread-routines): Use pthread-compat-wrappers.
3812         * sysdeps/unix/sysv/linux/alpha/Makefile
3813         (libpthread-routines, libpthread-shared-only-routines): Remove
3814         ptw- prefix.
3815         * sysdeps/s390/nptl/Makefile
3816         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3817         * sysdeps/ia64/nptl/Makefile
3818         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3819         * sysdeps/nacl/Makefile (libpthread-routines): Use
3820         pthread-compat-wrappers to filter the routines list instead of the
3821         ptw- prefix.
3823 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3825         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
3826         with L() and remove explicit suffix, convert real literals
3827         which can be equivalentally substituted with integers, and
3828         transform -L(x) to L(-x).
3830         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3831         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3832         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3833         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3834         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3835         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3836         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3837         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3838         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3839         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3840         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3841         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3842         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3843         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3844         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3845         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3846         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3847         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3848         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3849         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3850         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3851         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3852         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3853         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3854         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3855         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3856         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3857         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3858         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3859         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3860         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3861         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3862         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3863         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3864         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3865         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3866         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3867         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3868         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3869         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3870         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3871         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3872         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3873         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3874         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3875         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3876         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3877         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3878         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3879         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3881 2016-09-13  Florian Weimer  <fweimer@redhat.com>
3883         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
3885 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3887         * malloc/Makefile (tests): Remove individual static test names
3888         and just add all of tests-static.
3890         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
3892 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3894         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
3895         file.
3897         * sysdeps/sparc/fpu/fegetmode.c: New file.
3898         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
3900         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
3901         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
3903         * sysdeps/s390/fpu/fegetmode.c: New file.
3904         * sysdeps/s390/fpu/fesetmode.c: Likewise.
3906         * sysdeps/powerpc/fpu/fegetmode.c: New file.
3907         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
3908         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
3909         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
3910         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
3911         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
3913         * sysdeps/mips/fpu/fegetmode.c: New file.
3914         * sysdeps/mips/fpu/fesetmode.c: Likewise.
3916         * sysdeps/m68k/fpu/fegetmode.c: New file.
3917         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
3919         * sysdeps/ia64/fpu/fegetmode.c: New file.
3920         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
3922         * sysdeps/hppa/fpu/fegetmode.c: New file.
3923         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
3925         * sysdeps/arm/fegetmode.c: New file.
3926         * sysdeps/arm/fesetmode.c: Likewise.
3928         * sysdeps/alpha/fpu/fegetmode.c: New file.
3929         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
3931         * sysdeps/aarch64/fpu/fegetmode.c: New file.
3932         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
3934         * math/fegetmode.c: New file.
3935         * math/fesetmode.c: Likewise.
3936         * sysdeps/i386/fpu/fegetmode.c: Likewise.
3937         * sysdeps/i386/fpu/fesetmode.c: Likewise.
3938         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
3939         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
3940         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
3941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
3942         declaration.
3943         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
3944         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
3945         typedef.
3946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3947         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3948         (femode_t): New typedef.
3949         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3950         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3951         (femode_t): New typedef.
3952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3953         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3954         (femode_t): New typedef.
3955         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3956         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3957         (femode_t): New typedef.
3958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3959         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3960         (femode_t): New typedef.
3961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3962         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3963         (femode_t): New typedef.
3964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3965         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3966         (femode_t): New typedef.
3967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3968         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3969         (femode_t): New typedef.
3970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3971         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3972         (femode_t): New typedef.
3973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3974         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3975         (femode_t): New typedef.
3976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3977         declaration.
3978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3979         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3980         (femode_t): New typedef.
3981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3982         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3983         (femode_t): New typedef.
3984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3985         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3986         (femode_t): New typedef.
3987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3988         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3989         (femode_t): New typedef.
3990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3991         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3992         (femode_t): New typedef.
3993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3994         * manual/arith.texi (FE_DFL_MODE): Document macro.
3995         (fegetmode): Document function.
3996         (fesetmode): Likewise.
3997         * math/Versions (fegetmode): New libm symbol at version
3998         GLIBC_2.25.
3999         (fesetmode): Likewise.
4000         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4001         (tests): Add test-femode and test-femode-traps.
4002         * math/test-femode-traps.c: New file.
4003         * math/test-femode.c: Likewise.
4004         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4005         alias for __fe_dfl_env.
4006         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4007         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4008         (__fe_dfl_mode): Likewise.
4009         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4010         version GLIBC_2.25.
4011         * sysdeps/nacl/libm.abilist: Update.
4012         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4013         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4014         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4015         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4016         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4017         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4018         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4019         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4020         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4022         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4023         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4025         Likewise.
4026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4027         Likewise.
4028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4029         Likewise.
4030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4031         Likewise.
4032         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4033         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4034         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4035         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4036         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4038         Likewise.
4039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4040         Likewise.
4041         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4042         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4043         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4045 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4047         [BZ #20495]
4048         [BZ #20508]
4049         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4050         processors, set Use_dl_runtime_resolve_slow and set
4051         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4052         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4053         New.
4054         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4055         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4056         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4057         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4058         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4059         if Use_dl_runtime_resolve_opt is set.  Use
4060         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4061         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4062         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4063         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4064         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4065         New.
4066         (_dl_runtime_resolve_opt): Likewise.
4067         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4068         defined.
4070 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4072         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4073         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4075 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4077         Convert malloc to __libc_lock.  Automated part, using this Perl
4078         s/// command:
4079           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4080             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4081         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4082         conversion.
4084 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4086         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4087         (linknamespace-symlists-tests): Likewise.
4088         (linknamespace-header-tests): Likewise.
4090 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4092         [BZ #19810]
4093         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4094         * elf/tst-noload.c: New test case.
4095         * elf/Makefile (tests): Add tst-noload.
4097 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4099         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4101         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4102         not any more.
4104         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4106 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4108         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4109         (do_cos_slow): Likewise.
4110         (do_sin): Likewise.
4111         (do_sin_slow): Likewise.
4112         (slow): Likewise.
4113         (slow1): Likewise.
4114         (slow2): Likewise.
4115         (sloww): Likewise.
4116         (sloww1): Likewise.
4117         (sloww2): Likewise.
4118         (bsloww): Likewise.
4119         (bsloww1): Likewise.
4120         (bsloww2): Likewise.
4121         (cslow2): Likewise.
4123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4125         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4126         arguments.  Consolidate input partitioning from callers here.
4127         (do_cos_slow): Likewise.
4128         (do_sin): Likewise.
4129         (do_sin_slow): Likewise.
4130         (do_sincos_1): Remove the no longer necessary input partitioning.
4131         (do_sincos_2): Likewise.
4132         (__sin): Likewise.
4133         (__cos): Likewise.
4134         (slow1): Likewise.
4135         (slow2): Likewise.
4136         (sloww1): Likewise.
4137         (sloww2): Likewise.
4138         (bsloww1): Likewise.
4139         (bsloww2): Likewise.
4140         (cslow2): Likewise.
4142 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4144         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4145         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4146         outside of allocated array.
4148 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4150         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4151         instead of MB_CUR_MAX to avoid variable-length array.
4153 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4155         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4156         (type-double-routines): Add k_rem_pio2.
4157         (type-float-routines): Add k_rem_pio2f.
4159         * sysdeps/generic/math_private.h:
4160         (__kernel_rem_pio2l): Removed.
4162         * math/k_rem_pio2l.c: Removed.
4163         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4164         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4165         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4166         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4168 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4170         * math/Makefile (gen-libm-calls): Add s_fmin
4171         (libm-calls): Remove above.
4173         * math/s_fmin.c: Refactor into ...
4174         * math/s_fmin_template.c: New file.
4176         * math/s_fminf.c: Removed.
4177         * math/s_fminl.c: Removed.
4178         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4179         (LDOUBLE_fmin_libm_version): New macro.
4181         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4182         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4184 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4186         * math/Makefile: (gen-libm-calls): Add s_fmax.
4187         (libm-calls): Remove above.
4189         * math/s_fmax.c: Refactor into ...
4190         * math/s_fmax_template.c: New file.
4191         * math/s_fmaxf.c: Removed.
4192         * math/s_fmaxl.c: Removed.
4194         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4195         (LDOUBLE_fmaxl_libm_version): New macro.
4197         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4198         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4200         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4201         s_fmin.c to pick the aarch64 version of the file.
4202         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4203         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4205 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4207         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4208         (libm-calls): Remove above.
4210         * math/s_nextdown.c: Refactor into ...
4211         * math/s_nextdown_template.c: New file.
4212         * math/s_nextdownf.c: Removed.
4213         * math/s_nextdownl.c: Removed.
4215         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4217 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4219         * math/Makefile (gen-libm-calls): Add s_fdim.
4220         (libm-calls): Move to above.
4222         * math/s_fdim.c: Renamed and refactored into to ...
4223         * math/s_fdim_template.c: New file.
4224         * math/s_fdiml.c: Removed.
4225         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4226         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4228         * sysdeps/generic/math-type-macros-double.h:
4229         (declare_mgen_alias): Don't declare if already declared.
4230         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4231         Likewise.
4233         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4234         (declare_mgen_alias): Don't declare if already declared.
4235         (M_LIBM_NEED_COMPAT): Likewise.
4236         (declare_mgen_libm_compat): Likewise.
4237         (LDOUBLE_fdiml_libm_version): New macro.
4239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4240         Include math/s_fdim.c now that ldbl-opt version is not needed.
4241         (declare_mgen_alias): New macro to disable aliasing.
4243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4244         (declare_mgen_alias): Likewise.
4245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4246         (declare_mgen_alias): Likewise.
4247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4248         (declare_mgen_alias): Likewise.
4249         (M_LIBM_NEED_COMPAT): Likewise.
4251 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4253         [BZ #20525]
4254         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4255         Include <linux/quota.h>.
4256         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4257         and btodb.
4258         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4259         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4260         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4261         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4262         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4263         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4264         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4265         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4266         types.
4267         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4268         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4270 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4272         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4273         (gammal_positive): Fix spacing.
4274         (__ieee754_gammal_r): Likewise.
4276 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4278         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4279         (_Float128): Define as long double, always.
4280         (L): Apply long double type suffix, always.
4282         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4283         _Float128, excepting comments.
4285         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4286         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4287         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4288         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4289         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4290         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4291         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4292         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4293         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4294         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4295         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4296         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4297         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4298         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4299         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4300         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4301         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4302         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4303         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4304         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4305         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4306         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4307         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4308         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4309         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4310         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4311         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4312         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4313         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4314         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4315         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4316         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4317         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4318         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4319         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4320         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4321         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4322         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4323         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4324         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4325         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4326         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4327         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4328         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4329         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4330         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4331         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4332         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4333         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4334         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4335         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4336         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4337         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4338         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4339         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4340         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4341         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4342         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4343         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4344         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4345         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4346         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4347         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4348         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4349         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4350         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4351         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4352         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4354         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4355         _Float128, and include math_private.h.
4356         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4358         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4359         long double semantics.
4360         (_Float128): Likewise.
4361         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4362         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4363         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4364         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4366 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4368         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4369         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4370         * sysdeps/s390/configure: Regenerated.
4371         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4372         instruction for raising over-/underflow if z196 zarch is supported
4373         by default.
4374         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4376 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4378         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4379         it point to a dumb buffer for RPC to fill it.
4381 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4383         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4384         instead of if/else.
4385         (do_sin_slow): Likewise.
4386         (do_sincos_1): Use fabs instead of if/else.
4387         (do_sincos_2): Likewise.
4388         (__sin): Likewise.
4389         (__cos): Likewise.
4390         (slow2): Likewise.
4391         (sloww): Likewise.
4392         (sloww1): Likewise.  Drop argument M.
4393         (sloww2): Use fabs instead of if/else.
4394         (bsloww): Likewise.
4395         (bsloww1): Likewise.
4396         (bsloww2): Likewise.
4398         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4399         fall through comment.
4400         (do_sincos_1): Likewise.
4402         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4403         Consolidate switch cases 0 and 2.
4405 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4407         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4408         (libm-calls): Remove the above.
4410         * math/s_cexp_template.c: Update using type-generic macros.
4411         * math/s_clog10_template.c: Likewise.
4412         * math/s_cpow_template.c: Likewise.
4413         * math/s_clog_template.c: Likewise.
4414         * math/s_cproj_template.c: Likewise.
4415         * math/s_csqrt_template.c: Likewise.
4417         * math/s_cexp.c: Removed.
4418         * math/s_cexpf.c: Removed.
4419         * math/s_cexpl.c: Removed.
4420         * math/s_clog10.c: Removed.
4421         * math/s_clog10f.c: Removed.
4422         * math/s_clog10l.c: Removed.
4423         * math/s_cpow.c: Removed.
4424         * math/s_cpowf.c: Removed.
4425         * math/s_cpowl.c: Removed.
4426         * math/s_clog.c: Removed.
4427         * math/s_clogf.c: Removed.
4428         * math/s_clogl.c: Removed.
4429         * math/s_cproj.c: Removed.
4430         * math/s_cprojf.c: Removed.
4431         * math/s_cprojl.c: Removed.
4432         * math/s_csqrt.c: Removed.
4433         * math/s_csqrtf.c: Removed.
4434         * math/s_csqrtl.c: Removed.
4436         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4437         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4438         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4439         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4440         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4441         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4443         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4444         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4445         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4446         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4447         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4448         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4449         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4450         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4451         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4452         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4453         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4455         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4456         version.
4458         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4459         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4460         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4461         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4463 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4465         * s_cexp_template.c: Copy of s_cexp.c.
4466         * s_clog_template.c: Copy of s_clog.c.
4467         * s_clog10_template.c: Copy of s_clog10.c.
4468         * s_cpow_template.c: Copy of s_cpow.c.
4469         * s_cproj_template.c: Copy of s_cproj.c.
4470         * s_csqrt_template.c: Copy of s_csqrt.c.
4472 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4474         [BZ #20517]
4475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4476         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4477         exported.
4479 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4481         * math/fetestexceptflag.c: New file.
4482         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4483         Stefan Liebler.
4484         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4485         (fetestexceptflag): New function declaration.
4486         * manual/arith.texi (fetestexceptflag): Document function.
4487         * math/Versions (fetestexceptflag): New libm symbol at version
4488         GLIBC_2.25.
4489         * math/Makefile (libm-support): Add fetestexceptflag.
4490         (tests): Add test-fetestexceptflag.
4491         * math/test-fetestexceptflag.c: New file.
4492         * sysdeps/nacl/libm.abilist: Update.
4493         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4494         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4495         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4496         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4497         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4498         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4499         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4500         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4501         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4502         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4503         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4504         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4506         Likewise.
4507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4508         Likewise.
4509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4510         Likewise.
4511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4512         Likewise.
4513         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4514         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4515         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4516         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4517         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4519         Likewise.
4520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4521         Likewise.
4522         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4523         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4524         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4526 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4528         [BZ #20432]
4529         Avoid strong references to malloc-internal symbols when linking
4530         statically, to support statically interposed mallocs.
4531         * include/libc-symbols.h (call_function_static_weak): New macro.
4532         * malloc/Makefile (tests): Add tst-interpose-nothread,
4533         tst-interpose-thread, tst-interpose-static-nothread,
4534         tst-interpose-static-thread.
4535         (tests-static): Add tst-interpose-static-nothread,
4536         tst-interpose-static-thread.
4537         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4538         tst-interpose-aux-thread.o.
4539         (test-extras): Add tst-interpose-aux-nothread,
4540         tst-interpose-aux-thread.
4541         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4542         tst-interpose-aux-nothread.o.
4543         (tst-interpose-thread, tst-interpose-static-thread): Link with
4544         tst-interpose-aux-thread.o and libthread.
4545         * malloc/tst-interpose-aux-nothread.c: New file.
4546         * malloc/tst-interpose-aux-thread.c: Likewise.
4547         * malloc/tst-interpose-aux.c: Likewise.
4548         * malloc/tst-interpose-aux.h: Likewise.
4549         * malloc/tst-interpose-nothread.c: Likewise.
4550         * malloc/tst-interpose-skeleton.c: Likewise.
4551         * malloc/tst-interpose-static-nothread.c: Likewise.
4552         * malloc/tst-interpose-static-thread.c: Likewise.
4553         * malloc/tst-interpose-thread.c: Likewise.
4554         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4555         * sysdeps/mach/hurd/fork.c (__fork): Only call
4556         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4557         __malloc_fork_unlock_child if defined.
4558         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4560 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4562         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4563         timespec C99 designated initialization.
4565 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4567         [BZ #19946]
4568         Avoid expected SIGALRM signals.
4569         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4570         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4571         (xpthread_create, xpthread_detach, xpthread_join)
4572         (delayed_exit_thread, delayed_exit): New functions.
4573         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4574         (tf): Use xpthread_cond_wait.
4575         (do_test): Likewise.  Replace alarm with delayed_exit.
4576         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4577         (do_test): Call delayed_exit.  Report failure.
4578         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4579         (do_test): Call delayed_exit.
4580         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4581         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4582         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4583         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4584         error.
4585         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4586         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4587         error.
4588         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4589         (do_test): Call delayed_exit.
4590         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4591         (do_test): Call delayed_exit.
4592         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4593         (do_test): Call delayed_exit instead of alarm.  Use
4594         xpthread_mutex_lock.
4595         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4596         (do_test): Call delayed_exit instead of alarm.  Use
4597         xpthread_mutex_lock.
4598         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4599         (do_test): Call delayed_exit instead of alarm.
4600         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4601         (do_test): Call delayed_exit instead of alarm.  Use
4602         xpthread_spin_lock.
4603         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4604         (do_test): Call delayed_exit instead of alarm.  Use
4605         xpthread_join.
4607 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4609         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4610         adjust CFA when allocating register save area on re-aligned
4611         stack.
4613 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4615         * string/tst-cmp.c: New test.
4616         * string/Makefile (tests): Add it.
4618 2016-08-25  Mark Wielaard  <mark@klomp.org>
4620         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4621         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4622         (check_tree_recurse): Use newly defined accessors.
4623         (check_tree): Likewise.
4624         (maybe_split_for_insert): Likewise.
4625         (__tfind): Likewise.
4626         (__tdelete): Likewise.
4627         (trecurse): Likewise.
4628         (tdestroy_recurse): Likewise.
4629         (__tsearch): Likewise. And add asserts for malloc alignment.
4630         (__twalk): Cast root to node in case CHECK_TREE is defined.
4632 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4634         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4636 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4638         * math/Makefile (libm-gen-calls): Add
4639         catan, catanh, ctan, ctanh.
4640         (libm-calls): Remove the above.
4642         * math/s_catan_template.c: Update using type-generic macros.
4643         * math/s_catanh_template.c: Likewise.
4644         * math/s_ctan_template.c: Likewise.
4645         * math/s_ctanh_template.c: Likewise.
4647         * math/s_catanf.c: Removed.
4648         * math/s_catan.c: Removed.
4649         * math/s_catanl.c: Removed.
4650         * math/s_catanhf.c: Removed.
4651         * math/s_catanh.c: Removed.
4652         * math/s_catanhl.c: Removed.
4653         * math/s_ctanf.c: Removed.
4654         * math/s_ctan.c: Removed.
4655         * math/s_ctanl.c: Removed.
4656         * math/s_ctanhf.c: Removed.
4657         * math/s_ctanh.c: Removed.
4658         * math/s_ctanhl.c: Removed.
4660         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4661         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4662         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4663         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4664         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4665         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4667         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4668         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4669         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4670         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4672 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4674         * s_catan_template.c: Copy of s_catan.c.
4675         * s_catanh_template.c: Copy of s_catanh.c.
4676         * s_ctan_template.c: Copy of s_ctan.c.
4677         * s_ctanh_template.c: Copy of s_ctanh.c.
4679 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4681         * math/Makefile (gen-libm-calls): Move
4682         casin, casinh, csin, csinh here.
4683         (libm-calls): Remove the above.
4685         * math/s_casin_template.c: Update using type-generic macros.
4686         * math/s_casinh_template.c: Likewise.
4687         * math/s_csin_template.c: Likewise.
4688         * math/s_csinh_template.c: Likewise.
4689         * math/k_casinh_template.c: Likewise.
4691         * math/s_casinf.c: Removed.
4692         * math/s_casin.c: Removed.
4693         * math/s_casinl.c: Removed.
4694         * math/s_casinh.c: Removed.
4695         * math/s_casinhf.c: Removed.
4696         * math/s_casinhl.c: Removed.
4697         * math/s_csin.c: Removed.
4698         * math/s_csinf.c: Removed.
4699         * math/s_csinl.c: Removed.
4700         * math/s_csinh.c: Removed.
4701         * math/s_csinhf.c: Removed.
4702         * math/s_csinhl.c: Removed.
4703         * math/k_casinh.c: Removed.
4704         * math/k_casinhf.c: Removed.
4705         * math/k_casinhl.c: Removed.
4707         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4708         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4709         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4710         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4712         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4713         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4714         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4715         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4716         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4717         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4718         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4719         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4721         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4722         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4723         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4724         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4726         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4727         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4728         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4729         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4731 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4733         * s_casin_template.c: Copy of s_casin.c.
4734         * s_casinh_template.c: Copy of s_casinh.c.
4735         * s_csin_template.c: Copy of s_csin.c.
4736         * s_csinh_template.c: Copy of s_csinh.c.
4737         * k_casinh_template.c: Copy of k_casinh.c.
4739 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4741         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4743 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4745         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4746         (mul_split) Remove, rename as mul_splitl, remove
4747         redundant float.h include, and include via mul_splitl.h
4749         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4750         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4751         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4752         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4753         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4755         * math/mul_splitl.h: New file.
4757         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4758         Move into mul_split.h, and remove redundant float.h include.
4760         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4761         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4762         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4763         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4765         * math/mul_split.h: New file.
4767 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4769         * math/Makefile (libm-gen-calls): Move
4770         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4771         (libm-calls): Remove above.
4773         * math/s_cacos_template.c: Update using type-generic macros.
4774         * math/s_cacosh_template.c: Likewise.
4775         * math/s_ccos_template.c: Likewise.
4776         * math/s_ccosh_template.c: Likwise.
4778         * math/s_cacosf.c: Removed.
4779         * math/s_cacos.c: Removed.
4780         * math/s_cacosl.c: Removed.
4781         * math/s_cacoshf.c: Removed.
4782         * math/s_cacosh.c: Removed.
4783         * math/s_cacoshl.c: Removed.
4784         * math/s_ccosf.c: Removed.
4785         * math/s_ccos.c: Removed.
4786         * math/s_ccosl.c: Removed.
4787         * math/s_ccoshf.c: Removed.
4788         * math/s_ccosh.c: Removed.
4789         * math/s_ccoshl.c: Removed.
4791         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4792         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4793         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4794         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4795         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4796         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
4798         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
4799         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
4800         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
4801         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
4803         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
4804         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4805         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4806         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4808 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4810         * s_cacos_template.c: Copy of s_cacos.c.
4811         * s_cacosh_template.c: Copy of s_cacosh.c.
4812         * s_ccos_template.c: Copy of s_ccos.c.
4813         * s_ccosh_template.c: Copy of s_ccosh.c.
4815 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4817         * stdlib/tst-strtod-round-skeleton.c:
4818         Refactored from tst-strtod-round.c.
4820         (L_): New macro to apply literal modifier.
4821         (FNPFX): New macro to select str or wcs prefix.
4822         (CHAR): New macro to choose wchar_t or char.
4823         (STRM): New macro to choose printf for tested character type.
4825         (STRTO): New macro to choose appropriate string -> real function.
4826         (FNPFXS): Stringitized version of FNPFX.
4827         (STR): Support for above macro.
4828         (STRX): Likewise.
4830         (TEST): Update with above macros.
4831         (test): Likewise.
4832         (GEN_ONE_TEST): Likewise.
4833         (test_in_one_mode): Likewise.
4835         * stdlib/tst-strtod-round.c: New file.
4836         * wcsmbs/tst-wcstod-round.c: New file.
4838         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
4839         (tst-wcstod-round): Add libm depencency for fesetround.
4841 2016-08-19  Zack Weinberg  <zackw@panix.com>
4843         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
4845 2016-08-18  Torvald Riegel  <triegel@redhat.com>
4847         [BZ #20477]
4848         * resolv/res_hconf.c (do_init): Use atomic access.
4849         * resolv/res_hconf.h: Add comments.
4850         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
4851         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
4852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4854 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4856         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4857         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
4858         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4859         Likewise.
4861 2016-08-18  Florian Weimer  <fweimer@redhat.com>
4863         [BZ #16907]
4864         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
4865         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
4866         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
4867         (__attribute__): Remove definition.
4869 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4871         * sysdeps/ieee754/ldbl-128/e_asinl.c:
4872         Remove unused sqrtl declaration.
4874 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4876         * math/Makefile: (gen-libm-templates.stmp): New rule.
4877         (libm-calls): Move carg conj cimag and cabs into ...
4878         (gen-libm-calls): New variable.
4879         (generated): Inform Make objects from gen-libm-calls
4880         may be generated.
4882         * sysdeps/generic/math-type-macros.h: New file.
4883         * sysdeps/generic/math-type-macros-float.h: Likewise.
4884         * sysdeps/generic/math-type-macros-double.h: Likewise.
4885         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4886         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
4887         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
4889         * math/cabs.c: Refactor into
4890         * math/cabs_template.c: new file.
4891         * math/cabsf.c: Removed.
4892         * math/cabsl.c: Removed.
4893         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
4894         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
4896         * math/carg.c: Refactor into
4897         * math/carg_template.c: new file.
4898         * math/cargf.c: Removed.
4899         * math/cargl.c: Removed.
4900         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
4901         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
4903         * math/conj.c: Refactor into
4904         * math/conj_template.c: new file.
4905         * math/conjf.c: Removed.
4906         * math/conjl.c: Removed.
4907         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
4908         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
4910         * math/cimag.c: Refactor into
4911         * math/cimag_template.c: new file.
4912         * math/cimagf.c: Removed.
4913         * math/cimagl.c: Removed.
4914         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4915         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4917         * math/cimag.c: Refactor into
4918         * math/cimag_template.c: new file.
4919         * math/cimagf.c: Removed.
4920         * math/cimagl.c: Removed.
4921         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4922         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4924 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4926         Reduce time to expected nptl/tst-once5 failure.
4927         * nptl/tst-once5.cc (TIMEOUT): Define.
4929 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4931         [BZ #20452]
4932         Avoid additional copies of objects in libc.a in static libraries.
4933         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
4934         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
4935         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
4936         rt-sysdep.
4937         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
4938         Add nptl-sysdep.
4939         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
4940         Add ptw-sysdep.
4941         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
4942         rt-sysdep.
4943         * sysdeps/unix/sysv/linux/alpha/Makefile
4944         (libpthread-shared-only-routines): Add ptw-sysdep,
4945         ptw-sigprocmask, ptw-rt_sigaction.
4946         * sysdeps/unix/sysv/linux/ia64/Makefile
4947         (librt-shared-only-routines): Add rt-sysdep.
4948         * sysdeps/unix/sysv/linux/i386/Makefile
4949         (libpthread-shared-only-routines): Add libc-do-syscall.
4950         * sysdeps/unix/sysv/linux/microblaze/Makefile
4951         (libpthread-shared-only-routines): Add sysdep.
4952         * sysdeps/unix/sysv/linux/powerpc/Makefile
4953         (librt-shared-only-routines): Add rt-sysdep.
4954         (libpthread-shared-only-routines): Add sysdep.
4955         * sysdeps/unix/sysv/linux/s390/Makefile
4956         (librt-shared-only-routines): Add rt-sysdep.
4957         * sysdeps/unix/sysv/linux/sparc/Makefile
4958         (librt-shared-only-routines): Add rt-sysdep.
4959         (libpthread-shared-only-routines): Add sysdep.
4960         * sysdeps/unix/sysv/linux/tile/Makefile
4961         (libpthread-shared-only-routines): Likewise.
4963 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4965         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
4966         Mask implicit bit out of unpacked value.
4967         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
4968         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
4969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
4971         * sysdeps/sparc/fpu/fesetexcept.c: New file.
4973         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
4975         * sysdeps/s390/fpu/fesetexcept.c: New file.
4977         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4978         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4979         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4981         * sysdeps/mips/fpu/fesetexcept.c: New file.
4983         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4985         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4987         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4989         * sysdeps/arm/fesetexcept.c: New file.
4991         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4993         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4995         * math/fesetexcept.c: New file.
4996         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4997         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4998         * math/fenv.h: Define
4999         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5000         <bits/libc-header-start.h> instead of including <features.h>.
5001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5002         declaration.
5003         * manual/arith.texi (fesetexcept): Document function.
5004         * math/Versions (fesetexcept): New libm symbol at version
5005         GLIBC_2.25.
5006         * math/Makefile (libm-support): Add fesetexcept.
5007         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5008         * math/test-fesetexcept.c: New file.
5009         * math/test-fesetexcept-traps.c: Likewise.
5010         * sysdeps/nacl/libm.abilist: Update.
5011         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5012         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5013         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5014         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5015         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5016         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5017         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5018         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5019         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5020         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5021         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5022         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5024         Likewise.
5025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5026         Likewise.
5027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5028         Likewise.
5029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5030         Likewise.
5031         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5032         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5033         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5034         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5035         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5037         Likewise.
5038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5039         Likewise.
5040         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5041         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5042         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5044 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5046         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5047         New.
5048         (do_test): Apply default_stack_size_in_mb if not set.
5049         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5051 2016-08-15  Andreas Schwab  <schwab@suse.de>
5053         [BZ #20435]
5054         CVE-2016-6323
5055         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5056         as .cantunwind.
5058 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5060         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5061         comment from fraiseexcpt.c.
5063         * math/test-fexcept.c (feraiseexcept_exact): New function.
5064         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5065         (test_except): Likewise.
5067 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5069         [BZ #20455]
5070         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5071         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5072         to be restored.
5074         * math/test-fexcept-traps.c: New file.
5075         * math/test-fexcept.c: Likewise.
5076         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5077         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5078         macro.
5079         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5080         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5082 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5084         * include/atomic.h (atomic_fetch_and_relaxed,
5085         atomic_fetch_and_release, atomic_fetch_or_release,
5086         atomic_fetch_xor_release): New.
5088 2016-08-06  Christian Seiler  <christian@iwakd.de>
5090         [BZ #20444]
5091         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5092         MACH_PORT_NULL.
5094 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5096         * math/s_fdim.c: Avoid alias renamed.
5097         * math/s_fdimf.c: Likewise.
5098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5099         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5100         Add s_fdimf-vis3, s_fdim-vis3.
5101         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5102         (CFLAGS-s_fdim-vis3.c): Likewise.
5103         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5104         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5106 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5109         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5110         Remove s_fdimf-vis3, s_fdim-vis3.
5111         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5112         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5119         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5120         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5122 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5124         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5125         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5126         -Wa,-Av9a -mvis.
5128 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5130         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5131         LIT() to individual constants in simple expressions
5132         after splitting on spaces.
5133         (_apply_lit): Rename replaced version, and use it to
5134         apply to what appears to be a token.
5136         * math/libm-test.inc: Fix many, many issues with
5137         spacing.
5139 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5141         * math/math.h: Move comment about <bits/mathdef.h> definitions
5142         above inclusion of <bits/mathdef.h>.  Do not mention
5143         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5145 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5147         * include/atomic.h (atomic_exchange_relaxed): New.
5149 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5151         * math/e_scalb.c: Do not include <fenv.h>.
5152         (invalid_fn): Do calculation resulting in NaN instead of raising
5153         FE_INVALID and returning a NaN explicitly.
5154         * math/e_scalbf.c: Do not include <fenv.h>.
5155         (invalid_fn): Do calculation resulting in NaN instead of raising
5156         FE_INVALID and returning a NaN explicitly.
5157         * math/e_scalbl.c: Do not include <fenv.h>.
5158         (invalid_fn): Do calculation resulting in NaN instead of raising
5159         FE_INVALID and returning a NaN explicitly.
5161 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5163         * po/de.po: Updated from Translation Project.
5164         * po/fi.po: Likewise.
5165         * po/sv.po: Likewise.
5167 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5169         [BZ #20452]
5170         Use sysdep.o from libc.a in static libraries.
5171         * sysdeps/unix/sysv/linux/i386/Makefile
5172         (libpthread-shared-only-routines): Add sysdep.
5173         (librt-shared-only-routines): Likewise.
5175 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5177         * math/tgmath.h (nextdown): Define if
5178         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5179         (nextup): Likewise.
5181         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5182         macro.
5183         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5184         Document.
5185         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5186         Document macro.
5187         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5188         (exp10f): Likewise.
5189         (exp10l): Likewise.
5190         * math/bits/mathcalls.h (exp10): Declare if
5191         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5193         * manual/arith.texi (nextup): Fix typo in last change.
5195 2016-08-03  Zack Weinberg  <zackw@panix.com>
5197         [BZ #19239]
5198         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5199         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5200         define major, minor, and makedev to issue deprecation warnings on use.
5201         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5202         previously-activated deprecation warnings for these macros and prevent
5203         subsequent inclusions of this header from having any effect.
5204         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5205         including <sys/sysmacros.h>, and undefine it again afterward.
5207 2016-08-03  Zack Weinberg  <zackw@panix.com>
5209         * sysdeps/generic/sys/sysmacros.h: Delete file.
5210         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5211         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5212         * bits/sysmacros.h: ... here; this encoding is now the generic
5213         encoding.  Now defines only the following macros:
5214         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5215         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5216         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5218         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5219         bits/sysmacros.h and the above new macros to generate the
5220         public implementations of major, minor, and makedev.
5221         * misc/tst-makedev.c: New test.
5222         * include/sys/sysmacros.h: New wrapper.
5224         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5225         (routines): Add makedev.
5226         (tests): Add tst-makedev.
5227         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5228         gnu_dev_makedev.
5229         * posix/Makefile (headers): Remove sys/sysmacros.h.
5230         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5232         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5233         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5234         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5235         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5236         * sysdeps/unix/sysv/linux/arm/libc.abilist
5237         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5238         * sysdeps/unix/sysv/linux/i386/libc.abilist
5239         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5240         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5241         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5242         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5243         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5244         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5245         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5246         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5247         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5252         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5253         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5254         * sysdeps/unix/sysv/linux/sh/libc.abilist
5255         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5256         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5259         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5260         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5261         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5262         Add GLIBC_2.25.
5264         * include/features.h (__glibc_clang_prereq): New macro.
5265         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5266         (__attribute_deprecated_msg__): New macros.
5268 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5270         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5271         macro.
5272         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5273         * manual/arith.texi (issignaling): Document as ISO from TS
5274         18661-1:2014.
5275         (nextup): Likewise.
5276         (nextupf): Likewise.
5277         (nextupl): Likewise.
5278         (nextdown): Likewise.
5279         (nextdownf): Likewise.
5280         (nextdownl): Likewise.
5281         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5282         macro.
5283         * math/math.h: Define
5284         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5285         <bits/libc-header-start.h> instead of including <features.h>.
5286         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5287         [__USE_GNU].
5288         * math/bits/mathcalls.h (nextdown): Declare if
5289         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5290         (nextup): Likewise.
5291         (__issignaling): Likewise.
5293 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5295         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5296         check, and remove __glibc_likely hint
5297         from FP_INFINITE check.
5298         * s_csinhf.c (__csinhf): Likewise.
5300         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5301         hint from FP_INFINITE check.
5302         * s_csinhl.c (__csinhl): Likewise.
5304 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5306         * math/Makefile (libm-calls): Insert F placeholder into
5307         object names.  Move w_lgamma_compat* routines into
5308         (libm-compat-calls): New variable.
5309         (libm-compat-calls-ldouble-yes): New variable.
5310         (calls): Insert F placeholder.
5311         (generated): Redefine using new type-foreach macro call.
5312         (routines): Likewise.
5314         (types): New variable to hold a list of symbolic names
5315         for each type supported by the target machine.
5316         (libm-routines): Redefine using new types variable.
5317         (type-foreach): macro to replace fooF with the
5318         appropriately suffixed foo for each types.
5320         (type-ldouble-suffix): New variable.
5321         (type-ldouble-routines): Likewise.
5322         (type-ldouble-yes): Likewise.
5323         (type-double-suffix): Likewise.
5324         (type-double-routines): Likewise.
5325         (type-float-suffix): Likewise.
5326         (type-float-routines): Likewise.
5328         (dbl-only-routines): Remove.
5329         (long-c-yes): Likewise.
5330         (long-m-routines): Likewise.
5331         (long-m-support): Likewise.
5332         (long-m-yes): Likewise.
5333         (test-longdouble-yes): Likewise.
5335         (test-float.o): Simplify by increasing the scope of the
5336         recipe which adds libm-test.stmp to the vector types.
5337         (test-ifloat.o): Likewise.
5338         (test-float-finite.o): Likewise.
5339         (test-double.o): Likewise
5340         (test-idouble.o): Likewise.
5341         (test-double-finite.o): Likewise.
5342         (test-ldouble.o): Likewise
5343         (test-ildoubl.o): Likewise.
5344         (test-ldouble-finite.o): Likewise.
5346         (libm-tests): Redefine type tests using foreach and the
5347         list of types in types.
5349         (CPPFLAGS-test-ildoubl.c): Rename to
5350         (CPPFLAGS-test-ildouble.c): New variable
5352         * math/test-ildoubl.c: Rename to
5353         * math/test-ildouble.c: New file.
5355 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5357         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5358         Use fabsl instead of fabs.
5359         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5360         Likewise.
5361         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5362         Add long double suffix to constant to ensure proper
5363         promotion to long double.
5365 2016-08-03  Tom Tromey  <tom@tromey.com>
5367         [BZ #20311]
5368         * nptl_db/Makefile (headers): Add proc_service.h.
5369         * nptl_db/proc_service.h: Add include guard.  Use
5370         __BEGIN/__END_DECLS.
5371         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5372         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5373         arguments.
5376 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5378         [BZ #17730]
5379         Avoid using memalign for TCB allocations.
5380         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5381         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5382         Avoid alignment gap in the TLS_DTV_AT_TP case.
5383         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5384         determine the pointer to free.
5385         * nptl/tst-tls3-malloc.c: New test.
5386         * nptl/Makefile (tests): Add it.
5387         (tst-tls3-malloc): Link with libdl, libpthread.
5388         (LDFLAGS-tst-tls3-malloc): Set.
5389         (tst-tls3-malloc.out): Depend on DSO used in test.
5391 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5393         [BZ #17730]
5394         Avoid using memalign for TLS allocations.
5395         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5396         is_static member with to_free member.
5397         (union dtv): Use struct dtv_pointer.
5398         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5399         dtv_pointer instead of is_static.
5400         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5401         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5402         instead of val.
5403         (allocate_dtv_entry): New function.
5404         (allocate_and_init): Return struct dtv_pointer.  Call
5405         allocate_dtv_entry instead of __libc_memalign.
5406         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5407         instead of val.
5408         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5409         instead of is_static.  Adjust call to allocate_and_init.
5410         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5411         struct dtv_pointer instead of val.
5413 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5415         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5416         (MALLOC_ALIGN_MASK): Move ...
5417         * malloc/malloc-internal.h: ... to here.
5418         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5420 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5422         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5423         (UDP_ENCAP_GTP1U): Likewise.
5425         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5426         (PF_MAX): Update value.
5427         (AF_QIPCRTR): New macro.
5429 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5431         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5432         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5433         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5435         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5436         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5437         s_truncf-vis3, s_trunc-vis3.
5438         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5439         (CFLAGS-s_ceil-vis3.c): Likewise.
5440         (CFLAGS-s_floorf-vis3.c): Likewise.
5441         (CFLAGS-s_floor-vis3.c): Likewise.
5442         (CFLAGS-s_truncf-vis3.c): Likewise.
5443         (CFLAGS-s_trunc-vis3.c): Likewise.
5444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5446         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5447         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5452         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5453         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5454         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5455         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5457 2016-08-02  David S. Miller  <davem@davemloft.net>
5459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5460         (__nearbyint_vis3): Don't check for sNaN before float register is
5461         loaded with the incoming argument.
5462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5463         (__nearbyintf_vis3): Likewise.
5464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5465         Likewise.
5466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5467         Likewise.
5469         * string/test-strncmp.c (do_test_limit): Make sure the test data
5470         stream is aligned as required for the type "CHAR".
5471         (do_test): Likewise.
5473 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5475         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5476         by beq instructions jumping to the end of the function.
5477         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5478         clobber list. Use "i" constraint instead of "X".
5479         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5480         of "X".
5482 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5484         * bits/libc-header-start.h: New file.
5485         * Makefile (headers): Add bits/libc-header-start.h.
5486         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5487         (__GLIBC_USE): New macro.
5488         * libio/stdio.h: Define
5489         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5490         <bits/libc-header-start.h> instead of including <features.h>.
5491         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5492         (open_memstream): Likewise.
5493         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5494         (__asprintf): Likewise.
5495         (asprintf): Likewise.
5496         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5497         (getdelim): Likewise.
5498         (getline): Likewise.
5499         * string/string.h: Define
5500         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5501         <bits/libc-header-start.h> instead of including <features.h>.
5502         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5503         (strndup): Likewise.
5504         * wcsmbs/wchar.h: Define
5505         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5506         <bits/libc-header-start.h> instead of including <features.h>.
5507         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5508         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5510 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5512         Support linking against compatibility symbols, for use in tests.
5513         * include/libc-symbols.h (symbol_version_reference): New macro.
5514         (symbol_version): Use it.
5515         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5516         (compat_symbol): Use compat_symbol_reference.
5517         (compat_symbol_1, compat_symbol_2): Remove.
5518         (compat_symbol_reference, compat_symbol_reference_1)
5519         (compat_symbol_reference_2): New macro.  Use
5520         symbol_version_reference.
5522 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5524         [BZ #19469]
5525         * malloc/Makefile (CPPFLAGS): Compile tests with
5526         -DTEST_NO_MALLOPT.
5527         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5529 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5531         [BZ #20033]
5532         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5533         finite version.
5534         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5535         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5536         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5537         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5538         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5539         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5540         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5541         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5542         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5543         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5544         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5545         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5546         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5547         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5548         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5549         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5550         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5551         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5552         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5553         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5554         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5555         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5556         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5557         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5558         in zero power.
5560 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5562         [BZ #20370]
5563         * malloc/arena.c (get_free_list): Update comment.  Assert that
5564         arenas on the free list have no attached threads.
5565         (remove_from_free_list): New function.
5566         (reused_arena): Call it.
5568 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5570         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5571         when it is a NaN.
5572         [_IEEE_FP_INEXACT] Remove.
5573         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5574         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5575         when it is a NaN.
5576         [_IEEE_FP_INEXACT] Remove.
5577         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5578         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5579         when it is a NaN.
5580         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5581         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5582         when its absolute value is greater than 0x1.0p52.
5583         [_IEEE_FP_INEXACT] Remove.
5584         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5585         when its absolute value is greater than 0x1.0p23.
5586         [_IEEE_FP_INEXACT] Remove.
5588 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5590         * version.h (RELEASE): Set to "development"
5591         (VERSION): Set to 2.24.90.
5592         * NEWS: Add 2.25 section.
5594         * version.h (RELEASE): Set to "stable"
5595         (VERSION): Set to 2.24.
5596         * include/features.h (__GLIBC_MINOR__): Set to 24.
5598         * NEWS: Add 2.24 fixed bugs.
5599         * po/libc.pot: Regenerate.
5601 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5604         [$(subdir) = math] (libm-sysdep_routines): Remove.
5605         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5606         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5607         s_truncf-vis3, s_trunc-vis3.
5608         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5610         file.
5611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5632         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5637         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5639         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5640         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5644         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5645         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5646         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5647         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5648         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5649         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5650         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5651         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5652         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5653         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5655 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5657         [BZ #20384]
5658         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5659         test-double-libmvec-sincos-avx-main.o,
5660         test-double-libmvec-sincos-avx2-main.o,
5661         test-double-libmvec-sincos-main.o,
5662         test-float-libmvec-sincosf-avx-main.o,
5663         test-float-libmvec-sincosf-avx2-main.o and
5664         test-float-libmvec-sincosf-main.o.
5665         test-float-libmvec-sincosf-avx512-main.o.
5666         ($(objpfx)test-double-libmvec-sincos): Also link with
5667         $(objpfx)test-double-libmvec-sincos-main.o.
5668         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5669         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5670         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5671         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5672         ($(objpfx)test-float-libmvec-sincosf): Also link with
5673         $(objpfx)test-float-libmvec-sincosf-main.o.
5674         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5675         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5676         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5677         test-double-libmvec-sincos-avx512-main.o and
5678         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5679         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5680         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5681         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5682         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5683         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5684         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5685         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5686         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5687         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5688         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5689         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5690         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5691         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5692         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5693         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5694         -DREQUIRE_AVX2.
5695         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5696         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5697         -DREQUIRE_AVX512F.
5698         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5699         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5700         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5701         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5702         file.
5703         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5704         Likewise.
5705         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5706         Likewise.
5707         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5708         Likewise.
5709         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5710         Likewise.
5711         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5712         Likewise.
5713         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5714         Likewise.
5715         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5716         Likewise.
5718 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5720         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5722 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5724         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5725         and typo in a comment about AT_HWCAP entry.
5727 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5729         * sysdeps/aarch64/libm-test-ulps: Updated.
5731 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5733         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5734         of r13 as it is not restored in mvcle case.
5736 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5738         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5739         Rename "ret" to "__ret".
5740         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5741         inline_syscall5, inline_syscall6): Likewise.
5743 2016-07-19   Will Newton  <will.newton@gmail.com>
5745         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5746         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5747         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5748         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5749         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5751 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5753         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5754         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5755         -mfpmath=387 with $(rtld-CFLAGS).
5756         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5757         $(rtld-CFLAGS).
5759 2016-07-18   Ross Burton  <ross.burton@intel.com>
5760              Khem Raj  <raj.khem@gmail.com>
5762         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5763         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5764         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5765         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5766         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5767         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5768         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5769         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5770         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5771         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5772         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5773         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5774         R_METAG_TLS_DTPOFF): New.
5776 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5777             Matt Clay  <mclay@lycos.com>
5779         [BZ #20357]
5780         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5781         to call __mpsin/__mpcos and to negate values.
5782         * math/auto-libm-test-in: Add test.
5783         * math/auto-libm-test-out: Regenerate.
5785 2016-07-18  Zack Weinberg  <zackw@panix.com>
5787         * grp/Makefile: Don't install the internal header grp-merge.h.
5789 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5791         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5793 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5795         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5797 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5799         [BZ #15368]
5800         * sysdeps/unix/sysv/linux/nptl-signals.h
5801         (__nptl_clear_internal_signals): New function.
5802         (__libc_signal_block_all): Likewise.
5803         (__libc_signal_block_app): Likewise.
5804         (__libc_signal_restore_set): Likewise.
5805         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
5806         implementation.
5807         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
5808         the cached pid/tid value in pthread structure.
5810 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
5812         [BZ #20347]
5813         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5815 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5817         [BZ #20348]
5818         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
5819         preadv64, pwrite64 and pwritev64.
5821 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5823         [BZ #20350]
5824         * posix/tst-preadwrite.c: Renamed to ...
5825         * posix/tst-preadwrite-common.c: This.
5826         (PREAD): Removed.
5827         (PWRITE): Likewise.
5828         (STRINGIFY): Likewise.
5829         (STRINGIFY2): Likewise.
5830         (do_prepare): Make it static and remove function arguments.
5831         (do_test): Likewise.
5832         (PREPARE): Updated.
5833         (TEST_FUNCTION): New.
5834         (name): Make it static.
5835         (fd): Likewise.
5836         (do_prepare): Use create_temp_file.
5837         (do_test): Renamed to ...
5838         (do_test_with_offset): This.  Make it static and accept offset.
5839         Properly check return value of PWRITE and PREAD.  Return bytes
5840         read.  Don't close fd nor unlink name.
5841         * posix/tst-preadwrite.c: Rewrite.
5842         * posix/tst-preadwrite64.c: Likewise.
5844 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5846         [BZ #20309]
5847         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
5848         -mtls-dialect=gnu2 works.
5849         * configure: Regenerated.
5850         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
5851         (tests): Add tst-gnu2-tls1.
5852         (modules-names): Add tst-gnu2-tls1mod.
5853         ($(objpfx)tst-gnu2-tls1): New.
5854         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
5855         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
5856         * elf/tst-gnu2-tls1.c: New file.
5857         * elf/tst-gnu2-tls1mod.c: Likewise.
5858         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
5859         bytes for push in the PLT entry to align the stack.
5861 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5863         [BZ #20349]
5864         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
5866 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5868         [BZ #18707]
5869         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5870         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
5872 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5874         * sysdeps/unix/sysv/linux/sysdep.h
5875         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5876         guards.
5877         * misc/tst-preadvwritev-common.c: New file.
5878         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
5879         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
5880         a check for files larger than 2GB.
5882         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5883         (__ASSUME_OFF_DIFF_OFF64): Remove define.
5884         * sysdeps/unix/sysv/linux/pread.c
5885         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
5886         __OFF_T_MATCHES_OFF64_T.
5887         * sysdeps/unix/sysv/linux/pread64.c
5888         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
5889         * sysdeps/unix/sysv/linux/preadv.c
5890         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
5891         * sysdeps/unix/sysv/linux/preadv64.c
5892         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
5893         * sysdeps/unix/sysv/linux/pwrite.c
5894         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
5895         * sysdeps/unix/sysv/linux/pwrite64.c
5896         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
5897         * sysdeps/unix/sysv/linux/pwritev.c
5898         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
5899         * sysdeps/unix/sysv/linux/pwritev64.c
5900         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
5902 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
5904         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5905         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
5907 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5909         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
5911 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5913         [BZ #20240]
5914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5915         (CFLAGS-s_modf-ppc32.c): New variable.
5916         (CFLAGS-s_modff-ppc32.c): Likewise.
5917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5918         (CFLAGS-s_modf-ppc64.c): Likewise.
5919         (CFLAGS-s_modff-ppc64.c): Likewise.
5921 2016-07-07  Andreas Schwab  <schwab@suse.de>
5923         [BZ #20263]
5924         * nptl/tst-robust10.c: New test.
5925         * nptl/Makefile (tests): Add tst-robust10.
5927 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
5929         [BZ #20263]
5930         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
5932 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5934         * sysdeps/s390/linkmap.h (struct link_map_machine):
5935         Remove member gotplt and add member jmprel.
5936         * sysdeps/s390/s390-32/dl-machine.h
5937         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
5938         instead of gotplt with &got[3].
5939         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
5940         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5942 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
5944         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
5946 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5948         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
5949         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
5950         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5951         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
5952         * libio/vtables.c (_IO_vtable_check)
5953         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5954         * libio/libioP.h (IO_set_accept_foreign_vtables)
5955         [!PTR_MANGLE]: Do not call PTR_MANGLE.
5957 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
5959         [BZ #20314]
5960         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
5961         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
5962         $(common-objpfx)cmath.
5963         ($(common-objpfx)cstdlib): New target.
5964         ($(common-objpfx)cmath): Likewise.
5966 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
5968         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
5970 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5972         [BZ #20327]
5973         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
5974         are not part of the string.
5976 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5978         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5979         * nptl/tst-cancel4-common.h (fifoname): New variable.
5980         (fifofd): Likewise.
5981         (cl_fifo): New function.
5982         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5983         SIGINT.
5984         (tf_open): Add early cancel test.
5986 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5988         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5990 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5992         * sysdeps/generic/ldsodefs.h
5993         (dl_symbol_visibility_binds_local_p): New inline function.
5994         * elf/dl-addr.c (determine_info): Treat hidden and internal
5995         symbols as local.
5996         * elf/dl-lookup.c (do_lookup_x): Likewise.
5997         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5999 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6001         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6002         invalid exception for a sNaN input.
6003         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6004         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6005         (__nearbyint_vis3): Likewise
6006         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6007         (__nearbyintf_vis3): Likewise
6008         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6009         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6010         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6011         Likewise.
6012         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6013         Likewise.
6015 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6017         [BZ #20139]
6018         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6019         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6020         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6021         2.24 or above.
6022         (HAVE_AVX512_ASM_SUPPORT): Removed.
6023         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6024         * sysdeps/x86_64/configure: Regenerated.
6025         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6026         check unconditional.
6027         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6028         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6029         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6030         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6031         Likewise.
6032         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6033         Likewise.
6034         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6035         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6036         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6037         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6038         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6039         Likewise.
6040         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6041         Likewise.
6042         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6043         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6044         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6045         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6046         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6047         Likewise.
6048         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6049         Likewise.
6050         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6051         Likewise.
6052         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6053         Likewise.
6054         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6055         Likewise.
6056         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6057         Likewise.
6058         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6059         Likewise.
6060         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6061         Likewise.
6062         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6063         Likewise.
6064         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6065         Likewise.
6066         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6067         Likewise.
6069 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6071         [BZ #20024]
6072         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6073         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6074         of this implementation of vector function.
6075         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6076         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6077         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6078         Likewise.
6079         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6080         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6081         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6082         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6083         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6084         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6085         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6086         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6087         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6088         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6089         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6090         for testing vector sincos with fixed ABI.
6091         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6092         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6093         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6094         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6095         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6096         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6097         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6098         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6099         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6100         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6101         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6102         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6103         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6104         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6105         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6106         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6108 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6110         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6112 2016-06-30  Anton Blanchard  <anton@samba.org>
6114         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6115         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6116         s_sinf-ppc64.
6117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6120         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6122 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6126         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6127         e_expf-ppc64.
6128         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6129         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6131         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6133 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6135         [BZ #20277]
6136         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6137         when SHARED is defined.
6139 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6141         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6142         (index_arch_Prefer_ERMS): Likewise.
6143         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6144         __memcpy_erms for Prefer_ERMS.
6145         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6146         (__memmove_erms): Enabled for libc.a.
6147         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6148         __memmove_erms or Prefer_ERMS.
6149         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6150         __mempcpy_erms for Prefer_ERMS.
6151         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6152         __memset_erms for Prefer_ERMS.
6154 2016-06-30  Andreas Schwab  <schwab@suse.de>
6156         [BZ #20262]
6157         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6158         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6159         of memory.
6161 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6163         [BZ #18645]
6164         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6165         (test-extras): Add tst-cleanupx4aux.
6166         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6167         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6168         tst-cleanupx4aux.o.
6169         * nptl/tst-cleanupx4aux.c: New file.
6171 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6173         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6175 2016-06-29  Andreas Schwab  <schwab@suse.de>
6177         [BZ #20260]
6178         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6179         address before the beginning of the string as an integer to avoid
6180         array-bounds warning.
6182 2016-06-28  Richard Henderson  <rth@redhat.com>
6184         * elf/elf.h (EM_BPF): New.
6185         (EM_NUM): Update.
6186         (R_BPF_NONE, R_BPF_MAP_FD): New.
6188         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6189         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6190         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6191         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6192         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6193         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6194         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6195         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6196         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6197         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6198         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6199         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6200         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6201         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6202         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6203         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6204         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6205         (EM_NUM): Update.
6207 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6209         [BZ #18960]
6210         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6211         Set _nl_current_LC_CATEGORY_used to two instead of one.
6213 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6215         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6216         (do_test): ... this.
6217         (TEST_FUNCTION): New macro.
6218          Include test-skeleton.c.
6219         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6220         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6222 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6224         [BZ #15479]
6225         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6226         floating-point environment rather than just control word.
6227         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6228         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6229         floating-point environment, with "invalid" exceptions merged in,
6230         rather than just control word.
6231         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6232         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6233         "inexact" exceptions.
6235         [BZ #15479]
6236         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6237         floating-point environment rather than just control word.
6238         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6239         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6240         floating-point environment, with "invalid" exceptions merged in,
6241         rather than just control word.
6242         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6243         * math/libm-test.inc (floor_test_data): Do not allow spurious
6244         "inexact" exceptions.
6246         [BZ #15479]
6247         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6248         floating-point environment rather than just control word.
6249         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6250         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6251         floating-point environment, with "invalid" exceptions merged in,
6252         rather than just control word.
6253         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6254         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6255         "inexact" exceptions.
6257 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6259         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6260         __libc_vfork.
6261         (__vfork) [IS_IN (libc)]: Remove alias.
6262         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6263         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6264         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6266 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6268         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6269         of atomic_compare_and_exchange_bool_rel.
6270         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6271         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6272         catomic_compare_and_exchange_bool_rel): Remove.
6273         * sysdeps/aarch64/atomic-machine.h
6274         (atomic_compare_and_exchange_bool_rel): Likewise.
6275         * sysdeps/alpha/atomic-machine.h
6276         (atomic_compare_and_exchange_bool_rel): Likewise.
6277         * sysdeps/arm/atomic-machine.h
6278         (atomic_compare_and_exchange_bool_rel): Likewise.
6279         * sysdeps/mips/atomic-machine.h
6280         (atomic_compare_and_exchange_bool_rel): Likewise.
6281         * sysdeps/microblaze/atomic-machine.h
6282         ( __arch_compare_and_exchange_bool_8_rel,
6283         __arch_compare_and_exchange_bool_16_rel): Likewise.
6284         * sysdeps/powerpc/atomic-machine.h
6285         ( __arch_compare_and_exchange_bool_8_rel,
6286         __arch_compare_and_exchange_bool_16_rel): Likewise.
6287         * sysdeps/powerpc/powerpc32/atomic-machine.h
6288         ( __arch_compare_and_exchange_bool_32_rel,
6289         __arch_compare_and_exchange_bool_64_rel): Likewise.
6290         * sysdeps/powerpc/powerpc64/atomic-machine.h
6291         ( __arch_compare_and_exchange_bool_32_rel,
6292         __arch_compare_and_exchange_bool_64_rel): Likewise.
6293         * sysdeps/tile/atomic-machine.h
6294         (atomic_compare_and_exchange_bool_rel): Likewise.
6296 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6298         [BZ #20296]
6299         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6300         when either argument is a NaN.
6301         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6302         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6304         * math/libm-test.inc (snan_value_ld): New macro.
6305         (isgreater_test_data): Add sNaN tests.
6306         (isgreaterequal_test_data): Likewise.
6307         (isless_test_data): Likewise.
6308         (islessequal_test_data): Likewise.
6309         (islessgreater_test_data): Likewise.
6310         (isunordered_test_data): Likewise.
6311         (nextafter_test_data): Likewise.
6312         (nexttoward_test_data): Likewise.
6313         (remainder_test_data): Likewise.
6314         (remquo_test_data): Likewise.
6315         (significand_test_data): Likewise.
6316         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6318 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6320         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6321         environment macros are defined.
6322         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6324 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6326         [BZ #20191]
6327         Implement vtable verification in libio.
6328         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6329         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6330         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6331         _IO_new_file_init_internal instead of _IO_file_init.
6332         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6333         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6334         * libio/Makefile (routines): Add vtables.
6335         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6336         (_IO_init): Remove, not for internal use.
6337         (_IO_init_internal): Declare, internal replacement for _IO_init.
6338         (_IO_file_init): Remove, not for internal use.
6339         (_IO_new_file_init): Remove, not for internal use.
6340         (_IO_new_file_init_internal): Declare, internal replacement for
6341         _IO_new_file_init.
6342         (_IO_old_file_init): Remove, not for internal use.
6343         (_IO_old_file_init_internal): Declare, internal replacement for
6344         _IO_old_file_init.
6345         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6346         internal use.
6347         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6348         Declare.
6349         (libio_vtable): New macro.
6350         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6351         functions.
6352         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6353         _IO_new_file_init.
6354         (_IO_new_file_init): New externally visible wrapper which disables
6355         vtable verification.
6356         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6357         Define as vtables.
6358         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6359         (_IO_init): New externally visible wrapper which disables
6360         vtable verification.
6361         * libio/iofdopen.c (_IO_new_fdopen): Call
6362         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6363         comment.
6364         * libio/iofopen.c (__fopen_internal): Call
6365         _IO_new_file_init_internal instead of _IO_file_init.
6366         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6367         Define as vtables.
6368         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6369         _IO_new_file_init_internal instead of _IO_file_init.
6370         * libio/iopopen.c (_IO_new_popen): Likewise.
6371         (_IO_proc_jumps): Define as vtable.
6372         * libio/iovdprintf.c (_IO_vdprintf): Call
6373         _IO_new_file_init_internal instead of _IO_file_init.
6374         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6375         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6376         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6377         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6378         _IO_old_file_init.
6379         (_IO_old_file_init): New externally visible wrapper which disables
6380         vtable verification.
6381         (_IO_old_file_jumps): Define as vtable.
6382         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6383         _IO_old_file_init_internal instead of _IO_old_file_init.
6384         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6385         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6386         (_IO_old_proc_jumps): Define as vtable.
6387         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6388         Define as vtables.
6389         * libio/vtables.c: New file.
6390         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6391         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6392         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6393         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6394         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6395         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6396         instead of _IO_init.
6398 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6400         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6402 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6404         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6405         potentially unused.
6407 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6409         * test-skeleton.c (write_message): New function.
6410         * malloc/tst-mallocfork2.c (write_message): Remove.
6411         * debug/tst-longjmp_chk2.c (write_indented): New function.
6412         (write_message): Remove.
6413         (stackoverflow_handler): Call write_indented.
6415 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6417         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6418         "inexact" exceptions after fnstenv.
6419         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6420         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6421         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6423 2015-06-22  Zack Weinberg  <zackw@panix.com>
6425         * sysdeps/generic/bits/hwcap.h: Moved to ...
6426         * bits/hwcap.h: Here.
6428 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6430         * sysdeps/aarch64/memcpy.S (memcpy):
6431         Further tuning for performance.
6433 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6435         [BZ #20284]
6436         * malloc/arena.c (reused_arena): Do not return NULL if we start
6437         out with a non-corrupted arena.
6439 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6441         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6442         * misc/tst-preadvwritev.c: New file.
6443         * misc/tst-preadvwritev64.c: Likewise.
6444         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6445         usage.
6446         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6447         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6448         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6449         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6451 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6453         [BZ #19654]
6454         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6455         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6456         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6457         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6458         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6459         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6460         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6461         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6462         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6463         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6464         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6465         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6466         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6467         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6468         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6469         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6470         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6471         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6472         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6473         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6474         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6475         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6476         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6477         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6478         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6479         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6481 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6483         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6484         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6486 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6488         * sysdeps/aarch64/memcpy.S (memcpy):
6489         Rewrite of optimized memcpy and memmove.
6490         * sysdeps/aarch64/memmove.S (memmove): Remove
6491         memmove code (merged into memcpy.S).
6493 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6495         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6496         * sysdeps/generic/dl-dtv.h: New file.
6497         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6498         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6499         (dtv_t): Remove.
6500         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6501         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6502         (dtv_t): Remove.
6503         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6504         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6505         (dtv_t): Remove.
6506         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6507         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6508         (dtv_t): Remove.
6509         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6510         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6511         (dtv_t): Remove.
6512         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6513         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6514         (dtv_t): Remove.
6515         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6516         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6517         (dtv_t): Remove.
6518         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6519         (dtv_t): Remove.
6520         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6521         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6522         (dtv_t): Remove.
6523         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6524         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6525         (dtv_t): Remove.
6526         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6527         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6528         (dtv_t): Remove.
6529         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6530         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6531         (dtv_t): Remove.
6532         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6533         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6534         (dtv_t): Remove.
6535         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6536         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6537         (dtv_t): Remove.
6538         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6539         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6540         (dtv_t): Remove.
6541         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6542         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6543         (dtv_t): Remove.
6545 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6547         Revert symbol poisoning of  __malloc_initialize_hook.
6548         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6549         poisoning.
6550         * malloc/Makefile: Remove un-poisoning.
6551         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6552         instead of old__malloc_initialize_hook.
6553         * malloc/malloc-hooks.h: Likewise.
6554         * malloc/malloc.c: Likewise.
6555         * malloc/mcheck-init.c: Likewise.
6557 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6559         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6561 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6563         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6564         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6565         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6566         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6568 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6570         * NEWS: Mention addition of nextup and nextdown.
6571         * manual/arith.texi: Document nextup and nextdown.
6572         * manual/libm-err-tab.pl: Add nextup and nextdown.
6573         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6574         * math/Versions (libm): Add GLIBC_2.24.
6575         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6576         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6577         Add new test.
6578         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6579         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6580         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6581         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6582         (nextup_test_data): Likewise.
6583         (nextdown_test_data): Likewise.
6584         * math/s_nextdown.c: New file.
6585         * math/s_nextdownf.c: Likewise.
6586         * math/s_nextdownl.c: Likewise.
6587         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6588         F(nextup): New function.
6589         F(nextdown): Likewise.
6590         * math/tgmath.h: Add nextup and nextdown.
6591         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6592         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6593         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6594         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6595         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6596         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6597         Add nextup and nextdown.
6598         (CFLAGS-nldbl-nextup.c): New variable.
6599         (CFLAGS-nldbl-nextdown.c): Likewise.
6600         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6601         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6602         * sysdeps/nacl/libm.abilist: Update.
6603         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6604         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6605         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6606         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6607         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6608         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6609         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6610         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6611         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6612         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6613         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6614         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6617         Likewise.
6618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6620         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6621         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6622         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6623         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6624         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6627         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6628         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6629         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6630         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6632 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6634         * manual/pattern.texi: Fix typos & grammar errors.
6636 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6638         * manual/search.texi: Fix typos & grammar errors.
6640 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6642         * manual/message.texi: Fix typos & grammar errors.
6644 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6646         * manual/contrib.texi: Fix spelling typos.
6647         * manual/crypt.texi: Likewise.
6648         * manual/filesys.texi: Likewise.
6649         * manual/locale.texi: Likewise.
6650         * manual/message.texi: Likewise.
6651         * manual/nss.texi: Likewise.
6652         * manual/string.texi: Likewise.
6654 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6656         * manual/locale.texi: Fix typos & grammar errors.
6658 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6660         * manual/charset.texi: Fix typos & grammar errors.
6662 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6664         * manual/string.texi: Fix typos.
6666 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6668         * manual/ctype.texi: Fix typos.
6670 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6672         * manual/memory.texi: Fix various typos & grammar errors.
6674 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6676         [BZ #20255]
6677         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6678         * math/libm-test.inc (fdim_test_data): Add another test.
6680         [BZ #6796]
6681         [BZ #20255]
6682         [BZ #20256]
6683         * math/s_fdim.c: Include <math_private.h>.
6684         (__fdim): Use math_narrow_eval on result.
6685         * math/s_fdimf.c: Include <math_private.h>.
6686         (__fdimf): Use math_narrow_eval on result.
6687         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6688         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6689         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6690         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6691         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6692         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6693         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6694         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6695         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6696         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6697         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6698         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6699         overflow.  Add sNaN tests.
6701         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6702         fpclassify.
6703         * math/s_fdimf.c (__fdimf): Likewise.
6704         * math/s_fdiml.c (__fdiml): Likewise.
6706 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6708         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6709         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6711         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6712         ifunc'ed strcasecmp/strncasecmp.
6713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6714         [EALIGN]: Removed.
6715         [END]: Likewise.
6716         [__strcasecmp]: Define instead of the above to control symbol name.
6717         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6718         for __strcasecmp_power8.
6719         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6720         for __strncasecmp_power8.
6721         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6722         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6723         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6724         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6725         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6726         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6728 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6730         [BZ #20252]
6731         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6732         arguments when second argument is a NaN.
6733         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6734         qNaN tests.
6736         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6737         (conj_test_data): Likewise.
6738         (copysign_test_data): Likewise.
6739         (creal_test_data): Likewise.
6740         (fma_test_data): Likewise.
6741         (fmod_test_data): Likewise.
6743         [BZ #20250]
6744         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6745         itself.
6746         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6747         zero input to itself.
6748         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6749         Likewise.
6750         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6751         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6752         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6753         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6754         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6756 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6758         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6759         * nptl/tst-cancel4-common.c: New file.
6760         * nptl/tst-cancel4-common.h: Likewise.
6761         * nptl/tst-cancel4.c: Move common definitions to
6762         tst-cancel4-common.{c,h} file.
6763         * nptl/tst-cancel4_1.c: New test.
6764         * nptl/tst-cancel4_2.c: New test.
6766 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6768         [BZ #20248]
6769         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6770         (write_message): New function.
6771         (stackoverflow_handler): Call it instead of printf, to avoid
6772         excessive stack usage by printf.
6773         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6775 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6777         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6778         (prio_inherit_missing): Remove define.
6779         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6780         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6781         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6782         Likewise.
6783         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6784         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6785         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6786         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6787         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6788         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6790 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6792         [BZ #19670]
6793         [BZ #19672]
6795         * io/test-lfs.c (do_prepare): Use xmalloc.
6796         * io/tst-fcntl.c (do_prepare): Likewise.
6797         * libio/tst-fopenloc.c (do_bz17916): Likewise.
6798         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
6799         * login/tst-utmp.c (do_prepare): Likewise.
6800         * posix/tst-exec.c (do_prepare): Likewise.
6801         * posix/tst-pathconf.c (prepare): Likewise.
6802         * posix/tst-spawn.c (do_prepare): Likewise.
6803         * posix/tst-truncate.c (do_prepare): Likewise.
6804         * rt/tst-aio.c (do_prepare): Likewise.
6805         * rt/tst-aio64.c (do_prepare): Likewise.
6807 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6809         [BZ #20237]
6810         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
6811         (get*ent): Set entidx to NULL during initialization.  If entidx is
6812         NULL, start iteration from the beginning.
6814 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6816         * malloc/malloc.c (musable): Return correct size for dumped fake
6817         mmapped chunk.
6819 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6821         [BZ #20222]
6822         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
6823         (_IO_cookie_write): Likewise.
6824         (_IO_cookie_seek): Likewise.
6825         (_IO_cookie_close): Likewise.
6826         (_IO_old_cookie_seek): Likewise.
6827         (set_callbacks): New function.
6828         (_IO_cookie_init): Call set_callbacks to copy callbacks.
6830 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
6832         * locale/programs/localedef.c (oldstyle_tables): Remove.
6833         * locale/programs/localedef.h (oldstyle_tables): Likewise.
6835 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
6837         [BZ #20240]
6838         * math/Makefile (CFLAGS-s_modf.c): New variable.
6839         (CFLAGS-s_modff.c): Likewise.
6840         (CFLAGS-s_modfl.c): Likewise.
6841         * math/libm-test.inc (modf_test_data): Add sNaN tests.
6843 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
6845         [BZ #20215]
6846         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
6847         [!__GNUC_PREREQ (3,2)]: Likewise.
6849 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6851         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
6852         (msghdr.msg_controllen): Likewise.
6853         (cmsghdr.cmsg_len): Likewise.
6854         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
6855         ptw-oldsendmsg.
6856         (CFLAGS-oldrecvmsg.c): Remove rule.
6857         (CFLAGS-oldsendmsg.c): Likewise.
6858         (CFLAGS-recvmsg.c): Add rule.
6859         (CFLAGS-sendmsg.c): Likewise.
6860         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6861         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
6862         (CFLAGS-recvmsg.c): Remove rule.
6863         (CFLAGS-sendmsg.c): Likewise.
6864         (CFLAGS-oldrecvmsg.c): Likewise.
6865         (CFLAGS-oldsendmsg.c): Likewise.
6866         (CFLAGS-recvmmsg.c): Likewise.
6867         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
6868         to kernel defined interfaces.
6869         (msghdr.msg_controllen): Likewise.
6870         (cmsghdr.cmsg_len): Likewise.
6871         (msghdr.__glibc_reserved1): Remove member.
6872         (msghdr.__glibc_reserved2): Likewise.
6873         (cmsghdr.__glibc_reserved1): Likewise.
6874         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
6875         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
6876         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6877         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6878         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
6879         version.
6880         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6881         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
6882         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6883         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
6884         Remove recvmsg and sendmsg.
6885         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
6886         Likewise.
6887         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6888         Likewise.
6889         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6890         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6891         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6892         Likewise.
6893         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6894         Likewise.
6895         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
6896         [libc] (GLIBC_2.24): Likewise.
6897         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6898         Likewise.
6899         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6900         Likewise.
6901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6902         [libc] (GLIBC_2.24): Likewise.
6903         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6904         Likewise.
6905         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6906         Likewise.
6907         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6908         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6909         Likewise.
6910         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6913         Likewise.
6914         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
6915         Likewise.
6916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
6917         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
6918         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
6919         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
6920         version for {recv,send,recm,sendm}msg.
6921         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6922         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6923         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6924         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6925         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6926         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6928         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6930         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6934         Likewise.
6935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6936         Likewise.
6937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6940         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6941         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6942         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6944         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6947         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6948         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6949         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6951 2016-06-10  Florian Weimer  <fweimer@redhat.com>
6953         [BZ #19564]
6954         Remove __malloc_initialize_hook from the API.
6955         * malloc/malloc.h (__malloc_initialize_hook): Remove.
6956         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
6957         #pragma GCC poison.
6958         * malloc/malloc-hooks.h: New file.
6959         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
6960         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
6961         (old__malloc_initialize_hook): Rename from
6962         __malloc_initialize_hook to evade poisoning.  Turn into compat
6963         symbol.
6964         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
6965         __malloc_initialize_hook.
6966         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
6967         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
6968         * manual/memory.texi (Hooks for Malloc): Remove
6969         __malloc_initialize_hook.  Adjust hook example.
6971 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
6973         [BZ #20235]
6974         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
6975         itself.
6976         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6977         * math/libm-test.inc (log2_test_data): Add sNaN tests.
6979         [BZ #20234]
6980         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6981         infinity or NaN input to itself.
6983         [BZ #20233]
6984         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6985         to itself.
6987         [BZ #20232]
6988         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6989         itself.
6991 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6993         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6994         __libc_start_main via GOT.
6996 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6998         * sysdeps/x86_64/memcopy.h: New file.
6999         * sysdeps/x86_64/wordcopy.c: Likewise.
7001 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7003         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7004         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7005         <cstdlib>.
7006         (optimization_barrier): New.
7007         (do_test): Use it.  Call quick_exit in the global namespace.
7008         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7009         instead of <cstdlib>, <thread>.
7010         (optimization_barrier): New.
7011         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7012         Call quick_exit in the global namespace.
7013         (do_test): Call optimization_barrier.  Use pthread_create,
7014         pthread_join instead of std::thread.
7016 2016-06-09  Andreas Schwab  <schwab@suse.de>
7018         [BZ #19755]
7019         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7020         new entries in auto-propagate mode.
7021         * nscd/grpcache.c (cache_addgr): Likewise.
7023 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7025         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7026         New functions.
7027         (add_temp_file): Use them.
7029 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7031         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7033 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7035         [BZ #20229]
7036         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7037         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7038         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7040         [BZ #20228]
7041         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7042         itself.
7043         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7044         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7046         [BZ #20227]
7047         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7048         itself.
7049         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7050         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7051         * math/libm-test.inc (log_test_data): Add sNaN tests.
7053         [BZ #20226]
7054         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7055         itself.
7056         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7057         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7058         (exp10_test_data): Likewise.
7059         (expm1_test_data): Likewise.
7061         [BZ #20225]
7062         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7063         itself.
7064         * math/s_ldexpf.c (__ldexpf): Likewise.
7065         * math/s_ldexpl.c (__ldexpl): Likewise.
7066         * math/w_scalbln.c (__w_scalbln): Likewise.
7067         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7068         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7069         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7070         (scalbln_test_data): Likewise.
7072         [BZ #20224]
7073         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7074         argument to itself.
7075         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7077 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7079         [BZ #19776]
7080         * sysdeps/x86_64/memcpy.S: Make it dummy.
7081         * sysdeps/x86_64/mempcpy.S: Likewise.
7082         * sysdeps/x86_64/memmove.S: New file.
7083         * sysdeps/x86_64/memmove_chk.S: Likewise.
7084         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7085         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7086         * sysdeps/x86_64/memmove.c: Removed.
7087         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7088         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7089         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7090         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7091         Likewise.
7092         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7093         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7095         memcpy-sse2-unaligned, memmove-avx-unaligned,
7096         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7098         (__libc_ifunc_impl_list): Replace
7099         __memmove_chk_avx512_unaligned_2 with
7100         __memmove_chk_avx512_unaligned.  Remove
7101         __memmove_chk_avx_unaligned_2.  Replace
7102         __memmove_chk_sse2_unaligned_2 with
7103         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7104         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7105         with __memmove_avx512_unaligned.  Replace
7106         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7107         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7108         with __memcpy_chk_avx512_unaligned.  Remove
7109         __memcpy_chk_avx_unaligned_2.  Replace
7110         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7111         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7112         Replace __memcpy_avx512_unaligned_2 with
7113         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7114         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7115         with __mempcpy_chk_avx512_unaligned.  Remove
7116         __mempcpy_chk_avx_unaligned_2.  Replace
7117         __mempcpy_chk_sse2_unaligned_2 with
7118         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7119         Replace __mempcpy_avx512_unaligned_2 with
7120         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7121         Replace __mempcpy_sse2_unaligned_2 with
7122         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7123         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7124         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7125         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7126         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7127         (ENTRY): Removed.
7128         (END): Likewise.
7129         (ENTRY_CHK): Likewise.
7130         (libc_hidden_builtin_def): Likewise.
7131         Don't include ../memcpy.S.
7132         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7133         __memcpy_chk_avx512_unaligned_erms and
7134         __memcpy_chk_avx512_unaligned.  Use
7135         __memcpy_chk_avx_unaligned_erms and
7136         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7137         Default to __memcpy_chk_sse2_unaligned.
7138         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7139         Change function suffix from unaligned_2 to unaligned.
7140         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7141         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7142         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7143         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7144         (ENTRY): Removed.
7145         (END): Likewise.
7146         (ENTRY_CHK): Likewise.
7147         (libc_hidden_builtin_def): Likewise.
7148         Don't include ../mempcpy.S.
7149         (mempcpy): New.  Add a weak alias.
7150         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7151         __mempcpy_chk_avx512_unaligned_erms and
7152         __mempcpy_chk_avx512_unaligned.  Use
7153         __mempcpy_chk_avx_unaligned_erms and
7154         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7155         Default to __mempcpy_chk_sse2_unaligned.
7157 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7159         [BZ #19881]
7160         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7161         into ...
7162         * sysdeps/x86_64/memset.S: This.
7163         (__bzero): Removed.
7164         (__memset_tail): Likewise.
7165         (__memset_chk): Likewise.
7166         (memset): Likewise.
7167         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7168         defined.
7169         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7170         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7171         (__memset_zero_constant_len_parameter): Check SHARED instead of
7172         PIC.
7173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7174         memset-avx2 and memset-sse2-unaligned-erms.
7175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7176         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7177         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7178         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7179         (__bzero): Enabled.
7180         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7181         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7182         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7183         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7184         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7185         (memset): Removed.
7186         (__memset_chk): Likewise.
7187         (MEMSET_SYMBOL): New.
7188         (libc_hidden_builtin_def): Replace __memset_sse2 with
7189         __memset_sse2_unaligned.
7190         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7191         __memset_chk_sse2 and __memset_chk_avx2 with
7192         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7193         Use __memset_chk_sse2_unaligned_erms or
7194         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7195         __memset_chk_avx512_unaligned_erms and
7196         __memset_chk_avx512_unaligned.
7198 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7200         * math/gen-auto-libm-test.c (fp_format_desc): remove
7201         suffix member.
7202         (output_generic_value): Remove usage of suffix member,
7203         and the resulting unuse of the fp_format argument.
7204         (output_for_one_input_case): Remove unused fp_format
7205         parameter.
7207         * math/auto-libm-test-out: Regenerate.
7209         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7210         usage with TEST_COND_ibm128.
7211         (TEST_COND_flt_32): Remove.
7212         (TEST_COND_dbl_64): Remove.
7213         (TEST_COND_ldbl_96_intel): Remove.
7214         (TEST_COND_ldbl_96_m68k): Remove.
7215         (TEST_COND_ldbl_128): Remove.
7217 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7219         * auto-libm-test-in:
7220         Replace flt-32 usage with binary32.
7221         Replace dbl-64 usage with binary64.
7222         Replace ldbl-intel-96 usage with intel96.
7223         Replace ldbl-m68k-96 usage with m68k96.
7224         Replace ldbl-128ibm usage with ibm128.
7225         Replace ldbl-128 usage with binary128.
7227         * auto-libm-test-out: Regenerate.
7229 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7231         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7232         (parse_ulps): Dynamically generate type name matching
7233         string from all_floats.
7234         (get_ulps): Generate the ulps as an array instead.
7235         (output_ulps): Dynamically compose the type based
7236         on the number of supported formats, and print
7237         the indices as type specific helper macros.
7239         * math/libm-test.inc: Remove comment about CHOOSE.
7240         (ulp_data): Generate the type in libm-test-ulps.h.
7241         (ULP_IDX): New macro.
7242         (find_ulps): Update usage of max_ulp.
7244         * math/test-double-vlen2.h (CHOOSE): Remove.
7245         * math/test-double-vlen4.h (CHOOSE): Likewise.
7246         * math/test-double-vlen8.h (CHOOSE): Likewise.
7247         * math/test-float.c (CHOOSE): Likewise.
7248         * math/test-float-finite.c (CHOOSE): Likewise.
7249         * math/test-double.c (CHOOSE): Likewise.
7250         * math/test-double-finite.c (CHOOSE): Likewise.
7251         * math/test-idouble.c (CHOOSE): Likewise.
7252         * math/test-ifloat.c (CHOOSE): Likewise.
7253         * math/test-ildoubl.c (CHOOSE): Likewise.
7254         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7255         * math/test-ldouble.c (CHOOSE): Likewise.
7257         * math/test-float.h (TEST_FLOAT): Remove.
7258         * math/test-double.h (TEST_DOUBLE): Likewise.
7259         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7261 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7263         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7264         (parse_args): Strip C suffix from floating point literals
7265         typed with 'f' and wrap them with LIT().
7267         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7268         (test_ff_f_data_nexttoward): Rename to
7269         (test_fj_f_data): New struct.
7270         (nexttoward_test_data): Relabel tests as
7271         TEST_fj_f instead of TEST_ff_f.
7273 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7275         Emacs bug 23726.
7276         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7277         (__libc_realloc): Correct size computation for dumped fake mmapped
7278         chunks.
7280 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7282         [BZ #20219]
7283         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7284         to itself.
7285         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7287         [BZ #20218]
7288         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7289         to itself.
7290         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7292 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7294         [BZ #20195]
7295         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7296         check to ...
7297         (init_cpu_features): Here.
7299 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7301         [BZ #20214]
7302         * sysdeps/unix/sysv/linux/bits/in.h
7303         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7304          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7305         Define to 1.
7306         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7307          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7308         Define to 0.
7309         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7310         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7312 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7314         [BZ #20198]
7315         * stdlib/Makefile (tests): Add tst-quick_exit, and
7316         tst-thread-quick_exit.
7317         [ifeq ($(have-cxx-thread_local),yes)]
7318         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7319         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7320         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7321         (LDLIBS-tst-thread-quick_exit): Likewise.
7322         [ifneq ($(have-cxx-thread_local),yes)]
7323         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7324         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7325         If run_dtors is true call __call_tls_dtors.
7326         (exit): Call __run_exit_handlers with run_dtors set to true.
7327         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7328         definition.
7329         * stdlib/quick_exit.c (quick_exit): Remove function.
7330         (__new_quick_exit): New function.
7331         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7332         function.
7333         * stdlib/tst-quick_exit.cc: New file.
7334         * stdlib/tst-thread-quick_exit.cc: New file.
7335         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7336         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7337         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7338         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7339         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7340         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7341         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7342         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7343         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7344         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7345         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7346         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7347         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7348         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7349         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7350         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7355         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7356         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7357         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7358         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7359         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7362         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7363         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7364         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7366 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7368         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7369         a typo in comments.
7371 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7373         [BZ #20213]
7374         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7375         argument to itself.
7376         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7378 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7380         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7381         required flags.
7382         (CFLAGS-pwritev64.c): Likewise.
7383         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7384         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7385         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7386         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7387         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7388         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7389         syscall from auto-generation.
7390         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7391         [WORDSIZE == 64] (pwritev64): Remove macro.
7392         [!PWRITEV] (PWRITEV): Likewise.
7393         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7394         [!PWRITEV] (PWRITE): Likewise.
7395         [!PWRITEV] (OFF_T): Likewise.
7396         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7397         (LO_HI_LONG): Remove macro.
7398         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7399         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7400         (PWRITEV): Remove macro.
7401         (PWRITEV_REPLACEMENTE): Likewise.
7402         (PWRITE): Likewise.
7403         (OFF_T): Likewise.
7404         (pwritev64): New function.
7405         * nptl/tst-cancel4.c (tf_writev): Add test.
7407         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7408         required flags.
7409         (CFLAGS-preadv64.c): Likewise.
7410         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7411         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7412         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7413         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7414         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7415         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7416         syscall from auto-generation.
7417         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7418         [WORDSIZE == 64] (preadv64): Remove macro.
7419         [!PREADV] (PREADV): Likewise.
7420         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7421         [!PREADV] (PREAD): Likewise.
7422         [!PREADV] (OFF_T): Likewise.
7423         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7424         (LO_HI_LONG): Remove macro.
7425         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7426         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7427         (PREADV): Remove macro.
7428         (PREADV_REPLACEMENTE): Likewise.
7429         (PREAD): Likewise.
7430         (OFF_T): Likewise.
7431         (preadv64): New function.
7432         * nptl/tst-cancel4.c (tf_preadv): Add test.
7434 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7436         [BZ #20212]
7437         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7438         argument to itself.
7439         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7441 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7443         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7444         New symbol defined as libc_hidden_def.
7445         (strcasestr): Became a weak alias to __strcasestr.
7446         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7447         according to multi-arch support.  Move __stpncpy hidden
7448         definition from here to...
7449         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7450         symbol stpncpy.
7451         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7452         libc_hidden_builtin_def.
7453         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7454         memset symbol to use when multi-arch support is available.
7456 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7458         * dlfcn/tst-rec-dlopen.c: Include string.h.
7460 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7462         * manual/install.texi: Remove mention of --without-tls
7463         * INSTALL: Regenerate.
7465 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7467         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7468         Remove.
7469         (call_function, interposed_malloc_called): New variables.
7470         (malloc): New function.
7471         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7472         and clear call_function as needed.
7474 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7476         * include/wchar.h (__wmemset): Use __typeof.
7478 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7480         * include/wchar.h (__wmemset): Declare function without typeof.
7482 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7484         [BZ #20205]
7485         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7486         exponent when incrementing negative subnormal with low mantissa
7487         word zero.
7488         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7489         Add another test.
7491 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7493         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7494         __wmemset instead of wmemset.
7496 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7498         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7499         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7500         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7501         __USE_KERNEL_IPV6_DEFS to 0.
7502         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7503         Update comment.
7505 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7507         [BZ #19861]
7508         Do not use IFUNC resolver with potentially unrelocated symbol.
7509         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7510         (DEFINE_FORK): Remove macro and inline definition.
7511         (fork_alias): Renamed from fork_ifunc.
7512         (__fork_alias): Renamed from __fork_ifunc.
7514 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7516         [BZ 19653]
7517         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7518         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7520 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7522         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7523         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7524         i386-linux-gnu).
7525         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7526         Set to no.
7527         * sysdeps/mach/hurd/configure: Refresh.
7529 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7531         [BZ #20178]
7532         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7533         on failure instead of exit.
7535 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7537         [BZ #3629]
7538         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7539         of POSIX.1-2008.
7541 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7543         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7544           Use PLT entry for calling _hurd_self_sigstate.
7546 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7548         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7549         available logical processors with SMT level type sharing L2
7550         cache for Intel processors.
7552 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7554         [BZ #20160]
7555         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7556         argument to itself before returning the result.
7557         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7558         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7559         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7561         Likewise.
7562         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7563         Likewise.
7564         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7565         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7566         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7567         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7568         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7569         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7571         [BZ #20160]
7572         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7573         argument to itself before returning the result.
7574         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7575         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7576         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7577         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7578         Likewise.
7579         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7580         Likewise.
7581         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7582         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7583         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7584         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7585         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7586         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7588 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7590         * libm-test.inc: Replace usage of M_El with
7591         (lit_e): New macro.
7593 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7595         * libm-test.inc: Replace usage of M_PI_4l with
7596         (lit_pi_4_d): New macro.
7598 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7600         * libm-test.inc: Replace usage of M_PIl with
7601         (lit_pi): New macro.
7603 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7605         * libm-test.inc: Replace usage of M_PI2l with
7606         (lit_pi_2_d): New macro.
7608         * math/test-double.h (LITM): New macro.
7609         * math/test-float.h (LITM): Likewise.
7610         * math/test-ldouble.h (LITM): Likewise.
7612 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7614         * libm-test.inc (M_PI_34l): Rename to
7615         (lit_pi_3_m_4_d): New Macro.
7616         (M_PI_34_LOG10El): Rename to
7617         (lit_pi_3_m_4_ln10_m_d): New Macro.
7618         (M_PI2_LOG10El): Rename to
7619         (lit_pi_2_ln10_m_d):  New Macro.
7620         (M_PI4_LOG10El): Rename to
7621         (lit_pi_4_ln10_m_d):  New Macro.
7622         (M_PI_LOG10El): Rename to
7623         (lit_pi_ln10_d):  New Macro.
7625 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7627         [BZ #20157]
7628         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7629         determine whether to negate low half if [_ARCH_PPCGR], and integer
7630         comparison otherwise.
7631         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7632         determine whether to negate low half.
7634         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7635         (NO_TEST_INLINE_DOUBLE): Likewise.
7636         (TEST_COND_x86_64): Likewise.
7637         (TEST_COND_x86): Likewise.
7638         (M_PI_6l): Likewise.
7640 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7642         * math/libm-test.inc:
7643         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7644         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7645         (TEST_LDOUBLE): Update usage to evaluate as true if
7646         the guarded tests match the property being tested.
7647         (LDBL_MAX_EXP): Change to MAX_EXP.
7648         (LDBL_MIN_EXP): Change to MIN_EXP.
7649         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7650         nexttoward tests.
7652 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7654         * math/libm-test.inc:
7655         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7656         (TYPE_MIN): Likewise.
7657         (TYPE_TRUE_MIN): Likewise.
7658         (TYPE_MAX): Likewise.
7659         (MIN_EXP): Likewise.
7660         (MAX_EXP): Likewise.
7661         (MANT_DIG): Likewise.
7663         (FSTR_MAX): New macro.
7664         (__CONCATX): Likewise.
7665         (QTYPE_STR): Likewise.
7666         (TEST_COND_binary32): Likewise.
7667         (TEST_COND_binary64): Likewise.
7668         (TEST_COND_binary128): Likewise.
7669         (TEST_COND_ibm128): Likewise.
7670         (TEST_COND_intel96): Likewise.
7671         (TEST_COND_m68k96): Likewise.
7673         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7674         (TEST_COND_dbl_64): Likewise.
7675         (TEST_COND_ldbl_96_intel): Likewise.
7676         (TEST_COND_ldbl_96_m68k): Likewise.
7677         (TEST_COND_ldbl_128): Likewise.
7678         (TEST_COND_ldbl_128ibm): Likewise.
7680         (plus_zero): Redefine using LIT macro.
7681         (minus_zero): Likewise.
7682         (plus_infty): Redefine as (INF).
7683         (minux_infty): Redefine as (-INF).
7684         (max_value): Redefine as TYPE_MAX.
7685         (min_value): Redefine as TYPE_MIN.
7686         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7688         (print_float): Refactor to use snprintf to convert FLOAT values
7689         to string. This brings it closer to dropin replacement of strtof
7690         for the TS 18661 defined types.
7691         (update_stats): Likewise.
7692         (print_complex_function_ulps): Likewise.
7693         (print_max_error): Likewise.
7694         (print_complex_max_error): Likewise.
7695         (check_float_internal): Likewise.
7697         * math/test-float.h (PREFIX): New macro.
7698         (LIT): Likewise.
7699         (TYPE_STR): Likewise.
7700         (FTOSTR): Likewise.
7702         * math/test-double.h (PREFIX): New macro.
7703         (LIT): Likewise.
7704         (TYPE_STR): Likewise.
7705         (FTOSTR): Likewise.
7707         * math/test-ldouble.h (PREFIX): New macro.
7708         (LIT): Likewise.
7709         (TYPE_STR): Likewise.
7710         (FTOSTR): Likewise.
7712 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7714         [BZ #20156]
7715         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7716         to itself when zero or not finite.
7717         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7718         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7719         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7720         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7722 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7724         [BZ #20153]
7725         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7726         x * x + x for infinities and NaNs.
7728         [BZ #20151]
7729         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7730         argument to itself before returning result.
7731         (__ieee754_y0l): Likewise.
7732         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7733         (__ieee754_y1l).
7735         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7736         (atan_test_data): Likewise.
7737         (ceil_test_data): Likewise.
7738         (cos_test_data): Likewise.
7739         (cosh_test_data): Likewise.
7740         (erf_test_data): Likewise.
7741         (exp2_test_data): Likewise.
7742         (fabs_test_data): Likewise.
7743         (floor_test_data): Likewise.
7744         (ilogb_test_data): Likewise.
7745         (j0_test_data): Likewise.
7746         (j1_test_data): Likewise.
7747         (jn_test_data): Likewise.
7748         (lgamma_test_data): Likewise.
7749         (lrint_test_data): Likewise.
7750         (llrint_test_data): Likewise.
7751         (logb_test_data): Likewise.
7752         (lround_test_data): Likewise.
7753         (llround_test_data): Likewise.
7754         (nearbyint_test_data): Likewise.
7755         (rint_test_data): Likewise.
7756         (round_test_data): Likewise.
7757         (sin_test_data): Likewise.
7758         (sincos_test_data): Likewise.
7759         (sinh_test_data): Likewise.
7760         (sqrt_test_data): Likewise.
7761         (tan_test_data): Likewise.
7762         (tanh_test_data): Likewise.
7763         (tgamma_test_data): Likewise.
7764         (trunc_test_data): Likewise.
7765         (y0_test_data): Likewise.
7766         (y1_test_data): Likewise.
7767         (yn_test_data): Likewise.
7769         * math/libm-test.inc: Update comment about NaN testing.
7770         (TEST_SNAN): New macro.
7771         (snan_value): Likewise.
7772         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7773         (fpclassify_test_data): Add sNaN tests.
7774         (isfinite_test_data): Likewise.
7775         (isinf_test_data): Likewise.
7776         (isnan_test_data): Likewise.
7777         (isnormal_test_data): Likewise.
7778         (issignaling_test_data): Likewise.
7779         (signbit_test_data): Likewise.
7780         * math/gen-libm-test.pl (%beautify): Add snan_value.
7781         (show_exceptions): Add argument $test_snan.
7782         (parse_args): Handle snan_value as non-finite.  Update call to
7783         show_exceptions.
7784         * math/Makefile (libm-test-no-inline-cflags): Add
7785         -fsignaling-nans.
7787 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7789         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7790         (CFLAGS-oldsendmsg.c): Add rule.
7791         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7792         Correct recvmsg symbol name.
7793         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7794         Likewise.
7796 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7798         * sysdeps/unix/sysv/linux/Makefile
7799         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
7800         oldsendmmsg.
7801         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
7802         sendmmsg.
7803         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7804         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7805         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7806         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7808         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7809         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7811         Likewise.
7812         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7813         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
7814         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7815         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
7816         iovlen and controllen fields to adjust to POSIX specification.
7817         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7819         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
7820         and change to correct expected type.
7821         (msghdr.msg_controllen): Likewise.
7822         (cmsghdr.cmsg_len): Likewise.
7823         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
7824         expected POSIX assumption about the size.
7825         (msghdr.msg_controllen): Likewise.
7826         (msghdr.__glibc_reserved1): Likewise.
7827         (msghdr.__glibc_reserved2): Likewise.
7828         (cmsghdr.cmsg_len): Likewise.
7829         (cmsghdr.__glibc_reserved1): Likewise.
7830         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
7831         Add ptw-oldrecvmsg and ptw-oldsendmsg.
7832         (CFLAGS-sendmsg.c): Remove rule.
7833         (CFLAGS-recvmsg.c): Likewise.
7834         (CFLAGS-oldsendmsg.c): Add rule.
7835         (CFLAGS-oldrecvmsg.c): Likewise.
7836         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
7837         recvmsg and sendmsg.
7838         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
7839         Likewise.
7840         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
7841         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
7842         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7843         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
7844         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7845         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7846         Likewise.
7847         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7848         Likewise.
7849         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
7850         Likewise.
7851         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
7852         Likewise.
7853         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7854         Likewise.
7855         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7856         Likewise.
7857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
7858         (GLIBC_2.24): Likewise.
7859         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7860         Likewise.
7861         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7862         Likewise.
7863         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7864         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7865         Likewise.
7866         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7867         Likewise.
7868         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7869         Likewise.
7870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
7871         (GLIBC_2.24): Likewise.
7872         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
7873         Likewise.
7874         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
7875         Likewise.
7876         * sysdeps/unix/sysv/linux/Makefile
7877         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
7878         (CFLAGS-sendmsg.c): Add rule.
7879         (CFLAGS-recvmsg.c): Likewise.
7880         (CFLAGS-oldsendmsg.c): Likewise.
7881         (CFLAGS-oldrecvmsg.c): Likewise.
7882         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
7883         initialization.
7884         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7885         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7886         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
7887         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7888         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
7889         iovlen and controllen fields to adjust to POSIX specification.
7890         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
7891         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
7892         added recvmsg and sendmsg.
7893         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7894         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7895         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7896         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7897         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7898         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7899         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7900         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7901         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7902         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7903         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7904         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7906         Likewise.
7907         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7909         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7910         Likewise.
7911         Likewise.
7912         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7913         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7914         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7915         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7916         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7917         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7919         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7921         Likewise.
7922         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7923         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7925         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
7926         from auto-generation.
7927         (sendmsg): Likewise.
7928         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
7929         (sendmsg): Likewise.
7930         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
7931         (sendmsg): Likewise.
7932         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
7933         (sendmsg): Likewise.
7934         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
7935         (sendmsg): Likewise.
7936         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
7937         (sendmsg): Likewise.
7938         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
7939         Likewise.
7940         (sendmsg): Likewise.
7941         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
7942         (sendmsg): Likewise.
7943         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7944         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7945         Remove.
7946         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7947         Likewise.
7948         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7949         Undefine.
7950         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7951         Likewise.
7952         * sysdeps/unix/sysv/linux/kernel-features.h
7953         (__ASSUME_SENDMSG_SYSCALL): Define.
7954         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7955         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7956         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7957         Remove.
7958         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7959         Likewise.
7960         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7961         Undefine.
7962         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7963         Likewise.
7964         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7966         Remove.
7967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7968         Likewise.
7969         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7970         Undefine.
7971         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7972         Likewise.
7973         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7974         (__ASSUME_SENDMSG_SYSCALL): Undefine.
7975         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7976         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7977         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7978         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7979         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7980         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7981         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7983 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7985         * stdlib/gen-tst-strtod-round.c: Add backslash to
7986         compile command in comment.
7987         (printfp): Remove the literal suffix, and define an infinite
7988         value as INF to avoid expansion clash with INFINITY.
7989         (round_str): Remove the literal suffix.
7990         (round_for_all): Likewise, remove the now duplicate ldbl-64
7991         entry, and remove some magic constants.
7993         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7994         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7995         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7996         (_CONCAT): New macro.
7997         (CONCAT): Likewise.
7998         (CHOOSE_ld): Likewise.
7999         (CHOOSE_f): Likewise.
8000         (CHOOSE_d): Likewise.
8001         (FTYPE_MEMBER): Likewise.
8002         (BOOL_MEMBER): Likewise.
8003         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8004         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8005         (_XNTRY): Likewise.
8006         (XNTRY): Likewise.
8007         (_ENTRY): Likewise.
8008         (ENTRY): Likewise.
8009         (test_exactness): Generate members via macro.
8010         (test_results): Likewise.
8011         (test): Update members.
8012         (TEST): Redefine using new macros.
8013         (INF): New macro.
8014         (fetestmodes): New structure.
8015         (do_test): Refactor to be type generic.
8016         (test_in_one_mode): Refactor duplicate code into
8017         (GEN_ONE_TEST): New macro.
8019         * stdlib/tst-strtod-round-data.h: Regenerate.
8021         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8022         Extend to pass additional arbitrary parameters to
8023         generators.
8025 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8027         [BZ #15479]
8028         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8029         floating-point state after first floating-point operation on
8030         input.  Restore full floating-point state instead of just rounding
8031         mode.
8032         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8033         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8034         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8035         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8036         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8038         [BZ #15479]
8039         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8040         floating-point state after first floating-point operation on
8041         input.  Restore full floating-point state instead of just rounding
8042         mode.
8043         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8044         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8045         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8046         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8047         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8049 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8051         [BZ #19727]
8052         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8053         valid high surrogate.
8054         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8055         of an utf16 surrogate.
8056         * iconv/gconv_simple.c (BODY): Likewise.
8057         * iconvdata/bug-iconv12.c: New file.
8058         * iconvdata/Makefile (tests): Add bug-iconv12.
8060 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8062         [BZ #19726]
8063         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8064         outptrp in case of an illegal input.
8065         * iconv/tst-iconv6.c: New file.
8066         * iconv/Makefile (tests): Add tst-iconv6.
8068 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8070         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8071         an error in case of a value in range of an utf16 low surrogate.
8073 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8075         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8076         an error in case of a value in range of an utf16 low surrogate.
8078 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8080         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8081         Move to ...
8082         * sysdeps/s390/Makefile: ... here.
8083         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8084         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8085         (BRANCH_ON_COUNT): New define.
8086         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8087         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8088         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8089         run on s390-32, too.
8090         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8091         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8092         run on s390-32, too.
8093         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8094         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8095         run on s390-32, too.
8097 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8099         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8100         etf3eh or new vector loop-variant.
8102 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8104         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8105         etf3eh or new vector loop-variant.
8107 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8109         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8110         or new vector loop-variant.
8112 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8114         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8115         Rename to TR_LOOP and usage of tr instead of troo instruction.
8117 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8119         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8120         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8122 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8124         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8125         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8126         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8127         New override define.
8128         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8130 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8132         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8133         * sysdeps/s390/configure.ac: Add test for S390 vector register
8134         support in gcc.
8135         * sysdeps/s390/configure: Regenerated.
8137 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8139         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8140         Install file from $(objpfx)gconv-modules.
8141         ($(objpfx)gconv-modules): Concatenate architecture specific file
8142         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8143         * sysdeps/s390/gconv-modules: New file.
8144         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8145         Deleted.
8146         ($(objpfx)gconv-modules-s390): Deleted.
8147         (sysdeps-gconv-modules): New variable.
8149 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8151         [BZ #15479]
8152         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8153         of immediate operand to rounding instruction.
8154         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8155         Likewise.
8156         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8157         Likewise.
8158         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8159         Likewise.
8161 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8163         * math/libm-test.inc (MIN_EXP): Directly define as
8164         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8166 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8168         * math/libm-test.inc (MANT_DIG): Directly define as
8169         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8171 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8173         * stdlib/gen-tst-strtod-round.c (main):
8174           Change usage to more closely match the generated
8175           output.  Add usage and compilation instructions.
8176           (string_to_fp): Add and use FILE* parameter as
8177           output target.
8178           (print_fp): Likewise.
8179           (round_str): Likewise.
8180           (round_for_all): Likewise.
8181         * stdlib/tst-strtod-round.c (tests): Move into
8182         * stdlib/tst-strtod-round-data.h: New file.
8184 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8186         [BZ #15479]
8187         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8188         (__round): Do not force "inexact" exception.
8189         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8190         variable.
8191         (__round): Do not force "inexact" exception.
8192         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8193         (__roundf): Do not force "inexact" exception.
8194         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8195         (__roundl): Do not force "inexact" exception.
8196         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8197         (__roundl): Do not force "inexact" exception.
8198         * math/libm-test.inc (round_test_data): Do not allow spurious
8199         "inexact" exceptions.
8201         [BZ #15479]
8202         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8203         exception in comment.
8204         (huge): Remove variable.
8205         (__floor): Do not force "inexact" exception.
8206         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8207         "inexact" exception in comment.
8208         (huge): Remove variable.
8209         (__floor): Do not force "inexact" exception.
8210         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8211         exception in comment.
8212         (huge): Remove variable.
8213         (__floorf): Do not force "inexact" exception.
8214         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8215         exception in comment.
8216         (huge): Remove variable.
8217         (__floorl): Do not force "inexact" exception.
8219         [BZ #15479]
8220         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8221         exception in comment.
8222         (huge): Remove variable.
8223         (__ceil): Do not force "inexact" exception.
8224         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8225         "inexact" exception in comment.
8226         (huge): Remove variable.
8227         (__ceil): Do not force "inexact" exception.
8228         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8229         (__ceilf): Do not force "inexact" exception.
8230         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8231         exception in comment.
8232         (huge): Remove variable.
8233         (__ceill): Do not force "inexact" exception.
8235 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8237         * config.h.in (BIND_NOW): New.
8238         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8239         * configure: Regenerated.
8240         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8241         indirect branch via the GOT slot.
8243 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8245         [BZ #19765]
8246         * sysdeps/s390/mempcpy.S: New File.
8247         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8248         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8249         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8250         Add mempcpy variants.
8251         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8252         (memcpy): Adjust to be usable from mempcpy entry point.
8253         (__memcpy_mvcle): Likewise.
8254         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8255         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8256         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8257         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8258         (__memcpy_z10): Likewise.
8259         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8261 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8263         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8264         Remove __GI_ symbol.
8265         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8266         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8267         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8268         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8269         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8270         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8272 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8274         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8275         Use cghi instead of chi to compare 64bit value.
8277 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8279         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8280         Jump to 1MB check before executing mvc-loop.
8282 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8284         [BZ #6527]
8285         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8286         unconditionally.
8287         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8289 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8291         * stdlib/tst-strtod6.c (do_test): Use new type generic
8292         invocation of the test function.
8293         (test): Refactor into ...
8294         (TEST_STRTOD): New macro base function.
8296 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8298         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8299         (TEST_STRTOD): New macro.
8300         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8302 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8304         * stdlib/tst-strtod6.c (do_test): Use new type generic
8305         invocation of the test function.
8306         (test): Refactor into ...
8307         (TEST_STRTOD): New macro base function.
8309 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8311         CVE-2016-4429
8312         [BZ #20112]
8313         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8314         payload.
8316 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8318         [BZ #20111]
8319         * bits/sockaddr.h (_SS_SIZE): Define.
8320         * bits/socket.h (_SS_SIZE): Remove.
8321         (_SS_PADSIZE): Adjust to account for all padding.
8322         (struct sockaddr_storage): Update comment.  Avoid implicit
8323         padding.
8324         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8325         (_SS_PADSIZE): Adjust to account for all padding.
8326         (struct sockaddr_storage): Update comment.  Avoid implicit
8327         padding.
8328         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8329         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8330         (_SS_PADSIZE): Adjust to account for all padding.
8331         (struct sockaddr_storage): Update comment.  Avoid implicit
8332         padding.
8333         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8334         __SS_SIZE is 126 in this version.
8335         * inet/tst-sockaddr.c: New file.
8336         * inet/Makefile (tests): Add tst-sockaddr.c
8337         (tst-sockaddr.c): Compile with non-strict aliasing.
8339 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8341         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8342         [XPG3 || XPG4].
8343         (NL_ARGMAX): Also expect for [XPG3].
8344         (NL_LANGMAX): Likewise.
8345         (NL_MSGMAX): Likewise.
8346         (NL_NMAX): Likewise.
8347         (NL_SETMAX): Likewise.
8348         (NL_TEXTMAX): Likewise.
8349         (NZERO): Likewise.
8350         (TMP_MAX): Likewise.
8351         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8352         variable.
8354         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8355         (PF_MAX): Update value.
8356         (AF_KCM): New macro.
8357         (SOL_NETBEUI): Likewise.
8358         (SOL_LLC): Likewise.
8359         (SOL_DCCP): Likewise.
8360         (SOL_NETLINK): Likewise.
8361         (SOL_TIPC): Likewise.
8362         (SOL_RXRPC): Likewise.
8363         (SOL_PPPOL2TP): Likewise.
8364         (SOL_BLUETOOTH): Likewise.
8365         (SOL_PNPIPE): Likewise.
8366         (SOL_RDS): Likewise.
8367         (SOL_IUCV): Likewise.
8368         (SOL_CAIF): Likewise.
8369         (SOL_ALG): Likewise.
8370         (SOL_NFC): Likewise.
8371         (SOL_KCM): Likewise.
8372         (MSG_BATCH): New enum value and macro.
8374 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8376         [BZ #18185]
8377         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8378         sharing L2 cache to 2 for Knights Landing.
8380 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8382         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8383         (FTW_DP): Do not expect for [XPG3 || XPG4].
8384         (FTW_SL): Do not expect for [XPG3].
8385         (FTW_SLN): Likewise.
8386         (FTW_PHYS): Likewise.
8387         (FTW_MOUNT): Likewise.
8388         (FTW_DEPTH): Likewise.
8389         (FTW_CHDIR): Likewise.
8390         (nftw): Likewise.
8391         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8392         variable.
8394 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8396         * manual/errno.texi: Fix various typos & grammar errors.
8398 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8400         * manual/intro.texi: Fix duplicated typo.
8402 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8404         [BZ #13304]
8405         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8406         <float.h>, <math_private.h> and <stdlib.h>.
8407         (add_split): New function.
8408         (mul_split): Likewise.
8409         (ext_val): New typedef.
8410         (store_ext_val): New function.
8411         (mul_ext_val): New function.
8412         (compare): New function.
8413         (add_split_ext): New function.
8414         (__fmal): After checking for Inf, NaN and zero, compute result as
8415         an exact sum of scaled double values in round-to-nearest before
8416         adding those up and adjusting for other rounding modes.
8417         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8418         tests of fma.
8419         * math/auto-libm-test-out: Regenerated.
8421 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8423         [BZ #20119]
8424         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8425         processor level type mask for CPUID with EAX == 11.
8427 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8429         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8430         logical threads if the HTT bit is 0.
8431         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8432         (index_cpu_HTT): Likewise.
8433         (reg_HTT): Likewise.
8435 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8437         [BZ #20115]
8438         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8439         Remove alignments on jump targets.
8441 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8443         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8444         (getpwent): Likewise.
8445         (setpwent): Likewise.
8446         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8447         variable.
8449         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8450         (remque): Likewise.
8451         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8452         variable.
8454 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8456         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8457         not being tested.
8459 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8461         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8462         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8463         call.
8464         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8465         (__condvar_cleanup1): Likewise.
8467 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8469         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8470         New
8471         (__pthread_unwind): Renamed to ...
8472         (PTHREAD_UNWIND): This.
8473         (__pthread_enable_asynccancel): Replace
8474         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8476 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8478         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8479         (CLONE_NEWCGROUP): New macro.
8481         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8482         (Q_GETNEXTQUOTA): New macro.
8484 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8486         [BZ #19907]
8487         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8488         buffer updated by the previous run.
8489         * string/test-memcpy.c (do_one_test): Likewise.
8490         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8491         * string/test-memmove.c (do_one_test): Likewise.
8493 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8495         [BZ #20094]
8496         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8497         not [__USE_XOPEN].
8498         (unlockpt): Likewise.
8499         (ptsname): Likewise.
8500         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8501         variable.
8503         [BZ #20076]
8504         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8505         instead of [__USE_UNIX98].
8506         (S_ISSOCK): Likewise.
8507         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8508         variable.
8510         [BZ #20074]
8511         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8512         [__USE_POSIX].
8513         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8514         variable.
8516         [BZ #20051]
8517         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8518         (ttyslot): Do not declare.
8519         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8520         (ttyslot): New prototype.
8521         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8522         variable.
8523         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8525 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8527         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8529 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8531         Fix race condition in tst-mallocfork2, use fewer resources.
8532         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8533         to current process group.
8534         (signal_sender): Yield in the non-sleeping case.
8536 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8538         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8539         (ecvt): Likewise.
8540         (fcvt): Likewise.
8541         (gcvt): Likewise.
8542         (getsubopt): Likewise.
8543         (grantpt): Likewise.
8544         (initstate): Likewise.
8545         (l64a): Likewise.
8546         (mktemp): Likewise.
8547         (mkstemp): Likewise.
8548         (ptsname): Likewise.
8549         (random): Likewise.
8550         (realpath): Likewise.
8551         (setstate): Likewise.
8552         (srandom): Likewise.
8553         (ttyslot): Likewise.
8554         (unlockpt): Likewise.
8555         (valloc): Likewise.
8557         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8558         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8559         variable.
8561 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8563         [BZ #20072]
8564         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8565         init_cpu_features only if SHARED is defined.
8566         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8568 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8570         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8571         non-inclusive caches on Intel processors.
8573 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8575         * malloc/malloc.c (dumped_main_arena_start)
8576         (dumped_main_arena_end): New variables.
8577         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8578         (do_check_chunk): Skip dumped fake mmapped chunks.
8579         (munmap_chunk): Likewise.
8580         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8581         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8582         mmapped chunks.
8583         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8584         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8585         and dumped_main_arena_end to cover the dumped heap.
8587 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8589         * conform/data/time.h-data (getdate_err): Do not expect for
8590         [XPG3].
8591         (getdate): Likewise.
8592         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8593         variable.
8595         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8596         (F_ULOCK): Likewise.
8597         (F_TEST): Likewise.
8598         (F_TLOCK): Likewise.
8599         (useconds_t): Likewise.
8600         (intptr_t): Do not expect for [XPG3] or [XPG4].
8601         (brk): Do not expect for [XPG3]
8602         (fchown): Likewise.
8603         (fchdir): Likewise.
8604         (ftruncate): Likewise.
8605         (getdtablesize): Likewise.
8606         (gethostid): Likewise.
8607         (getpagesize): Likewise.
8608         (getpgid): Likewise.
8609         (getsid): Likewise.
8610         (getwd): Likewise.
8611         (lchown): Likewise.
8612         (lockf): Likewise.
8613         (readlink): Likewise.
8614         (sbrk): Likewise.
8615         (setpgrp): Likewise.
8616         (setregid): Likewise.
8617         (setreuid): Likewise.
8618         (symlink): Likewise.
8619         (sync): Likewise.
8620         (truncate): Likewise.
8621         (ualarm): Likewise.
8622         (usleep): Likewise.
8623         (vfork): Likewise.
8624         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8625         variable.
8627         [BZ #20054]
8628         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8629         not [__USE_UNIX98].
8630         * conform/data/unistd.h-data (gethostname): Do not expect for
8631         [XPG3].
8633         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8634         [!POSIX] (S_IFBLK): Likewise.
8635         [!POSIX] (S_IFCHR): Likewise.
8636         [!POSIX] (S_IFIFO): Likewise.
8637         [!POSIX] (S_IFREG): Likewise.
8638         [!POSIX] (S_IFDIR): Likewise.
8639         [!POSIX] (S_IFLNK): Likewise.
8640         [!POSIX] (S_IFSOCK): Likewise.
8641         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8642         variable.
8643         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8645 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8647         * sysdeps/aarch64/memset.S (__memset):
8648         Rewrite of optimized memset.
8650 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8652         [BZ #19703]
8653         Partially async-signal-safe fork for single-threaded processes.
8654         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8655         variable.  Do not acquire and reset/release malloc and libio locks
8656         in single-threaded processes.
8657         * malloc/tst-mallocfork2.c: New file.
8658         * malloc/Makefile (tests): Add it.
8660 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8662         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8663         argument.  Use scratch buffer instead of extend_alloca.
8664         (gethosts): Use scratch buffer instead of extend_alloca.
8665         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8666         extend_alloca.
8667         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8669 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8671         [BZ #20055]
8672         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8673         instead of [__USE_UNIX98].
8674         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8675         [__USE_UNIX98].
8676         * conform/data/termios.h-data (tcgetsid): Do not expect for
8677         [XPG3].
8678         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8679         variable.
8680         (test-xfail-XPG4/termios.h/conform): Likewise.
8682 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8684         Do not use mcheck in localedef.
8685         * locale/programs/localedef.c (turn_on_mcheck)
8686         (__malloc_initialize_hook): Remove.
8688 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8690         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8691         * sysdeps/s390/s390-64/Makefile: Likewise.
8693 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8695         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8696         Remove ifunc-defines.sym.
8697         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8698         Likewise.
8699         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8700         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8701         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8702         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8703         rtld-global-offsets.sym.
8704         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8705         * sysdeps/x86/cpu-features-offsets.sym: This.
8706         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8707         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8709 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8711         [BZ #20073]
8712         * io/sys/stat.h (fchmod): Declare for
8713         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8714         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8715         variable.
8717         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8718         [XPG3] (S_IFSOCK): Likewise.
8719         [XPG3] (S_ISVTX): Likewise.
8720         [XPG3] (S_ISLNK): Likewise.
8721         [XPG3] (S_ISSOCK): Likewise.
8722         [XPG3] (fchmod): Likewise.
8723         [XPG3] (lstat): Likewise.
8724         [XPG3] (mknod): Likewise.
8726         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8727         [XPG3].  Expect type long and XFAIL for [XPG4].
8728         (st_blocks): Likewise.
8730         [BZ #20044]
8731         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8732         (pthread_atfork): New prototype.
8733         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8734         variable.
8736         [BZ #20043]
8737         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8738         prototype.
8740 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8742         [BZ #20017]
8743         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8744         gmtime.
8746 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8748         [BZ #19994]
8749         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8750         flag in _res.options.
8752 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8754         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8755         [XPG3 || XPG4].
8756         (blksize_t): Likewise.
8757         (clockid_t): Likewise.
8758         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8759         variable.
8760         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8762 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8764         * sysdeps/unix/sysv/linux/s390/init-first.c:
8765         Add VDSO_SYMBOL(getcpu).
8766         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8767         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8768         Add VDSO_SYMBOL(getcpu).
8769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8770         New define HAVE_GETCPU_VSYSCALL.
8771         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8773 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8775         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8776         instead of <sysdeps/x86_64/cacheinfo.c>.
8777         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8778         * sysdeps/x86/cacheinfo.c: Here.
8780 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8782         * malloc/malloc-internal.h: Adjust header file guard.
8784 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8786         [BZ #19787]
8787         * inet/getnameinfo.c (check_sprintf_result): New function.
8788         (CHECKED_SNPRINTF): New macro.
8789         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8790         to the host buffer.
8791         (gni_host_local): Use checked_copy to copy the host name.
8792         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8793         (gni_serv_local): Use checked_copy to copy the service name.
8794         (getnameinfo): Remove unnecessary truncation of result buffers.
8796 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8798         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
8799         in case of inet_ntop failure.
8801 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8803         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
8804         avoid long lines.
8805         (gni_host_inet_numeric): Likewise.  Reduce scope of local
8806         variables.
8807         (gni_host_inet, gni_host_local): Add comment.
8808         (gni_host): Add comment.  Use temporary to avoid long lines.
8810 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8812         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
8813         registers specifiers where general purpose registers specifiers should
8814         have been used.
8816 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8818         [BZ #19779]
8819         CVE-2016-1234
8820         Avoid copying names of directory entries.
8821         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
8822         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
8823         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
8824         (struct readdir_result): New type.
8825         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
8826         (GL_READDIR): New macros.
8827         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
8828         (convert_dirent, convert_dirent64): New functions.
8829         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
8830         convert_dirent64.  Adjust references to the readdir result.
8831         * sysdeps/unix/sysv/linux/i386/glob64.c:
8832         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
8833         * posix/bug-glob2.c (LONG_NAME): Define.
8834         (filesystem): Add LONG_NAME.
8835         (my_DIR): Increase the size of room_for_dirent.
8837 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
8839         [BZ #20041]
8840         * misc/sys/select.h (__need_timespec): Only define if
8841         [__USE_XOPEN2K].
8842         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
8843         variable.
8844         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8845         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8846         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8848 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8849             Segher Boessenkool  <segher@gcc.gnu.org>
8851         [BZ #20004]
8852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
8853         (__novec_swapcontext): Add missing load.
8855 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
8857         [BZ #20023]
8858         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
8859         <time.h>.
8860         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
8861         variable.
8862         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8864 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
8867         flags CLONE_VM compare.
8869 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8871         [BZ #20031]
8872         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
8873         completely empty.
8875 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8877         [BZ #19573]
8878         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
8879         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
8880         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
8881         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
8882         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
8883         (hesiod_free_list): Mark as hidden.
8884         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
8885         res_set, res_get.
8886         * hesiod/hesiod.c: Remove unnecessary forward declarations.
8887         (init, __hesiod_res_get, __hesiod_res_set): Remove.
8888         (hesiod_init): Remove obsolete res_ninit call.
8889         (hesiod_end): Do not free resolver state.  Do not invoke callback.
8890         (hesiod_bind): Do not call init.
8891         (get_txt_records): Use res_mkquery, res_send instead of
8892         res_nmkquery, res_nsend.
8893         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
8894         instead of _nss_hesiod_init.
8895         (_nss_hesiod_initgroups_dyn): Likewise.
8896         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
8897         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
8898         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
8900 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8902         * hesiod/hesiod_p.h (DEF_RHS): Remove.
8903         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
8905 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8907         * hesiod/hesiod.h: Remove RCS keyword.
8908         * hesiod/hesiod_p.h: Likewise.
8910         * hesiod/hesiod.c: Likewise.
8912 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
8914         [BZ #12450]
8915         * locale/iso-639.def: Add Samogitian/sgs.
8917 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
8919         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
8921         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
8923 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
8924             Carlos O'Donell  <carlos@redhat.com>
8926         [BZ #19072]
8927         * grp/Makefile (headers): Add grp-merge.h
8928         (routines): Add grp-merge.
8929         * grp/getgrgid_r.c: Include grp-merge.h.
8930         (DEEPCOPY_FN): Define.
8931         (MERGE_FN): Define.
8932         * grp/getgrname_r.c: Include grp-merge.h.
8933         (DEEPCOPY_FN): Define.
8934         (MERGE_FN): Define.
8935         * grp/grp-merge.c: New file.
8936         * grp/grp-merge.h: New file.
8937         * include/grp-merge.h: New file.
8938         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
8939         __copy_grp@GLIBC_PRIVATE.
8940         * manual/nss.texi (Actions in the NSS configuration): Describe
8941         return, continue, and merge.
8942         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
8943         (DEEPCOPY_FN): Define.
8944         (MERGE_FN): Define.
8945         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
8946         (DEEPCOPY_FN): Define.
8947         (MERGE_FN): Define.
8948         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
8949         [!MERGE_FN]: Define __merge_einval.
8950         (CHECK_MERGE): Define.
8951         (REENTRANT_NAME): Process merge if do_merge is true.
8952         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
8953         (__nss_getent_r): Likewise.
8954         * nss/nsswitch.c (nss_parse_service_list): Likewise.
8955         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
8957 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8959         [BZ #20012]
8960         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
8961         length to calculate the buffer to read.
8962         (fmemopen_write): Set the buffer position based on bytes written.
8963         (fmemopen_seek): Return EINVAL for invalid whence modes.
8965         [BZ #19957]
8966         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
8967         tst-getpid2.
8968         (test): Add tst-clone2.
8969         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
8970         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
8971         pid/tid fields for CLONE_VM.
8972         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8973         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8974         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8975         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
8976         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8977         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8978         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8979         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8981         Likewise.
8982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8983         Likewise.
8984         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8985         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8986         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8987         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8988         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8989         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8990         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8991         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8993 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8995         [BZ #19642]
8996         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8997         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8998         (gni_serv_local, gni_serv): New functions extracted from
8999         getnameinfo.
9000         (getnameinfo): Call gni_host and gni_serv to perform the
9001         processing.  Always free scratch buffer.
9003 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9005         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9006         remaining bytes in the dest string, with zeros.
9008 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9010         [BZ #20010]
9011         CVE-2016-3706
9012         * sysdeps/posix/getaddrinfo.c
9013         (convert_hostent_to_gaih_addrtuple): New function.
9014         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9015         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9016         AF_INET data.
9018 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9020         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9021         callback function gl_readdir.
9022         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9023         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9024         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9025         memcpy to copy the name.
9026         * manual/pattern.texi (Calling Glob): Document requirements for
9027         implementations of the gl_readdir callback function.
9028         * manual/examples/mkdirent.c: New example.
9029         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9030         per the manual guidance.
9031         * posix/tst-gnuglob.c (my_readdir): Likewise.
9033 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9035         [BZ #20014]
9036         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9037         not [__USE_POSIX].
9038         (getchar_unlocked): Likewise.
9039         (putc_unlocked): Likewise.
9040         (putchar_unlocked): Likewise.
9041         (flockfile): Likewise.
9042         (ftrylockfile): Likewise.
9043         (funlockfile): Likewise.
9044         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9045         variable.
9046         (test-xfail-XPG4/stdio.h/conform): Likewise.
9048         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9049         Expect constant.
9050         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9051         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9052         variable.
9053         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9054         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9056         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9057         [__USE_LARGEFILE64] (off64_t): Likewise.
9058         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9059         variable.
9061 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9063         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9065 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9067         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9068         * resolv/res_init.c: Likewise.
9069         * resolv/res_mkquery.c: Likewise.
9071 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9073         * resolv/res_init.c (isascii): Do not define.  Use definition in
9074         <ctype.h>.
9075         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9076         (LOG_AUTH): Remove.
9077         (SPRINTF): Remove, adjust caller.
9078         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9080 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9082         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9083         SUNSECURITY conditional.
9084         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9086 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9088         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9089         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9090         Remove BSD-related preprocessor conditionals.
9091         * conf/portability.h: Remove.
9093 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9095         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9096         * resolv/res_data.c: Likewise.
9098 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9100         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9101         * resolv/res_data.c: Remove code conditional on ultrix.
9103 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9105         * resolv/res_init.c (RFC1535): Do not define.  Remove
9106         RFC1535 preprocessor conditionals.
9107         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9108         because there configuration options which make the resolver
9109         behavior different.
9111 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9113         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9114         RESOLVSORT preprocessor conditionals.
9115         * resolv/nss_dns/dns-host.c: Likewise.
9116         * resolv/res_init.c: Likewise.
9118 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9120         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9121         is never defined.
9123 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9125         * inet/inet_lnaof.c: Remove SCSS keyword.
9126         * inet/inet_mkadr.c: Likewise.
9127         * inet/inet_net.c: Likewise.
9128         * inet/inet_netof.c: Likewise.
9129         * inet/rcmd.c: Likewise.
9130         * inet/rexec.c: Likewise.
9131         * inet/ruserpass.c: Likewise.
9133 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9135         * resolv/inet_addr.c: Remove _LIBC conditionals.
9136         * resolv/res_data.c: Likewise.
9137         * resolv/res_init.c: Likewise.
9138         * resolv/res_mkquery.c: Likewise.
9139         * resolv/res_libc.c: Update comment.
9140         * resolv/README: Update.
9142 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9144         * resolv/gethnamaddr.c: Remove SCSS keyword.
9145         * resolv/herror.c: Likewise.
9146         * resolv/inet_addr.c: Likewise.
9147         * resolv/inet_net_ntop.c: Likewise.
9148         * resolv/inet_net_pton.c: Likewise.
9149         * resolv/inet_neta.c: Likewise.
9150         * resolv/inet_ntop.c: Likewise.
9151         * resolv/inet_pton.c: Likewise.
9152         * resolv/ns_date.c: Remove RCS keyword.
9153         * resolv/ns_name.c: Likewise.
9154         * resolv/ns_netint.c: Likewise.
9155         * resolv/ns_parse.c: Likewise.
9156         * resolv/ns_print.c: Likewise.
9157         * resolv/ns_samedomain.c: Likewise.
9158         * resolv/ns_ttl.c: Likewise.
9159         * resolv/nsap_addr.c: Likewise.
9160         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9161         * resolv/res_data.c: Remove RCS keyword.
9162         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9163         * resolv/res_init.c: Likewise.
9164         * resolv/res_mkquery.c: Likewise.
9165         * resolv/res_query.c: Likewise.
9166         * resolv/res_send.c: Likewise.
9168 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9170         * conform/data/stdio.h-data (fdopen): Expect also for
9171         [XPG3 || XPG4].
9173         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9174         (fseeko): Likewise.
9175         (ftello): Likewise.
9176         (ftrylockfile): Likewise.
9177         (funlockfile): Likewise.
9178         (getc_unlocked): Likewise.
9179         (getchar_unlocked): Likewise.
9180         (putc_unlocked): Likewise.
9181         (putchar_unlocked): Likewise.
9183 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9185         [BZ #19868]
9186         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9187         DNS packet syntax checks (which were not needed before).  Skip
9188         over non-PTR records.
9190 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9192         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9193         definition.  Include <stddef.h> instead.
9195 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9197         [BZ #19831]
9198         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9199         function.
9200         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9201         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9203 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9205         [BZ #19862]
9206         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9207         (getanswer_r): Do not call syslog.
9208         (gaih_getanswer_slice): Likewise.
9209         * resolv/gethnamaddr.c (AskedForGot): Remove.
9210         (getanswer): Do not call syslog.
9211         (gethostbyaddr): Likewise.
9213 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9215         * conform/data/signal.h-data (union sigval): Expect also if
9216         [XOPEN2K].
9217         (struct sigevent): Likewise.
9218         (SIGEV_NONE): Likewise.
9219         (SIGEV_SIGNAL): Likewise.
9220         (SIGEV_THREAD): Likewise.
9221         (SIGRTMIN): Likewise.
9222         (SIGRTMAX): Likewise.
9223         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9224         variable.
9225         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9227 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9229         [BZ #19830]
9230         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9231         (gaih_getanswer_slice): Likewise.
9232         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9233         Also check for availability of RR metadata.
9235 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9237         [BZ #19825]
9238         * resolv/res_send.c (send_vc): Remove early *resplen2
9239         initialization.  Set *resplen2 on socket error.  Call
9240         close_and_return_error for other errors.
9242 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9244         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9245         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9246         (SCM_IUCV_TRGCLS): New define.
9248 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9250         [BZ #20005]
9251         * libio/fmemopen.c (fmemopen_write): Update internal position after
9252         write.
9253         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9254         * stdio-common/tst-fmemopen4.c: New file..
9256 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9258         [BZ #19996]
9259         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9260         not [__USE_XOPEN2K].
9261         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9262         variable.
9264         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9265         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9266         variable.
9268         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9269         [__USE_XOPEN2K8].
9270         [__USE_LARGEFILE64] (off64_t): Likewise.
9271         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9272         variable.
9274 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9276         [BZ #19989]
9277         * libio/stdio.h (cuserid): Do not declare if
9278         [__USE_XOPEN2K && !__USE_GNU].
9279         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9280         variable.
9282 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9284         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9285         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9287         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9288         ifunc'ed strcspn.
9289         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9290         [EALIGN]: Removed.
9291         [END]: Likewise
9292         [STRSPN]: Define instead of the above to control symbol name.
9293         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9294         New file.
9295         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9296         Likewise.
9297         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9298         Likewise.
9299         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9300         Likewise.
9301         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9302         [INITIAL_MASK]: New macro.
9303         [STRCSPN]: Likewise.
9304         [UPDATE_MASK]: Likewise.
9305         [USE_AS_STRCSPN]: Lisewise.
9307 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9309         [BZ #19931]
9310         * stdio-common/tst-vfprintf-width-prec.c: New file.
9311         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9312         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9313         (generated): Add mtrace-related files.
9314         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9315         (tst-%-mem.out): New pattern rule, replaces
9316         tst-printf-bz18872-mem.out.
9317         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9318         specifier, deallocate any previously allocated work buffer.
9320 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9322         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9323         Add nop before __startcontext, add explaining comments.
9325 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9327         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9328         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9329         completely different API.
9331         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9332         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9333         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9334         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9335         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9336         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9337         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9338         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9339         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9340         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9342 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9344         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9346 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9348         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9349         when it is the default of 0.
9351 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9353         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9354         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9355         (sysdep_routines): Add new strcasestr targets.
9356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9357         (__libc_ifunc_impl_list): Likewise.
9358         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9359         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9360         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9361         * sysdeps/powerpc/powerpc64/power8/Makefile:
9362         New file to add strcasestr-ppc64 to sysdep_routines.
9363         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9364         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9366 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9368         * benchtests/Makefile (wcsmbs-benchset): Include only for
9369         native builds and runs.
9370         (LOCALES): Likewise.
9371         (bench-build): Build timing-type here instead of the bench
9372         target.  Generate locale only for native builds.
9373         * benchtests/README: Add note for cross-building.
9375         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9377         * benchtests/README: Update README to include instructions on
9378         using bench-build.
9380         * Makefile.in (bench-build): New target.
9381         * Rules (PHONY): Add bench-build target.
9382         * benchtests/Makefile (bench): Depend on bench-build.
9383         (bench-build): New target.
9385 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9387         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9388         profil_reply_port.
9389         (profile_waiter): Do not initialize profil_reply_port.
9390         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9391         frequency instead of tick length in us.
9393 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9395         [BZ #18712]
9396         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9397         (__old_mempcpy_small): Likewise.
9398         (__old_strcpy_small): Likewise.
9399         (__old_stpcpy_small): Likewise.
9400         (__old_strpbrk_c2): Fix compat symbol name.
9401         (__old_strpbrk_c3): Likewise.
9402         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9403         (__mempcpy_small): Remove.
9404         (__strcpy_small): Remove.
9405         (__stpcpy_small): Remove.
9407 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9409         [BZ #19400]
9410         * locale/iso-639.def: Add the Talossan/tzl language.
9412 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9414         [BZ #16983]
9415         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9416         comment.  Add "ln" to strchr check on postal_fmt.
9418 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9420         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9421         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9422         tel_dom_fmt.
9424 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9426         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9427         (sysdep_routines): Added __strlen_power8.
9428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9429         __strlen_power8 entry.
9430         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9431         Implementation for POWER8.
9432         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9433         for __strlen_power8.
9434         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9435         Implementation for POWER8.
9437 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9439         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9441 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9443         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9444         Goldmont and Airmont processors.
9446 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9448         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9449         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9450         (__STRING2_SMALL_GET32): Remove.
9451         (memset): Remove.
9452         (__memset_1): Remove.
9453         (__memset_gc): Remove.
9454         (__mempcpy): Remove.
9455         (mempcpy): Remove.
9456         (__mempcpy_args): Remove.
9457         (strchr): Remove.
9458         (strcpy): Remove.
9459         (strcpy_args): Remove.
9460         (__stpcpy_args): Remove.
9461         (__strcmp_cc): Remove.
9462         (__strcmp_gc): Remove.
9463         (strstr): Remove.
9465 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9467         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9468         * nis/nis_call.c (nis_server_cache_add): Likewise.
9470 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9472         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9474 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9476         * malloc/arena.c (__malloc_fork_lock_parent)
9477         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9478         internal_function attribute.
9480 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9482         * stdio-common/printf_fp.c (__printf_fp_l):
9483         Rename ___printf_fp_l to __printf_fp_l and
9484         remove strong alias. Use libc_hidden_def instead
9485         of ldbl_hidden_def macro.
9487 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9489         Remove malloc hooks from fork handler.  They are no longer needed
9490         because malloc runs right before fork, and no malloc calls from
9491         other fork handlers are not possible anymore.
9492         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9493         declarations.
9494         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9495         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9496         (atfork_recursive_cntr): Remove.
9497         (__malloc_fork_lock_parent): Do not override malloc hooks and
9498         thread_arena.
9499         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9500         thread_arena.
9501         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9502         thread_arena instead of save_arena.
9504 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9506         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9507         (thread_atfork, thread_atfork_static): Remove.
9508         * sysdeps/mach/hurd/malloc-machine.h:
9509         (thread_atfork, thread_atfork_static): Remove.
9511 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9513         [BZ #19431]
9514         Run the malloc fork handler as late as possible to avoid deadlocks.
9515         * malloc/malloc-internal.h: New file.
9516         * malloc/malloc.c: Include it.
9517         * malloc/arena.c (ATFORK_MEM): Remove.
9518         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9519         Update comment.
9520         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9521         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9522         Remove outdated comment.
9523         (ptmalloc_init): Do not call thread_atfork.  Remove
9524         thread_atfork_static.
9525         * malloc/tst-malloc-fork-deadlock.c: New file.
9526         * Makefile (tests): Add tst-malloc-fork-deadlock.
9527         (tst-malloc-fork-deadlock): Link against libpthread.
9528         * manual/memory.texi (Aligned Memory Blocks): Update safety
9529         annotation comments.
9530         * sysdeps/nptl/fork.c (__libc_fork): Call
9531         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9532         __malloc_fork_unlock_child.
9533         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9535 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9537         [BZ #19613]
9538         Remove union wait.
9539         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9540         (w_stopsig, w_stopval): Remove.
9541         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9542         stat_loc argument.
9543         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9544         (__WAIT_STATUS_DEFN): Remove.
9545         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9546         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9547         (wait, wait3, wait4): Use int * for the stat_loc argument.
9548         * posix/wait.c (__wait): Likewise.
9549         * posix/wait3.c (__wait3): Likewise.
9550         * posix/wait4.c (__wait4): Likewise.
9551         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9552         (__WAIT_STATUS_DEFN): Remove.
9553         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9554         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9555         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9556         argument.
9557         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9558         * sysdeps/posix/wait3.c (__wait3): Likewise.
9559         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9560         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9561         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9562         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9563         stat_loc argument.
9564         * manual/process.texi (BSD Wait Functions): Remove union wait.
9566 2016-04-13  Andreas Schwab  <schwab@suse.de>
9568         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9569         (test-extras): Add tst-tlsalign-vars.
9570         * math/Makefile: Wrap long lines.
9571         (libm-vec-test-wrappers): Define.
9572         (test-extras): Add $(libm-vec-test-wrappers).
9573         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9574         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9575         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9576         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9577         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9578         (extra-test-objs): Add corresponding objects.
9580 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9582         [BZ #19928]
9583         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9584         New.
9585         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9586         times of shared cache size.
9587         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9588         (VMOVNT): New.
9589         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9590         (VMOVNT): Likewise.
9591         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9592         (VMOVNT): Likewise.
9593         (VMOVU): Changed to movups for smaller code sizes.
9594         (VMOVA): Changed to movaps for smaller code sizes.
9595         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9596         comments.
9597         (PREFETCH): New.
9598         (PREFETCH_SIZE): Likewise.
9599         (PREFETCHED_LOAD_SIZE): Likewise.
9600         (PREFETCH_ONE_SET): Likewise.
9601         Rewrite to use forward and backward loops, which move 4 vector
9602         registers at a time, to support overlapping addresses and use
9603         non temporal store if size is above the threshold and there is
9604         no overlap between destination and source.
9606 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9608         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9609         Include dl-vdso.
9610         * sysdeps/unix/sysv/linux/mips/Versions: Add
9611         __vdso_clock_gettime.
9612         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9613         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9614         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9615         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9616         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9617         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9618         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9619         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9620         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9622 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9624         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9625         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9626         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9627         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9628         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9629         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9632         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9633         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9634         syscalls generation.
9635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9636         [__NR_pwrite64] (__NR_write): Remove define.
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9638         [__NR_pwrite64] (__NR_write): Remove define.
9639         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9640         Remove define.
9641         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9642         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9643         Remove define.
9644         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9645         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9646         Linux implementation as base.
9647         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9649         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9650         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9652         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9655         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9656         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9657         syscall generation.
9658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9659         [__NR_pread64] (__NR_pread): Remove define.
9660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9661         [__NR_pread64] (__NR_pread): Likewise.
9662         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9663         define.
9664         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9665         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9666         Remove define.
9667         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9668         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9669         Linux implementation as base.
9670         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9671         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9672         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9674         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9675         definition.
9676         (__ALIGNMENT_COUNT): Likewise.
9677         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9678         (__ALIGNMENT_COUNT): Likewise.
9679         (SYSCALL_LL): New define.
9680         (SYSCALL_LL64): Likewise.
9681         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9682         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9683         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9684         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9686         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9687         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9688         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9689         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9690         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9691         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9693 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9695         [BZ #19865]
9696         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9697         original buffer before retry.
9699 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9701         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9702         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9703         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9704         GLRO(dl_auxv) list.
9705         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9706         including <ldsodefs.h>.
9707         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9709 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9711         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9712         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9713         $(CPPFLAGS).
9715 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9717         [BZ #17950]
9718         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9719         Add -mfpmath=387.
9721 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9723         * sysdeps/i386/configure.ac: Change == to = when calling test.
9724         * sysdeps/x86_64/configure.ac: Likewise.
9725         * sysdeps/i386/configure: Regenerated.
9726         * sysdeps/x86_64/configure: Likewise.
9728 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9730         [BZ #16137]
9731         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9732         * benchtests/bench-strcoll.c (input_files): Likewise.
9733         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9734         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9735         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9737 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9739         [BZ #19929]
9740         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9741         [__USE_XOPEN2K8 && !__USE_GNU].
9742         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9743         variable.
9745         [BZ #19925]
9746         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9747         define if [!__USE_MISC && __USE_XOPEN2K].
9748         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9749         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9750         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9751         Likewise.
9752         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9753         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9754         variable.
9755         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9757 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9759         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9760         (sysdep_routines): Add new strspn targets.
9761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9762         (__libc_ifunc_impl_list): Add strspn.
9763         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9764         New file.
9765         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9766         Likewise.
9767         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9768         Likewise.
9769         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9770         Likewise.
9772 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9774         * misc/hsearch_r.c: Include <limits.h>.
9776 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9778         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9780 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9782         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9783         (MEMCPY_SYMBOL): New.
9784         (MEMPCPY_SYMBOL): Likewise.
9785         (MEMMOVE_CHK_SYMBOL): Likewise.
9786         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9787         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9788         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9789         Provide alias for memcpy in libc.a and ld.so.
9791 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9793         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9794         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
9795         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9796         Disabled fro now.
9797         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
9798         symbols.  Properly check USE_MULTIARCH on __memset symbols.
9800 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9802         * benchtests/Makefile (string-benchset): Add memcpy-large,
9803         memmove-large and memset-large.
9804         * benchtests/bench-memcpy-large.c: New file.
9805         * benchtests/bench-memmove-large.c: Likewise.
9806         * benchtests/bench-memmove-large.c: Likewise.
9807         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
9809 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9811         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
9812         32-bit displacement to avoid long nop between instructions.
9814 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9816         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9817         a comment on VMOVU and VMOVA.
9819 2016-04-04  Florian Weimer  <fweimer@redhat.com>
9821         [BZ #19633]
9822         Use specified locale for number formatting in strfmon_l.
9823         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
9824         (__nl_lookup_word): New inline functions.
9825         * include/printf.h (__print_fp_l): Declare.
9826         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
9827         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
9828         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
9829         (___printf_fp): New function.
9830         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
9831         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
9832         * stdlib/tst-strfmon_l.c (do_test): New test.
9833         * stdlib/Makefile (tests): Add kt.
9834         (LOCALES): Build additional locales.
9835         (tst-strfmon_l.out): Require locales.
9837 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9839         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
9840         if not in libc.
9841         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9842         Likewise.
9843         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
9844         Likewise.
9845         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9846         Likewise.
9848 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9850         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9851         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
9852         with unaligned_erms.
9853         (__memmove_erms): Skip if source == destination.
9854         (__memmove_unaligned_erms): Don't check source == destination
9855         first.
9857 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9859         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9860         bit_arch_Fast_Copy_Backward for Intel Core proessors.
9862 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9864         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
9865         * string/strspn.c (strspn): Likewise.
9867 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9869         * benchtests/bench-memset.c (do_test): Support 64-byte
9870         alignment.
9871         (test_main): Test 64-byte alignment.
9873 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9875         * benchtests/bench-memmove.c (test_main): Test 64-byte
9876         alignment.
9878 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9880         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
9882 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9884         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
9885         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
9886         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
9888         * string/strpbrk.c (strpbrk): Rewrite function.
9889         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9890         (__strpbrk_c2): Likewise.
9891         (__strpbrk_c3): Likewise.
9892         * string/string-inlines.c
9893         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
9894         Likewise.
9895         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
9896         Likewise.
9898         * string/strspn.c (strcspn): Rewrite function.
9899         * string/bits/string2.h (strspn): Use __builtin_strcspn.
9900         (__strspn_c1): Remove inline function.
9901         (__strspn_c2): Likewise.
9902         (__strspn_c3): Likewise.
9903         * string/string-inlines.c
9904         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
9905         compatibility symbol.
9906         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
9907         Likewise.
9908         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
9909         Likewise.
9910         * string/string-inlines.c: Include generic version.
9912 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
9913             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9915         * string/Version (libc): Add GLIBC_2.24.
9916         * string/strcspn.c (strcspn): Rewrite function.
9917         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
9918         (__strcspn_c1): Remove inline function.
9919         (__strcspn_c2): Likewise.
9920         (__strcspn_c3): Likewise.
9921         * string/string-inline.c
9922         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
9923         compatibility symbol.
9924         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
9925         Likewise.
9926         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
9927         Likewise.
9928         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
9930 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9932         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9933         Use ahi instead of aghi to adjust stack pointer.
9935 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9937         [BZ #19853]
9938         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
9939         TEST to take significant digits as second parameter.
9940         [TEST]: Redefine in terms of TEST_N taking 30
9941         significant digits.
9942         (do_test): Add test case to demonstrate precision
9943         failure in the ldbl-128ibm printf.
9944         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
9945         (__mpn_extract_long_double): Carry 7 extra intermediate
9946         bits of precision to aide computing difference when
9947         signs differ.
9949 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9951         [BZ #19881]
9952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9953         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
9954         memset-avx512-unaligned-erms.
9955         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9956         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
9957         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
9958         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
9959         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
9960         __memset_sse2_unaligned_erms, __memset_erms,
9961         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
9962         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9963         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
9964         file.
9965         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9966         Likewise.
9967         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
9968         Likewise.
9969         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
9970         Likewise.
9972 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9974         [BZ #19776]
9975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9976         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9977         memmove-avx512-unaligned-erms.
9978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9979         (__libc_ifunc_impl_list): Test
9980         __memmove_chk_avx512_unaligned_2,
9981         __memmove_chk_avx512_unaligned_erms,
9982         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9983         __memmove_chk_sse2_unaligned_2,
9984         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9985         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9986         __memmove_avx512_unaligned_erms, __memmove_erms,
9987         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9988         __memcpy_chk_avx512_unaligned_2,
9989         __memcpy_chk_avx512_unaligned_erms,
9990         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9991         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9992         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9993         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9994         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9995         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9996         __mempcpy_chk_avx512_unaligned_erms,
9997         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9998         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9999         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10000         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10001         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10002         __mempcpy_erms.
10003         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10004         file.
10005         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10006         Likwise.
10007         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10008         Likwise.
10009         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10010         Likwise.
10012 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10014         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10015         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10016         (La_s390_64_regs): Likewise.
10017         (La_s390_32_retval): Append vector register lrv_v24.
10018         (La_s390_64_retval): Likeweise.
10019         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10020         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10021         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10022         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10024 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10026         [BZ #19916]
10027         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10028         to create a non-vector/vector version for _dl_runtime_resolve and
10029         _dl_runtime_profile. Move implementation to ...
10030         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10031         (_dl_runtime_resolve) Save and restore fpr/vrs.
10032         (_dl_runtime_profile) Save and restore vrs and fix some issues
10033         if _dl_call_pltexit is called.
10034         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10035         Choose the correct resolver function if running on a machine with vx.
10036         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10037         to create a non-vector/vector version for _dl_runtime_resolve and
10038         _dl_runtime_profile. Move implementation to ...
10039         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10040         (_dl_runtime_resolve) Save and restore fpr/vrs.
10041         (_dl_runtime_profile) Save and restore vrs and fix some issues
10042         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10043         Choose the correct resolver function if running on a machine with vx.
10045 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10047         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10049 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10051         [BZ #19509]
10052         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10053         skip_map != NULL.
10054         * elf/tst-dlsym-error.c: New file.
10055         * elf/Makefile (tests): Add tst-dlsym-error.
10056         (tst-dlsym-error): Link against libdl.
10058 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10061         (__ASSUME_FUTIMESAT): Remove macro.
10062         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10064 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10066         [BZ #19879]
10067         CVE-2016-3075
10068         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10069         copy name.
10071 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10073         [BZ #19837]
10074         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10075         error if parse_line fails.
10077 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10079         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10080         (index_cpu_ERMS): Likewise.
10081         (reg_ERMS): Likewise.
10083 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10085         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10086         PER_LINUX_FDPIC): Add.
10088 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10091         memcpy-avx512-no-vzeroupper.
10092         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10093         to ...
10094         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10095         (MEMCPY): Don't define.
10096         (MEMCPY_CHK): Likewise.
10097         (MEMPCPY): Likewise.
10098         (MEMPCPY_CHK): Likewise.
10099         (MEMPCPY_CHK): Renamed to ...
10100         (__mempcpy_chk_avx512_no_vzeroupper): This.
10101         (MEMPCPY_CHK): Renamed to ...
10102         (__mempcpy_chk_avx512_no_vzeroupper): This.
10103         (MEMCPY_CHK): Renamed to ...
10104         (__memmove_chk_avx512_no_vzeroupper): This.
10105         (MEMCPY): Renamed to ...
10106         (__memmove_avx512_no_vzeroupper): This.
10107         (__memcpy_avx512_no_vzeroupper): New alias.
10108         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10110 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10112         [BZ #18858]
10113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10114         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10115         and mempcpy-avx512-no-vzeroupper.
10116         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10117         New.
10118         (MEMPCPY): Likewise.
10119         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10120         (MEMPCPY_CHK): New.
10121         (MEMPCPY): Likewise.
10122         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10123         (MEMPCPY): Likewise.
10124         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10125         (MEMPCPY): Likewise.
10126         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10127         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10128         Likewise.
10129         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10130         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10132 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10133              Amit Pawar  <Amit.Pawar@amd.com>
10135         [BZ #19583]
10136         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10137         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10138         processors.  Set Fast_Copy_Backward for AMD Excavator
10139         processors.
10140         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10141         New.
10142         (index_arch_Fast_Unaligned_Copy): Likewise.
10143         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10144         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10146 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10148         [BZ #19791]
10149         * resolv/res_send.c (close_and_return_error): New function.
10150         (send_dg): Initialize *resplen2 after reopen failure.  Call
10151         close_and_return_error for error returns.  On error paths without
10152         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10153         successful return.
10155 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10157         [BZ# 19860]
10158         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10159         zero if the compiler does not provide the AVX512F bit.
10161 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10163         [BZ #19848]
10164         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10165         from 8 to 4.
10166         (__ieee754_powl): Compare integer exponent against 4 not 8.
10167         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10168         from 8 to 4.
10169         (__ieee754_powl): Compare integer exponent against 4 not 8.
10170         * math/auto-libm-test-in: Add more tests of pow.
10171         * math/auto-libm-test-out: Regenerated.
10172         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10175 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10177         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10178         Make code unconditional.
10179         [!__NR_utimensat]: Remove conditional code.
10180         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10181         Make code unconditional.
10182         [!__NR_utimensat]: Remove conditional code.
10183         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10184         Make code unconditional.
10185         [!__NR_utimensat]: Remove conditional code.
10187 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10189         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10190         Make code unconditional.
10192 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10194         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10195         call-clobbered %eax on retry path.
10196         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10198 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10200         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10201         Don't set %rcx twice before "rep movsb".
10203 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10205         [BZ #19583]
10206         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10207         inline.  Check family before setting family, model and
10208         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10209         bits here.
10210         (init_cpu_features): Replace HAS_CPU_FEATURE and
10211         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10212         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10213         for Intel processors with usable AVX2.  Call get_common_indeces
10214         for other processors with family == NULL.
10215         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10216         (CPU_FEATURES_ARCH_P): Likewise.
10217         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10218         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10220 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10222         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10223         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10224         $(shared-thread-library) instead of hardcoding the path to libpthread.
10226 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10228         * sysdeps/unix/sysv/linux/kernel-features.h
10229         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10230         * sysdeps/unix/sysv/linux/getdents.c
10231         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10232         [!have_no_getdents64_defined]: Likewise.
10233         (__GETDENTS): Remove __have_no_getdents64 conditional.
10235 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10237         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10238         Remove macro.
10239         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10240         <kernel-features.h>.
10241         (signalfd) [__NR_signalfd4]: Make code unconditional.
10242         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10244 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10246         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10247         style.
10249 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10251         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10252         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10253         __pthread_unwind.
10254         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10255         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10256         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10257         (__condvar_cleanup1): Likewise.
10259 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10261         [BZ #19822]
10262         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10263         move it to the final $@ location.
10265 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10267         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10268         access where posix_spawn success and pid argument is null.
10269         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10270         success case.
10272 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10274         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10276         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10278         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10279         and __fcntl.
10280         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10281         __fcntl only.
10282         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10283         adding attribute_hidden to __open and __fcntl.
10285         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10286         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10287         depend on libc-modules.h,
10288         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10290 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10292         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10293         Remove macro.
10294         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10295         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10296         entry.
10298         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10299         Remove macro.
10300         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10301         include <kernel-features.h>.
10302         [!__ASSUME_FALLOCATE]: Remove conditional code.
10303         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10305 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10307         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10308         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10309         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10310         (_ZGVdN4v_cos_avx2): Likewise.
10311         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10312         (_ZGVdN4v_cos): Likewise.
10313         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10314         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10315         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10316         (_ZGVdN4v_exp_avx2): Likewise.
10317         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10318         (_ZGVdN4v_exp): Likewise.
10319         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10320         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10321         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10322         (_ZGVdN4v_log_avx2): Likewise.
10323         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10324         (_ZGVdN4v_log): Likewise.
10325         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10326         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10327         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10328         (_ZGVdN4vv_pow_avx2): Likewise.
10329         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10330         (_ZGVdN4vv_pow): Likewise.
10331         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10332         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10333         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10334         (_ZGVdN4v_sin_avx2): Likewise.
10335         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10336         (_ZGVdN4v_sin): Likewise.
10337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10338         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10339         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10340         (_ZGVdN4vvv_sincos_avx2): Likewise.
10341         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10342         (_ZGVdN4vvv_sincos): Likewise.
10343         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10344         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10345         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10346         (_ZGVbN4v_cosf_sse4): Likewise.
10347         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10348         (_ZGVdN8v_cosf_avx2): Likewise.
10349         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10350         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10351         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10352         (_ZGVbN4v_expf_sse4): Likewise.
10353         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10354         (_ZGVdN8v_expf_avx2): Likewise.
10355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10356         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10357         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10358         (_ZGVbN4v_logf_sse4): Likewise.
10359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10360         (_ZGVdN8v_logf_avx2): Likewise.
10361         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10362         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10363         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10364         (_ZGVbN4vv_powf_sse4): Likewise.
10365         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10366         (_ZGVdN8vv_powf_avx2): Likewise.
10367         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10368         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10369         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10370         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10371         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10372         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10373         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10374         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10375         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10376         (_ZGVbN4v_sinf_sse4): Likewise.
10377         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10378         (_ZGVdN8v_sinf_avx2): Likewise.
10379         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10380         Use JUMPTARGET to call callee.
10381         (WRAPPER_IMPL_SSE2_ff): Likewise.
10382         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10383         (WRAPPER_IMPL_AVX): Likewise.
10384         (WRAPPER_IMPL_AVX_ff): Likewise.
10385         (WRAPPER_IMPL_AVX_fFF): Likewise.
10386         (WRAPPER_IMPL_AVX512): Likewise.
10387         (WRAPPER_IMPL_AVX512_ff): Likewise.
10388         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10389         Likewise.
10390         (WRAPPER_IMPL_SSE2_ff): Likewise.
10391         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10392         (WRAPPER_IMPL_AVX): Likewise.
10393         (WRAPPER_IMPL_AVX_ff): Likewise.
10394         (WRAPPER_IMPL_AVX_fFF): Likewise.
10395         (WRAPPER_IMPL_AVX512): Likewise.
10396         (WRAPPER_IMPL_AVX512_ff): Likewise.
10397         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10399 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10401         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10402         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10403         qualifier.
10404         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10405         internal_function qualifiers.
10407 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10409         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10410         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10411         * math/atest-exp.c (exp_mpn): Mark chk unused.
10412         * math/atest-exp2.c (exp_mpn): Likwise.
10413         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10414         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10416 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10419         Remove macro.
10420         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10421         <kernel-features.h>.
10422         [__NR_ppoll]: Make code unconditional.
10423         [!__ASSUME_PPOLL]: Remove conditional code.
10425         * sysdeps/unix/sysv/linux/kernel-features.h
10426         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10427         (__ASSUME_ACCEPT4): Likewise.
10428         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10429         Define.
10430         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10431         Likewise.
10432         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10433         Likewise.
10434         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10435         Likewise.
10436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10437         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10438         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10439         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10440         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10441         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10442         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10443         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10444         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10445         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10446         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10447         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10448         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10449         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10450         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10451         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10452         Likewise.
10453         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10454         Likewise.
10455         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10456         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10457         0x040300].
10458         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10459         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10460         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10461         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10462         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10463         0x030300].
10464         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10465         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10466         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10467         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10468         0x040300].
10469         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10470         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10471         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10472         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10473         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10474         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10475         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10476         0x030300].
10477         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10478         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10479         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10480         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10481         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10482         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10483         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10484         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10485         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10486         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10487         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10488         0x040300].
10489         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10490         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10491         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10492         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10493         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10494         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10495         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10496         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10497         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10498         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10499         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10500         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10501         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10502         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10503         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10504         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10505         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10506         Likewise.
10507         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10508         Likewise.
10510 2016-03-15  Andreas Schwab  <schwab@suse.de>
10512         [BZ #19257]
10513         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10514         statp->_u._ext.nscount as loop count.
10516 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10518         * math/test-signgam-finite-c99.c: Also #undef
10519         __LIBC_INTERNAL_MATH_INLINES.
10520         * math/test-signgam-main.c: Likewise.
10522 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10524         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10525         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10526         (MADV_FREE): Likewise.
10527         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10528         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10529         EPOLLEXCLUSIVE.
10531 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10533         * timezone/README: Remove mention of checktab.awk. Mention wiki
10534         SharedSourceFiles.
10536 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10538         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10539         WUNTRACED.
10541 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10543         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10544         order to match the type of p when calling atomic_exchange_acq().
10546 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10548         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10549         cfi_offset calls.
10550         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10551         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10552         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10553         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10554         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10556 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10558         * timezone/checktab.awk: Removed.
10560 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10562         * manual/math.texi (Errors in Math Functions): Document relaxed
10563         accuracy goals for IBM long double.
10564         * math/libm-test.inc (test_exceptions): Always allow spurious
10565         "underflow" and "inexact" exceptions for IBM long double.
10567 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10569         [BZ #19762]
10570         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10571         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10572         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10573         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10574         (bit_arch_*): This for feature array.
10575         (bit_*): Renamed to ...
10576         (bit_cpu_*): This for cpu array.
10577         (index_*): Renamed to ...
10578         (index_arch_*): This for feature array.
10579         (index_*): Renamed to ...
10580         (index_cpu_*): This for cpu array.
10581         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10582         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10583         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10584         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10585         bit_##name with index_cpu_##name and bit_cpu_##name.
10586         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10587         bit_##name with index_arch_##name and bit_arch_##name.
10589 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10591         [BZ #19792]
10592         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10593         Terminate FDE before return label.
10595 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10597         [BZ #19790]
10598         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10599         (rintl): Define as macro.
10600         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10601         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10602         of fesetround.  Ensure results are evaluated before end of scope.
10603         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10604         USE_AS_NEARBYINTL and include s_rintl.c.
10605         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10606         Disable exception traps in new environment.
10607         (libc_feholdsetround_ppc_ctx): Likewise.
10609 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10611         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10612         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10613         (tst_audit10_aux) [__AVX512F__]: ... here.
10615 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10617         * include/sys/auxv.h: New file.
10619 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10621         [BZ #19759]
10622         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10624 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10626         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10627         operand modifier.
10628         (feclearexcept): Likewise.
10630 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10632         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10633         to reflect the entire 32-bit HWCAP.
10634         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10635         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10637 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10639         [BZ #19783]
10640         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10641         $(test-via-rtld-prefix).
10642         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10644 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10646         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10647         union wait.  Report any non-zero exit status as error.
10649 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10651         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10652         configured with --enable-hardcoded-path-in-tests.
10654 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10656         [BZ #19677]
10657         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10658         (__ieee754_remainderl): Put zero low parts in canonical form.
10659         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10660         file.  Based on
10661         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10662         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10663         with wrapper round test-fmodrem-ldbl-128ibm.c.
10664         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10665         file.
10666         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10667         Likewise.
10668         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10669         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10671 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10673         [BZ #19610]
10674         * elf/ldconfig.c (opt_link): Update comment.
10675         (options): Update help string for option -X.
10676         (search_dir): Unlink stale symbolic link only if updating symbolic
10677         links.
10678         * elf/tst-ldconfig-X.sh: New file.
10679         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10680         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10682 2016-03-07  Andreas Schwab  <schwab@suse.de>
10684         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10685         needed arguments.
10687 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10689         [BZ #15333]
10690         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10691         to lstat64.
10693 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10695         * libio/filedoalloc.c (isatty): Remove.
10696         (local_isatty): Add comment.  Call __isatty directly.
10697         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10698         * libio/wfiledoalloc.c (isatty): Remove.
10699         (_IO_wfile_doallocate): Update comment.
10701 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10703         [BZ #19269]
10704         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10705         tst-audit4-aux.o.
10706         (tst-audit10): Depend on tst-audit10-aux.o.
10707         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10708         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10709         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10710         instead of inline AVX code.
10711         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10712         instead of inline AVX512 code.
10713         * sysdeps/x86_64/tst-audit4-aux.c: New file
10714         * sysdeps/x86_64/tst-audit10-aux.c: New file
10716         [BZ #19648]
10717         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10719 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10721         [BZ #14750]
10722         [BZ #10354]
10723         [BZ #18433]
10724         * include/sched.h (__clone): Add hidden prototype.
10725         (__clone2): Likewise.
10726         * include/unistd.h (__dup): Likewise.
10727         * posix/Makefile (tests): Add tst-spawn2.
10728         * posix/tst-spawn2.c: New file.
10729         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10730         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10731         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10732         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10733         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10734         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10735         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10736         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10737         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10738         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10739         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10741         Likewise.
10742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10743         Likewise.
10744         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10745         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10746         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10747         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10748         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10749         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10750         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10751         * sysdeps/unix/sysv/linux/nptl-signals.h
10752         (____nptl_is_internal_signal): New function.
10753         * sysdeps/unix/sysv/linux/spawni.c: New file.
10755         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10756         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10757         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10758         * posix/tst-execvp2.c (do_test): Likewise.
10759         * posix/tst-execvp3.c (do_test): Likewise.
10760         * posix/tst-execvp4.c (do_test): Likewise.
10761         * posix/tst-execvpe1.c: New file.
10762         * posix/tst-execvpe2.c: Likewise.
10763         * posix/tst-execvpe3.c: Likewise.
10764         * posix/tst-execvpe4.c: Likewise.
10765         * posix/tst-execvpe5.c: Likewise.
10766         * posix/tst-execvpe6.c: Likewise.
10768         [BZ #19534]
10769         * posix/execl.c (execl): Remove dynamic memory allocation.
10770         * posix/execle.c (execle): Likewise.
10771         * posix/execlp.c (execlp): Likewise.
10773 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10775         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10776         Replace .text with .text.avx512.
10777         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10778         Likewise.
10780 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10782         * sysdeps/generic/libnsl.abilist: New file.
10783         * sysdeps/generic/libutil.abilist: New file.
10785 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10787         [BZ #19762]
10788         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10789         HAS_ARCH_FEATURE with Fast_Rep_String.
10790         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10791         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10792         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10793         Likewise.
10794         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10795         Likewise.
10796         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10797         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
10798         Likewise.
10799         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
10800         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
10801         Likewise.
10803 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10805         [BZ #19745]
10806         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10807         with *%rax in call.
10809 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10811         [BZ #19745]
10812         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
10813         with *__libc_start_main@GOTPCREL(%rip) in call.
10815 2016-03-04  Roland McGrath  <roland@hack.frob.com>
10817         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
10818         inside conditional for nonempty $(CXX).
10820         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
10821         nonempty.
10823         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
10824         to test for empty $(CXX) rather than $(CXX) of "no".
10826 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10828         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
10830 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
10831             H.J. Lu  <hongjiu.lu@intel.com>
10833         [BZ #18880]
10834         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
10835         instead of Slow_BSF, and also check for Fast_Copy_Backward to
10836         enable __memcpy_ssse3_back.
10838 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10840         [BZ #19758]
10841         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10842         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
10844 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10846         [BZ #19490]
10847         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
10848         (__fentry__): Likewise.
10850 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10852         * gmon/Makefile (noprof): Add $(sysdep_noprof).
10853         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
10855 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10857         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
10858         __mcount_internal directly.
10859         (C_LABEL(__fentry__)): Likewise.
10860         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
10861         directly.
10863 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10865         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10866         (__start_context): Call __setcontext directly.
10868 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
10870         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10871         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10872         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
10873         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10874         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10875         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10876         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
10877         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10878         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10879         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
10880         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10881         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10882         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10883         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10884         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10885         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10886         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
10887         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10888         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10889         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10890         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
10891         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10892         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10893         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10894         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
10895         Remove conditional code.
10896         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10897         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
10898         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10899         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10900         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
10901         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10902         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10903         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10904         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10905         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10906         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10907         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10909 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
10911         * NEWS (2.23): Fix typo in bug 19048 text.
10913 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
10915         [BZ #14259]
10916         * Makeconfig: Rename msgcatdir to localedir.
10917         Rename inst_msgcatdir to inst_localedir.
10918         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
10919         * config.make.in: Add localedir.
10920         * elf/Makefile ($(objpfx)sotruss): Use localedir.
10921         (ldd-rewrite): Likewise.
10922         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
10923         (install-others): Use inst_localedir.
10924         (CPPFLAGS): Use localedir.
10925         * locale/Makefile (locale-CPPFLAGS): Likewise.
10926         * po/Makefile (mo-installed): Use inst_localedir.
10928         [BZ #19575]
10929         * localedata/charmaps/GB18030: Update comments regarding PAU to
10930         non-PUA mappings.
10932 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
10934         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
10935         test for header.
10936         * sysdeps/unix/sysv/linux/configure: Regenerated.
10937         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
10938         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
10939         Remove conditional code.
10940         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
10942         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10943         Define to 3.2.0.
10944         (arch_minimum_kernel): Likewise.
10945         * sysdeps/unix/sysv/linux/configure: Regenerated.
10946         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10947         Define to 2.6.32.
10948         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
10949         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
10950         (arch_minimum_kernel): Define to 2.6.32.
10951         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
10952         * README: Document Linux 3.2 requirement.
10953         * manual/install.texi (Linux): Document Linux 3.2 headers
10954         requirement.
10955         * INSTALL: Regenerated.
10957 2016-02-24  Andreas Schwab  <schwab@suse.de>
10959         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
10960         if !NO_LONG_DOUBLE.
10962 2016-02-22  Roland McGrath  <roland@hack.frob.com>
10964         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
10965         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
10967 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
10969         [BZ #19512]
10970         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
10972 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10974         * posix/tst-dir.c: Include libc-internal.h.
10976 2016-02-20  Florian Weimer  <fweimer@redhat.com>
10978         [BZ #19056]
10979         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10980         * manual/filesys.texi (Reading/Closing Directory): Mention
10981         deprecaion.
10982         * posix/tst-dir.c (main): Disable deprecation warning in test.
10984 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10986         [BZ #19679]
10987         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10988         Renamed to ...
10989         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10990         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10991         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10992         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10993         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10994         * sysdeps/x86_64/dl-trampoline.h
10995         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10996         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10998 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11000         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11002 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11004         * elf/elf.h (R_386_GOT32X): New.
11005         (R_386_NUM): Update.
11006         (R_X86_64_GOTPCRELX: New.
11007         (R_X86_64_REX_GOTPCRELX): New.
11008         (R_X86_64_NUM): Update.
11010 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11012         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11014 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11016         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11017         assign attr->stackaddr to it, and adjust it down when
11018         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11019         [_STACK_GROWS_UP]: Delete assert.
11020         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11021         Implement stack grows up logic.
11022         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11023         stack grows up logic.
11025 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11027         * NEWS: Update with 2.24 template.
11029 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11031         [BZ #19678]
11032         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11033         Ensure +0.0 is returned when taking the next value below the least
11034         positive value.
11036 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11038         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11039         available.  Do not define NO_THREADS.
11040         * malloc/malloc.c: Do not check NO_THREADS.
11041         * malloc/arena.c: Likewise.
11043 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11045         * malloc/malloc.c (__libc_mallinfo): Update comment.
11046         (struct malloc_par): Remove max_total_mem member, it was always 0.
11047         (int_mallinfo): Store 0 into usmblks (no functional change).
11048         * malloc/hooks.c (struct malloc_state): Document that
11049         max_total_mem is always 0.
11050         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11051         always 0.
11052         * manual/memory.texi (Statistics of Malloc): Likewise.
11054 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11056         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11057         * malloc/arena.c (arena_max): Remove.
11058         (heap_trim, _int_new_arena): Do not update arena_max.
11060 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11062         * resolv/res_init.c (res_ninit): Update comment.
11064 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11066         [BZ #19505]
11067         * posix/spawn_int.h: Add headers and include guard.
11068         (__spawn_valid_fd): New function.
11069         * posix/spawn_faction_addopen.c
11070         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11071         * posix/spawn_faction_addclose.c
11072         (posix_spawn_file_actions_addclose): Likewise.
11073         * posix/spawn_faction_adddup2.c
11074         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11075         second file descriptor.
11076         * posix/spawn_valid_fd.c: New file.
11077         * posix/tst-posix_spawn-fd.c: New file.
11078         * posix/Makefile (routines): Add spawn_valid_fd.
11079         (tests): Add tst-posix_spawn-fd.
11081 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11083         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11084         (do_test): Limit the number of arenas, so that we can use fewer
11085         outer threads.  Limit timeout to 3 seconds, in preparation for a
11086         larger TIMEOUT value.
11088 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11090         [BZ #19674]
11091         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11092         sign in overflowing and underflowing results when overflow or
11093         underflow is detected early.  Include sign in result before rather
11094         than after scaling.
11096         [BZ #19603]
11097         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11098         (__ieee754_remainderl): Adjust sign of integer version of low part
11099         when taking absolute value of high part.
11100         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11101         * math/libm-test.inc (remainder_test_data): Add another test.
11102         (remquo_test_data): Likewise.
11104 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11106         [BZ #19602]
11107         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11108         equal high parts and both low parts zero specially.
11109         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11110         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11111         Add test-fmodl-ldbl-128ibm.
11113         [BZ #19595]
11114         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11115         common logic for all cases of shifting subnormal results.  Do not
11116         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11117         exponent to ldbl_insert_mantissa in subnormal case.
11119         [BZ #19594]
11120         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11121         on high and low parts then adjust result and use
11122         ldbl_canonicalize_int if needed.
11124         [BZ #19593]
11125         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11126         on high part and __floor or __ceil on low part then use
11127         ldbl_canonicalize_int if needed.
11129         [BZ #19592]
11130         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11131         high and low parts then use ldbl_canonicalize_int if needed.
11133         [BZ #17899]
11134         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11135         New function.
11136         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11137         on high and low parts then use ldbl_canonicalize_int if needed.
11139 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11141         * configure: Regenerated.
11143         * po/libc.pot: Regenerated.
11145         * po/be.po: Updated translation.
11146         * po/bg.po: Likewise.
11147         * po/ca.po: Likewise.
11148         * po/cs.po: Likewise.
11149         * po/da.po: Likewise.
11150         * po/el.po: Likewise.
11151         * po/eo.po: Likewise.
11152         * po/es.po: Likewise.
11153         * po/fi.po: Likewise.
11154         * po/fr.po: Likewise.
11155         * po/gl.po: Likewise.
11156         * po/hr.po: Likewise.
11157         * po/hu.po: Likewise.
11158         * po/ia.po: Likewise.
11159         * po/id.po: Likewise.
11160         * po/it.po: Likewise.
11161         * po/ja.po: Likewise.
11162         * po/lt.po: Likewise.
11163         * po/nb.po: Likewise.
11164         * po/nl.po: Likewise.
11165         * po/pt_BR.po: Likewise.
11166         * po/rw.po: Likewise.
11167         * po/sk.po: Likewise.
11168         * po/sl.po: Likewise.
11169         * po/sv.po: Likewise.
11170         * po/tr.po: Likewise.
11171         * po/zh_CN.po: Likewise.
11172         * po/zh_TW.po: Likewise.
11174         * version.h (RELEAES): Set to "development".
11175         (VERSION): Set to 2.23.90.
11177         * version.h (RELEASE): Set to "stable".
11178         (VERSION): Set to 2.23.
11179         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11181         * NEWS: Updated fixed bugs.
11183 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11184             Wilco Dijkstra  <wdijkstr@arm.com>
11186         [BZ #19462]
11187         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11188         (_STRING_INLINE_unaligned): This.
11189         * include/string.h: Include <string_private.h>.
11190         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11191         _STRING_INLINE_unaligned.
11192         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11193         (_STRING_INLINE_unaligned): New.
11194         * sysdeps/aarch64/string_private.h: New file.
11195         * sysdeps/generic/string_private.h: Likewise.
11196         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11197         * sysdeps/s390/string_private.h: Likewise.
11198         * sysdeps/x86/string_private.h: Likewise.
11199         * sysdeps/m68k/m680x0/m68020/bits/string.h
11200         (_STRING_ARCH_unaligned): Renamed to ...
11201         (_STRING_INLINE_unaligned): This.
11202         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11203         to ...
11204         (_STRING_INLINE_unaligned): This.
11205         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11206         to ...
11207         (_STRING_INLINE_unaligned): This.
11208         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11209         to ...
11210         (_STRING_INLINE_unaligned): This.
11212 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11213             H.J. Lu  <hongjiu.lu@intel.com>
11215         [BZ #19590]
11216         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11217         relocation.
11219 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11221         [BZ #18665]
11222         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11223         *herrno_p.
11224         (gaih_getanswer): Document functional behviour. Return tryagain
11225         if any result is tryagain.
11226         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11227         when freed.
11228         * resolv/res_send.c: Add copyright text.
11229         (__libc_res_nsend): Document that MAXPACKET is expected.
11230         (send_vc): Document. Remove buffer reuse.
11231         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11232         size of the buffer. Add Dprint for truncated UDP buffer.
11234 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11236         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11237         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11238         * INSTALL: Regenerate.
11240 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11241             Jonathan Wakely  <jwakely@redhat.com>
11242             Carlos O'Donell  <carlos@redhat.com>
11244         [BZ 19439]
11245         * math/Makefile (tests): Add test-math-isinff.
11246         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11247         * math/bits/mathcalls.h [__USE_MISC]: Use
11248         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11249         functions not in C++11 and which don't conflict e.g. isinff,
11250         isinfl etc.
11251         * math/test-math-isinff.cc: New file.
11253 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11255         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11257 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11259         [BZ #19529]
11260         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11262 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11264         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11266 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11268         [BZ #19550]
11269         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11270         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11271         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11272         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11273         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11274         New syscall entry.
11275         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11276         New syscall entry.
11277         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11278         syscall entry.
11280 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11282         [BZ #18240]
11283         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11284         unsigned int wraparound.
11286 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11288         [BZ #18240]
11289         * misc/bug18240.c: New test.
11290         * misc/Makefile (tests): Add it.
11292 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11293             Joseph Myers  <joseph@codesourcery.com>
11295         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11296         load in branch delay slot when less than a word of input left.
11298 2016-01-27  Andreas Schwab  <schwab@suse.de>
11300         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11301         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11302         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11303         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11305 2016-01-26  David S. Miller  <davem@davemloft.net>
11307         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11309 2016-01-25  David S. Miller  <davem@davemloft.net>
11311         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11312         __sqrtl_finite.
11313         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11314         instead using versioned_symbol.
11315         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11316         of entries.
11318         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11319         __sqrtl_finite to GLIBC_2.23
11321 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11323         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11325 2016-01-25  Andreas Schwab  <schwab@suse.de>
11327         [BZ #17514]
11328         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11329         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11330         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11331         * nptl/tst-mutex-errorcheck.c: New file.
11333 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11335         [BZ #18560]
11336         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11337         (IPCOP_semop): Likewise.
11338         (IPCOP_semget): Likewise.
11339         (IPCOP_semctl): Likewise.
11340         (IPCOP_msgsnd): Likewise.
11341         (IPCOP_msgrcv): Likewise.
11342         (IPCOP_msgget): Likewise.
11343         (IPCOP_msgctl): Likewise.
11344         (IPCOP_shmat): Likewise.
11345         (IPCOP_shmdt): Likewise.
11346         (IPCOP_shmget): Likewise.
11347         (IPCOP_shmctl): Likewise.
11349 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11351         * string/tst-endian.c: Include <libc-internal.h>.
11352         (do_test): Ignore tautological-compare warnings around
11353         "htobeXX (beXXtoh (i)) != i" and
11354         "htoleXX (leXXtoh (i)) != i" if-statements.
11356 2016-01-24  David S. Miller  <davem@davemloft.net>
11358         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11359         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11360         alias.
11361         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11362         __sqrtl_finite.
11364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11366 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11368         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11369         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11370         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11372 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11374         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11375         (thread_func): Use new function to simplify barrier check.
11376         (do_test): Use new function to simplify checking barrier exit
11377         code, and actually join the child thread.
11379 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11381         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11382         semicolon.
11383         (__libc_tend): Likewise.
11384         (__libc_tabort): Likewise.
11386 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11388         * sysdeps/nios2/libm-test-ulps: Update.
11389         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11390         (__gtsf2): Likewise.
11391         (__unorddf2): Likewise.
11392         (__unordsf2): Likewise.
11393         (__ledf2): Likewise.
11395 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11397         * nis/nis_table.c (__follow_path): Disable diagnostic for
11398         uninitialized variable that is a false positive for gcc 4.7.
11399         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11401 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11403         * sysdeps/nacl/lowlevellock-futex.h
11404         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11405         Always evaluate PRIVATE argument.
11407 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11409         [BZ #19490]
11410         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11411         (pthread_cond_broadcast): Use ENTRY/END
11412         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11413         (pthread_cond_signal): Likewise.
11414         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11415         Likewise.
11416         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11417         Likewise.
11418         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11419         Likewise.
11421 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11423         * sysdeps/ieee754/dbl-64/s_finite.c
11424         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11425         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11426         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11427         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11428         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11431         (__gtsf2): Add as optional for libc.so.
11432         (__unordsf2): Likewise.
11433         (__signbit): Remove for libc.so.
11434         (__signbitl): Likewise.
11436 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11438         * iconvdata/bug-iconv11.c (test_ibm93x):
11439         Use %zu printf format specifier for size_t argument.
11441 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11443         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11444         already-recorded ulps.
11445         * sysdeps/arm/libm-test-ulps: Regenerated.
11446         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11447         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11448         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11450 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11451             Paul Pluzhnikov  <ppluzhnikov@google.com>
11453         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11454         assembler not supporting AVX-512.
11456 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11458         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11460 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11462         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11463         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11465         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11467         * sysdeps/arm/libm-test-ulps: Regenerated.
11469 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11471         [BZ #19451]
11472         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11474 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11476         [BZ #19486]
11477         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11478         * sysdeps/generic/fix-fp-int-convert-overflow.h
11479         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11480         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11481         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11482         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11483         Likewise.
11484         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11485         Avoid conversions to long int where inexact exceptions
11486         could be raised.
11487         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11488         Likewise.
11489         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11490         Avoid conversions to long long int where inexact exceptions
11491         could be raised.
11492         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11493         Likewise.
11495 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11497         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11498         * configure: Regenerated.
11500 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11502         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11504 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11506         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11507         outside of comment.
11509 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11511         * nptl/tst-barrier1.c: Add description on first line.
11512         * nptl/tst-barrier2.c: Likewise.
11513         * nptl/tst-barrier3.c: Likewise.
11514         * nptl/tst-barrier4.c: Likewise.
11515         * nptl/tst-barrier5.c: Likewise.
11517 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11519         [BZ #18868]
11520         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11522 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11526         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11527         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11528         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11529         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11530         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11531         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11532         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11533         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11534         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11536 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11538         [BZ #13065]
11539         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11540         new implementation.
11541         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11542         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11543         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11544         (BARRIER_IN_THRESHOLD): New macro.
11545         * nptl/pthread_barrierattr_setpshared.c
11546         (pthread_barrierattr_setpshared): Clean up.
11547         * nptl/tst-barrier4.c: Correct comment.
11548         * nptl/tst-barrier5.c: New file.
11549         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11550         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11551         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11552         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11553         * nptl/lowlevelbarrier.sym: Remove.
11554         * nptl/DESIGN-barrier.txt: Remove.
11555         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11556         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11557         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11558         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11559         error.
11560         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11561         implementation.
11563 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11565         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11566         (do_child): Mask SIGRTMIN while thr is running.
11568 2016-01-15  Martin Sebor  <msebor@redhat.com>
11570         [BZ #19432]
11571         * iconvdata/Makefile: Add bug-iconv11.
11572         * iconvdata/bug-iconv11.c: New test.
11573         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11574         * iconvdata/ibm933.c: Same.
11575         * iconvdata/ibm935.c: Same.
11576         * iconvdata/ibm937.c: Same.
11577         * iconvdata/ibm939.c: Same.
11579 2016-01-15  Martin Sebor  <msebor@redhat.com>
11581         [BZ #19443]
11582         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11583         [DEBUG] (_ufc_set_bits): Declare used.
11584         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11585         [DEBUG] (print_all): Declare used.
11586         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11587         operands of the ternary ?: expression to target type.
11588         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11589         calling the undeclared abort.
11590         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11592 2016-01-15  Martin Sebor  <msebor@redhat.com>
11594         [BZ #18755]
11595         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11596         warnings.
11597         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11598         (__gai_create_helper_thread): Same.
11599         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11600         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11601         to suppress -Wmaybe-uninitialized warnings.
11603 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11605         [BZ #19465]
11606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11607         inside if.
11608         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11609         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11610         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11612 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11614         [BZ #19466]
11615         * time/tst-mktime2.c (time_t_max): Removed.
11616         (time_t_min): Likewise.
11617         (TYPE_SIGNED): New.
11618         (TYPE_MINIMUM): Likewise.
11619         (TYPE_MAXIMUM): Likewise.
11620         (TIME_T_MIN): Likewise.
11621         (TIME_T_MAX): Likewise.
11622         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11623         and TIME_T_MIN.
11624         (do_test): Likewise.
11626 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11628         [BZ #19467]
11629         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11630         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11632 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11634         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11636 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11638         * benchtests/Makefile (PYTHON): Define.
11639         (bench-func): Use $(PYTHON) to run python scripts.
11640         ($(objpfx)bench-%.c): Likewise.
11642 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11644         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11645         leading slash when `file_name' is "/".
11647 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11649         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11650         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11651         Likewise.
11652         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11653         Likewise.
11654         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11655         Likewise.
11656         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11657         enum constant and macro.
11658         (PTRACE_SETSIGMASK): Likewise.
11659         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11660         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11661         (PTRACE_GETSIGMASK): Likewise.
11662         (PTRACE_SETSIGMASK): Likewise.
11663         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11664         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11665         Likewise.
11666         (PTRACE_SETSIGMASK): Likewise.
11667         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11668         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11669         (PTRACE_GETSIGMASK): Likewise.
11670         (PTRACE_SETSIGMASK): Likewise.
11671         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11672         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11673         Likewise.
11674         (PTRACE_SETSIGMASK): Likewise.
11675         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11677         Likewise.
11678         (PTRACE_SETSIGMASK): Likewise.
11679         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11680         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11681         Likewise.
11682         (PTRACE_SETSIGMASK): Likewise.
11683         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11685 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11686             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11688         [BZ #19439]
11689         * math/bits/mathcalls.h
11690         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11691         prototype.
11692         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11694 2016-01-11  Andreas Schwab  <schwab@suse.de>
11696         [BZ #19253]
11697         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11698         cache when TZDEFRULES was used.
11699         * time/tst-tzname.c: New file.
11700         * time/Makefile (test): Add tst-tzname.
11701         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11702         * timezone/Makefile (test-zones): Add $(posixrules-file).
11703         ($(testdata)/$(posixrules-file)): New rule.
11705 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11707         Fix doc quoting problems with Texinfo 5
11708         Without this change, in the info file output, Texinfo 5 quotes code
11709         in text with undirected single quotes 'like this' and generates
11710         code examples that with many PDF readers cannot be cut out of PDFs
11711         and pasted into code.
11712         * manual/libc.texinfo: Configure the libc manual like the GNU
11713         Emacs manual, by using @documentencoding and setting
11714         txicodequoteundirected and txicodequotebacktick.  This way,
11715         Texinfo 5 quotes code in text with directed single quotes ‘like
11716         this’ and produces examples that can be cut out of PDFs.  This
11717         change causes Texinfo 5 to generate info files that contain UTF-8
11718         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11719         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11721 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11723         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11724         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11725         barriers to their respective compiler built-ins.
11726         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11727         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11728         * sysdeps/powerpc/sysdep.h: Likewise.
11729         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11730         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11731         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11733 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11735         * scripts/config.guess: Revert previous shebang change.
11736         * scripts/config.sub: Likewise.
11737         * scripts/mkinstalldirs: Likewise.
11739 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11741         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11742         PPC_FEATURE2_HAS_IEEE128.
11743         * sysdeps/powerpc/dl-procinfo.c:
11744         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11746 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11748         [BZ #19415]
11749         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11750         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11751         (_dl_lookup_address): Rewrite using function resolver trampoline.
11752         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11753         two bits in address.
11755 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11757         * longlong.h: Change !__SHMEDIA__ to
11758         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11759         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11761 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11762             Joseph Myers  <joseph@codesourcery.com>
11763             Mark Shinwell  <shinwell@codesourcery.com>
11764             Andrew Stubbs  <ams@codesourcery.com>
11765             Rich Felker <dalias@libc.org>
11767         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11769 2016-01-07  Richard Henderson  <rth@redhat.com>
11771         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11773 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11775         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11776         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11777         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11778         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11779         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11781 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11782             Joseph Myers  <joseph@codesourcery.com>
11784         * timezone/private.h: Update from tzcode 2015g.
11785         * timezone/tzfile.h: Likewise.
11786         * timezone/tzselect.ksh: Likewise.
11787         * timezone/zdump.c: Likewise.
11788         * timezone/zic.c: Likewise.
11789         * timezone/ialloc.c: Remove file.
11790         * timezone/scheck.c: Likewise.
11791         * timezone/Makefile (extra-objs): Remove variable.
11792         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11793         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11794         -Wno-maybe-uninitialized.
11795         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11796         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11797         (CFLAGS-ialloc.c): Remove variable.
11798         (CFLAGS-scheck.c): Likewise.
11799         * timezone/README: Update list of files from tzcode.
11801 2016-01-07  Khem Raj  <raj.khem@gmail.com>
11803         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
11804         instead of __fxprintf when _LIBC is undefined.
11806 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
11808         * catgets/test-gencat.sh: Remove space after shebang.
11809         * conform/GlibcConform.pm: Likewise.
11810         * conform/check-header-lists.sh: Likewise.
11811         * conform/conformtest.pl: Likewise.
11812         * conform/linknamespace.pl: Likewise.
11813         * conform/list-header-symbols.pl: Likewise.
11814         * debug/catchsegv.sh: Likewise.
11815         * elf/genrtldtbl.awk: Likewise.
11816         * elf/tst-pathopt.sh: Likewise.
11817         * elf/tst-rtld-load-self.sh: Likewise.
11818         * grp/tst_fgetgrent.sh: Likewise.
11819         * iconvdata/gen-8bit-gap-1.sh: Likewise.
11820         * iconvdata/gen-8bit-gap.sh: Likewise.
11821         * iconvdata/gen-8bit.sh: Likewise.
11822         * iconvdata/run-iconv-test.sh: Likewise.
11823         * intl/tst-gettext.sh: Likewise.
11824         * intl/tst-gettext2.sh: Likewise.
11825         * intl/tst-gettext4.sh: Likewise.
11826         * intl/tst-gettext6.sh: Likewise.
11827         * intl/tst-translit.sh: Likewise.
11828         * io/ftwtest-sh: Likewise.
11829         * libio/test-freopen.sh: Likewise.
11830         * locale/gen-translit.pl: Likewise.
11831         * malloc/tst-mtrace.sh: Likewise.
11832         * manual/check-safety.sh: Likewise.
11833         * manual/libc-texinfo.sh: Likewise.
11834         * manual/tsort.awk: Likewise.
11835         * manual/xtract-typefun.awk: Likewise.
11836         * nptl/tst-cancel-wrappers.sh: Likewise.
11837         * nptl/tst-tls6.sh: Likewise.
11838         * posix/globtest.sh: Likewise.
11839         * posix/tst-getconf.sh: Likewise.
11840         * posix/wordexp-tst.sh: Likewise.
11841         * scripts/check-c++-types.sh: Likewise.
11842         * scripts/check-local-headers.sh: Likewise.
11843         * scripts/config.guess: Likewise.
11844         * scripts/config.sub: Likewise.
11845         * scripts/cpp: Likewise.
11846         * scripts/cross-test-ssh.sh: Likewise.
11847         * scripts/documented.sh: Likewise.
11848         * scripts/evaluate-test.sh: Likewise.
11849         * scripts/gen-libc-abis: Likewise.
11850         * scripts/gen-sorted.awk: Likewise.
11851         * scripts/list-fixed-bugs.py: Likewise.
11852         * scripts/merge-test-results.sh: Likewise.
11853         * scripts/mkinstalldirs: Likewise.
11854         * scripts/rellns-sh: Likewise.
11855         * scripts/test-installation.pl: Likewise.
11856         * scripts/update-copyrights: Likewise.
11857         * stdio-common/tst-printf.sh: Likewise.
11858         * stdio-common/tst-unbputc.sh: Likewise.
11859         * stdlib/tst-fmtmsg.sh: Likewise.
11860         * stdlib/tst-setcontext3.sh: Likewise.
11861         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
11862         * sysdeps/unix/make-syscalls.sh: Likewise.
11864 2016-01-06  John David Anglin  <dave.anglin@bell.net>
11866         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
11867         asm stw with atomic_exchange_rel.  Add explanatory comment.
11868         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
11869         Likewise.
11871 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11873         [BZ #19122]
11874         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
11875         * sysdeps/generic/dl-unistd.h: New file.
11876         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
11878 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11880          [BZ #19122]
11881          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
11882          * sysdeps/generic/dl-mman.h: New file.
11883          * sysdeps/mach/hurd/dl-mman.h: Likewise.
11885 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
11887         * manual/texinfo.tex: Update to version 2016-01-04.21 with
11888         trailing whitespace removed.
11889         * scripts/config.guess: Update to version 2016-01-01.
11890         * scripts/config.sub: Update to version 2016-01-01.
11891         * scripts/move-if-change: Update from gnulib.
11893 2016-01-04  Anton Blanchard  <anton@samba.org>
11895         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
11896         for array indices.
11897         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
11899 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
11901         * NEWS: Update copyright dates.
11902         * catgets/gencat.c (print_version): Likewise.
11903         * csu/version.c (banner): Likewise.
11904         * debug/catchsegv.sh: Likewise.
11905         * debug/pcprofiledump.c (print_version): Likewise.
11906         * debug/xtrace.sh (do_version): Likewise.
11907         * elf/ldconfig.c (print_version): Likewise.
11908         * elf/ldd.bash.in: Likewise.
11909         * elf/pldd.c (print_version): Likewise.
11910         * elf/sotruss.sh: Likewise.
11911         * elf/sprof.c (print_version): Likewise.
11912         * iconv/iconv_prog.c (print_version): Likewise.
11913         * iconv/iconvconfig.c (print_version): Likewise.
11914         * locale/programs/locale.c (print_version): Likewise.
11915         * locale/programs/localedef.c (print_version): Likewise.
11916         * login/programs/pt_chown.c (print_version): Likewise.
11917         * malloc/memusage.sh (do_version): Likewise.
11918         * malloc/memusagestat.c (print_version): Likewise.
11919         * malloc/mtrace.pl: Likewise.
11920         * manual/libc.texinfo: Likewise.
11921         * nptl/version.c (banner): Likewise.
11922         * nscd/nscd.c (print_version): Likewise.
11923         * nss/getent.c (print_version): Likewise.
11924         * nss/makedb.c (print_version): Likewise.
11925         * posix/getconf.c (main): Likewise.
11926         * scripts/test-installation.pl: Likewise.
11927         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11929         * All files with FSF copyright notices: Update copyright dates
11930         using scripts/update-copyrights.
11931         * intl/plural.c: Regenerated.
11932         * locale/programs/charmap-kw.h: Likewise.
11933         * locale/programs/locfile-kw.h: Likewise.
11935 2016-01-02  Helge Deller  <deller@gmx.de>
11937         [BZ #19285]
11938         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
11939         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
11940         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
11941         (MADV_xxK_PAGES): Remove.
11943 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
11945         [BZ #15421]
11946         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
11947         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
11948         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
11949         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
11951 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
11953         [BZ #19408]
11954         * sysdeps/unix/sysv/linux/personality.c: New file.
11955         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
11956         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
11957         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
11958         (sysdep_routines): Add personality.
11959         (tests): Add tst-personality.
11960         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11961         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
11962         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
11963         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
11964         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
11965         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
11966         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
11967         Likewise.
11968         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
11969         Likewise.
11970         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
11971         Likewise.
11972         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
11973         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
11974         Likewise.
11976 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
11978         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11979         (PATH_ARM_SYSTYPE): Remove.
11980         (PATH_CPUINFO): Likewise.
11981         (IO_BASE_FOOTBRIDGE): Likewise.
11982         (IO_SHIFT_FOOTBRIDGE): Likewise.
11983         (struct platform): Likewise.
11984         (init_iosys): Remove compatibility code for 2.4 kernels.
11985         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11987 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11989         * malloc/tst-malloc-thread-fail.c: New file.
11990         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11991         (tst-malloc-thread-fail): Link against libpthread.
11993 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11995         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11996         (get_parser): New function.
11997         (main): New function.
11999 2015-12-29  Rob Wu  <rob@robwu.nl>
12001         [BZ #19369]
12002         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12004 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12006         [BZ #19270]
12007         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12009 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12011         [BZ #15421]
12012         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12014 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12016         [BZ #13690]
12017         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12018         after releasing it.
12019         (__lll_robust_unlock): Likewise.
12020         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12021         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12022         (lll_robust_unlock): Likewise.
12023         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12024         Prevent warnings in callers.
12026 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12028         * malloc/arena.c (list_lock): Update comment.
12030 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12032         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12033         __parse_hwcap_and_convert_at_platform to libc.a.
12035 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12037         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12038         platform and feature support for POWER9.
12039         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12040         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12041         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12042         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12043         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12044         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12045         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12046         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12048 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12050         Harmonize generic stdio-lock support with nptl
12052         This fixes build when _IO_funlockfile is a macro, fixes build where
12053         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12054         stack unwind.
12056         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12057         _IO_release_lock ): Use cleanup attribute on new
12058         _IO_acquire_lock_file variable instead of assuming that
12059         _IO_release_lock will be called.
12060         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12061         _IO_acquire_lock_needs_exceptions_enabled.
12062         (_IO_acquire_lock_clear_flags2): New macro.
12064 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12066         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12068 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12070         [BZ #19182]
12071         * malloc/arena.c (list_lock): Document lock ordering requirements.
12072         (free_list_lock): New lock.
12073         (ptmalloc_lock_all): Comment on free_list_lock.
12074         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12075         (detach_arena): Update comment.  free_list_lock is now needed.
12076         (_int_new_arena): Use free_list_lock around detach_arena call.
12077         Acquire arena lock after list_lock.  Add comment, including FIXME
12078         about incorrect synchronization.
12079         (get_free_list): Switch to free_list_lock.
12080         (reused_arena): Acquire free_list_lock around detach_arena call
12081         and attached threads counter update.  Add two FIXMEs about
12082         incorrect synchronization.
12083         (arena_thread_freeres): Switch to free_list_lock.
12084         * malloc/malloc.c (struct malloc_state): Update comments to
12085         mention free_list_lock.
12087 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12089         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12090         Remove functions.
12091         (sloww, sloww1): Accept argument to offset quadrant.
12092         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12093         quadrant.
12094         (__sin, __cos): Consolidate common code into new functions.
12095         (reduce_sincos_1, do_sincos_1): New functions.
12096         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12098         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12099         code to new functions.
12100         (reduce_sincos_2, do_sincos_2): New functions.
12101         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12103         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12104         common code for sincos.
12105         (__cos) [!IN_SINCOS]: Likewise.
12106         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12107         New function.
12108         (__sincos): Use it.
12110 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12112         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12113         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12114         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12116 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12118         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12121         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12122         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12123         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12124         index_Prefer_No_VZEROUPPER): New feature.
12125         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12126         Prefer_No_VZEROUPPER for Knights Landing.
12128 015-12-18  Torvald Riegel  <triegel@redhat.com>
12130         * math/atest-exp2.c (mp_exp_m1): Remove.
12132 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12134         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12135         syscalls.
12136         (__SYSCALL0): New macro.
12137         (__SYSCALL1): Likewise.
12138         (__SYSCALL2): Likewise.
12139         (__SYSCALL3): Likewise.
12140         (__SYSCALL4): Likewise.
12141         (__SYSCALL5): Likewise.
12142         (__SYSCALL6): Likewise.
12143         (__SYSCALL_CONCAT_X): Likewise.
12144         (__SYSCALL_CONCAT): Likewise.
12145         (__SYSCALL_DIST): Likewise.
12146         (__SYSCALL_CALL): Likewise.
12148 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12150         [BZ #19363]
12151         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12153 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12155         [BZ #19375]
12156         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12157         negative subnormals.
12159 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12162         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12163         (INTERNAL_SYSCALL_NCS): Use it.
12164         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12166 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12168         [BZ #19243]
12169         * malloc/arena.c (get_free_list): Remove assert and adjust
12170         reference count handling.  Add comment about reused_arena
12171         interaction.
12172         (reused_arena): Add comments abount get_free_list interaction.
12173         * malloc/tst-malloc-thread-exit.c: New file.
12174         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12175         (tst-malloc-thread-exit): Link against libpthread.
12177 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12179         [BZ #19367]
12180         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12181         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12182         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12183         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12184         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12186 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12188         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12189         Silvermont optimizations for Knights Landing.
12191 2015-12-15  Andreas Schwab  <schwab@suse.de>
12193         [BZ #17197]
12194         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12195         immediately after emitting SI.
12196         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12197         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12198         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12199         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12200         * iconvdata/bug-iconv10.c: New file.
12201         * iconvdata/Makefile (tests): Add bug-iconv10.
12202         ($(objpfx)bug-iconv10.out): New rule.
12204 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12206         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12207         aliasing violation.
12209 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12211         [BZ #18472]
12212         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12213         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12214         conditionals for them.
12215         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12216         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12218         sys/kdaemon.h.
12219         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12220         compat-only syscall, obsoleted in glibc 2.23.
12221         (create_module): Likewise.
12222         (get_kernel_syms): Likewise.
12223         (query_module): Likewise.
12224         (uselib): Likewise.
12225         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12227 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12229         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12230         <linux/version.h>.
12231         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12232         conditional code.
12233         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12234         and ioshift_name initialization.
12236 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12238         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12239         Fix indentation.
12241 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12243         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12245 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12247         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12249 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12250             Jakub Wilk  <jwilk@debian.org>
12252         [BZ #19347]
12253         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12254         to change the group of the device to the tty group.
12256 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12258         Split large string section; add truncation advice
12259         * manual/examples/strncat.c: Remove.
12260         This example was misleading, as the code would have undefined
12261         behavior if "hello" was longer than SIZE.  Anyway, the manual
12262         shouldn't encourage strncpy+strncat for this sort of thing.
12263         * manual/string.texi (Copying Strings and Arrays): Split into
12264         three sections Copying Strings and Arrays, Concatenating Strings,
12265         and Truncating Strings, as this section was way too long.  All
12266         cross-referenced changed.  Add advice about string-truncation
12267         functions.  Remove misleading strncat example.
12269 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12271         * manual/nss.texi (NSS Modules Interface): Document
12272         NSS_STATUS_NOTFOUND and SUCCESS.
12274 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12276         [BZ 18568]
12277         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12278         201505L, for Unicode 8.
12280 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12282         * locale/C-translit.h: Regenerate.
12284 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12286         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12287         and U+0153.
12289 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12291         [BZ #19351]
12292         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12293         expanding log(1+z), compare z rather than its square with epsilon
12294         to determine when to avoid evaluating the expansion.
12296         [BZ #19350]
12297         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12298         Increase overflow threshold.
12300         [BZ #19349]
12301         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12302         when small.
12304         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12306         New macro.
12307         [__LINUX_KERNEL_VERSION >= 0x040300]
12308         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12310         Likewise.
12311         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12312         Likewise.
12313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12314         Likewise.
12315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12316         Likewise.
12317         [__LINUX_KERNEL_VERSION >= 0x040300]
12318         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12319         [__LINUX_KERNEL_VERSION >= 0x040300]
12320         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12321         [__LINUX_KERNEL_VERSION >= 0x040300]
12322         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12323         [__LINUX_KERNEL_VERSION >= 0x040300]
12324         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12325         [__LINUX_KERNEL_VERSION >= 0x040300]
12326         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12327         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12328         Likewise.
12329         [__LINUX_KERNEL_VERSION >= 0x040300]
12330         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12332         Likewise.
12333         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12334         Likewise.
12335         [__LINUX_KERNEL_VERSION >= 0x040300]
12336         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12337         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12338         Likewise.
12339         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12340         Likewise.
12341         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12342         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12343         Likewise.
12344         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12345         Likewise.
12346         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12347         Likewise.
12348         [__LINUX_KERNEL_VERSION >= 0x040300]
12349         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12350         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12351         Likewise.
12352         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12353         Likewise.
12354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12355         Likewise.
12356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12357         Likewise.
12358         [__LINUX_KERNEL_VERSION >= 0x040300]
12359         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12360         [__LINUX_KERNEL_VERSION >= 0x040300]
12361         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12362         [__LINUX_KERNEL_VERSION >= 0x040300]
12363         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12364         [__LINUX_KERNEL_VERSION >= 0x040300]
12365         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12366         [__LINUX_KERNEL_VERSION >= 0x040300]
12367         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12369         Likewise.
12370         [__LINUX_KERNEL_VERSION >= 0x040300]
12371         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12373         Likewise.
12374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12375         Likewise.
12376         [__LINUX_KERNEL_VERSION >= 0x040300]
12377         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12378         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12379         Likewise.
12380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12381         Likewise.
12382         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12383         (__ASSUME_SOCKET_SYSCALL): Likewise.
12384         (__ASSUME_BIND_SYSCALL): Likewise.
12385         (__ASSUME_CONNECT_SYSCALL): Likewise.
12386         (__ASSUME_LISTEN_SYSCALL): Likewise.
12387         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12388         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12389         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12390         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12391         (__ASSUME_SEND_SYSCALL): Likewise.
12392         (__ASSUME_SENDTO_SYSCALL): Likewise.
12393         (__ASSUME_RECV_SYSCALL): Likewise.
12394         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12395         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12396         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12397         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12398         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12399         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12400         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12401         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12402         Likewise.
12403         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12404         Likewise.
12405         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12406         Likewise.
12407         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12408         Likewise.
12409         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12410         Likewise.
12411         [__LINUX_KERNEL_VERSION >= 0x020625]
12412         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12413         [__LINUX_KERNEL_VERSION >= 0x020625]
12414         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12415         [__LINUX_KERNEL_VERSION >= 0x020625]
12416         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12417         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12418         Likewise.
12419         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12420         Likewise.
12421         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12422         Likewise.
12423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12424         Likewise.
12425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12426         Likewise.
12427         [__LINUX_KERNEL_VERSION >= 0x020625]
12428         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12429         [__LINUX_KERNEL_VERSION >= 0x020625]
12430         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12431         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12432         Likewise.
12433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12434         Likewise.
12436 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12438         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12439         record the current if the current ABI and CPU support the FP64
12440         extension.
12441         (has-modd-spreg): Define to record the current if the current ABI and
12442         CPU support 32-bit floating point values in odd FPU registers.
12443         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12444         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12445         $(has-modd-spreg) equals yes.
12446         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12447         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12448         $(has-modd-spreg) equal yes.
12450 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12452         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12453         basename.
12455 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12457         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12458         (bench-string): ... here.
12459         (bench): Add bench-string.
12460         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12461         to *-benchset to reflect what they are.
12462         (benchset): Adjust.
12464         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12465         cos-inputs.
12467 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12469         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12470         __attribute__ ((__simd__)) for vector math function declarations.
12472 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12474         Fix typo in strncat, wcsncat manual entries
12475         * manual/string.texi (Copying and Concatenation): Fix typos in
12476         sample implementations of strncat and wcsncat, by having them use
12477         the old value of the destination length, not the new one.
12479 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12481         [BZ #16961]
12482         [BZ #16962]
12483         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12484         string on the stack for strtod.
12485         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12486         a string on the stack for strtof.
12487         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12488         constructing a string on the stack for strtold.
12489         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12490         __strtold_nan to GLIBC_PRIVATE.
12491         * math/test-nan-overflow.c: New file.
12492         * math/test-nan-payload.c: Likewise.
12493         * math/Makefile (tests): Add test-nan-overflow and
12494         test-nan-payload.
12496 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12498         Consistency about byte vs character in string.texi
12499         * manual/string.texi (String and Array Utilities):
12500         Distinguish more carefully among bytes, multibyte characters,
12501         and wide characters.  Use "byte" when talking about C 'char',
12502         to distinguish it more clearly from multibyte characters.
12503         Say "wide character" or "multibyte character" instead of
12504         "character", when a wide or multibyte character is intended.
12505         Similarly for "multibyte string" versus "string".
12506         Define these terms more carefully.
12508 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12510         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12511         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12512         Likewise.
12513         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12514         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12515         * sysdeps/sh/math_private.h: New file.
12516         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12517         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12518         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12519         long double function name.
12520         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12521         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12522         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12523         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12524         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12526         Remove __finitel, __isinfl, and __isnanl.
12527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12528         Likewise.
12529         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12531         Remove __finitel.
12532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12533         Likewise.
12534         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12536 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12538         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12539         installed libmvec_nonshared.a.
12541 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12543         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12544         (sysdep_routines): Likewise.
12545         (sysdep-rtld-routines): Likewise.
12546         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12547         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12548         * sysdeps/powerpc/Versions: Added new
12549         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12550         * sysdeps/powerpc/hwcapinfo.c: New file.
12551         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12552         and parse hwcap, hwcap2 and platform number information.
12553         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12554         to store HWCAP+HWCAP2 and platform number.
12555         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12556         for HWCAP+HWCAP2 and platform number in the TCB.
12557         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12558         the HWCAP, HWCAP2 and platform number in the TCB.
12559         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12560         (TLS_INIT_TP): Included calls to add the hwcap and
12561         at_platform values in the TCB in TP initialization.
12562         (TLS_DEFINE_INIT_TP): Likewise.
12563         (THREAD_GET_HWCAP): New macro.
12564         (THREAD_SET_HWCAP): Likewise.
12565         (THREAD_GET_AT_PLATFORM): Likewise.
12566         (THREAD_SET_AT_PLATFORM): Likewise.
12567         * sysdeps/powerpc/powerpc32/dl-machine.h:
12568         (dl_platform_init): New function that calls
12569         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12570         powerpc32.
12571         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12572         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12573         this functionality, static linking case.
12574         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12575         linking case.
12576         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12577         __parse_hwcap_and_convert_at_platform for the static linking case.
12578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12579         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12580         ABI list for GLIBC 2.23.
12581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12582         Likewise.
12583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12584         Likewise.
12586 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12588         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12589         * configure: Regenerate.
12590         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12591         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12593 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12595         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12596         * iconvdata/ibm933.c: Likewise.
12597         * iconvdata/ibm935.c: Likewise.
12598         * iconvdata/ibm937.c: Likewise.
12599         * iconvdata/ibm939.c: Likewise.
12601 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12603         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12604         pthread_join.
12605         * nptl/tst-cancel21.c (tf): Likewise.
12607 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12609         [BZ #19313]
12610         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12611         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12612         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12613         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12614         Likewise.
12615         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12616         Likewise.
12617         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12618         Likewise.
12619         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12620         Likewise.
12621         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12622         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12623         unsigned long int with __CPU_MASK_TYPE.
12625 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12627         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12629 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12631         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12632         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12633         t512.x.
12634         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12636 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12638         [BZ #19214]
12639         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12640         argument to return extended model.  Update family and model
12641         with extended family and model when family == 0x0f.
12642         (init_cpu_features): Updated.
12644 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12646         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12647         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12649         * sysdeps/mach/hurd/mmap64.c: New file.
12651 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12653         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12654         rights for its main user thread in NEWTASK.
12656 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12658         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12659         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12661 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12663         [BZ #14259]
12664         * Makeconfig: Rename localedir to complocaledir.
12665         Rename inst_localedir to inst_complocaledir.
12666         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12667         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12668         * configure.ac: Use libc_cv_complocaledir.
12669         * configure: Regenerate.
12670         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12671         -DCOMPLOCALEDIR.
12672         * locale/findlocale.c: Use COMPLOCALEDIR.
12673         * locale/loadarchive.c: Likewise.
12674         * locale/programs/locale.c: Likewise.
12675         * locale/programs/localedef.c: Likewise.
12676         * locale/programs/locarchive.c: Likewise.
12677         * localedata/Makefile: Use inst_complocaledir.
12678         * sysdeps/gnu/configure: Regenerate.
12679         * sysdeps/hppa/configure: Regenerate.
12680         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12681         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12683         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12684         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12685         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12686         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12688 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12690         [BZ #19058]
12691         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12692         AS_NEEDED.
12693         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12694         workaround.
12695         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12696         libmvec-static-only-routines): Added new file.
12697         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12699 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12701         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12702         of interrupted RPC instead of restoring it.
12704         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12705         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12706         libc_hidden_def.
12707         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12708         into initialized data instead of common. Define rtld_hidden_data_def.
12709         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12710         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12711         libc_hidden_def.
12712         (if_freenameindex): Add libc_hidden_weak.
12713         (if_nameindex): Add libc_hidden_weak.
12714         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12715         __open64.
12716         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12717         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12718         * sysdeps/mach/nanosleep.c: Include <time.h>
12719         (__nanosleep): Rename to __libc_nanosleep.
12720         (__nanosleep): Add weak_alias.
12721         (nanosleep): Update alias.
12723 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12725         * stdlib/strtod_nan.c: New file.
12726         * stdlib/strtod_nan_double.h: Likewise.
12727         * stdlib/strtod_nan_float.h: Likewise.
12728         * stdlib/strtod_nan_main.c: Likewise.
12729         * stdlib/strtod_nan_narrow.h: Likewise.
12730         * stdlib/strtod_nan_wide.h: Likewise.
12731         * stdlib/strtof_nan.c: Likewise.
12732         * stdlib/strtold_nan.c: Likewise.
12733         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12734         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12735         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12736         * wcsmbs/wcstod_nan.c: Likewise.
12737         * wcsmbs/wcstof_nan.c: Likewise.
12738         * wcsmbs/wcstold_nan.c: Likewise.
12739         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12740         strtold_nan.
12741         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12742         wcstof_nan.
12743         * include/stdlib.h (__strtof_nan): Declare and use
12744         libc_hidden_proto.
12745         (__strtod_nan): Likewise.
12746         (__strtold_nan): Likewise.
12747         (__wcstof_nan): Likewise.
12748         (__wcstod_nan): Likewise.
12749         (__wcstold_nan): Likewise.
12750         * include/wchar.h (____wcstoull_l_internal): Declare.
12751         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12752         (____strtoull_l_internal): Remove declaration.
12753         (STRTOF_NAN): Define macro.
12754         (SET_MANTISSA): Remove macro.
12755         (STRTOULL): Likewise.
12756         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12757         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12758         (STRTOF_NAN): Define macro.
12759         (SET_MANTISSA): Remove macro.
12760         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12761         (SET_MANTISSA): Remove macro.
12762         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12763         macro.
12764         (SET_MANTISSA): Remove macro.
12765         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12766         macro.
12767         (SET_MANTISSA): Remove macro.
12768         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12769         (SET_MANTISSA): Remove macro.
12770         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12771         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12772         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12774         [BZ #19266]
12775         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12776         upper case and lower case letters inside NAN(), not using TOLOWER.
12777         * stdlib/tst-strtod-nan-locale-main.c: New file.
12778         * stdlib/tst-strtod-nan-locale.c: Likewise.
12779         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12780         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12781         Depend on $(gen-locales).
12782         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12783         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12784         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12785         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12786         Depend on $(gen-locales).
12787         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12789 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12791         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12793         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12795         __finitel, __isinfl, and __isnanl.
12796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12797         Likewise.
12798         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
12800         __finitel.
12801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12802         Likewise.
12803         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12805 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12807         * malloc/memusage.c (me): Remove redundant getenv call.
12809 2015-10-24  Florian Weimer  <fweimer@redhat.com>
12811         [BZ #19143]
12812         [BZ #19164]
12813         * nptl/check-cpuset.h: Remove.
12814         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
12815         Remove CPU set size check.
12816         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
12817         Likewise.
12818         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
12819         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12820         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
12821         (__pthread_setaffinity_new): Remove CPU set size check.
12822         * sysdeps/unix/sysv/linux/sched_setaffinity.c
12823         (__kernel_cpumask_size): Remove.
12824         (__sched_setaffinity_new): Remove CPU set size check.
12825         * manual/threads.texi (Default Thread Attributes): Remove stale
12826         reference to check_cpuset_attr, determine_cpumask_size in comment.
12827         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
12828         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
12829         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
12830         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
12831         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
12832         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
12833         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
12834         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
12835         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
12836         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
12837         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
12838         skeleton test file.
12839         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
12840         tst-affinity-pid.
12842 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12844         * scripts/update-abilist.sh: New file.
12845         * Makefile (+subdir_targets): Add subdir_update-all-abi.
12846         * Makerules (update-all-abi-%, update-all-abi)
12847         (subdir_update-all-abi): New targets.
12848         * elf/Makefile (update-all-abi): New target.
12850 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12852         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
12853         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
12854         (__libc_lock_define_initialized): Use it.
12855         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
12856         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
12857         * malloc/malloc.c (main_arena): Likewise.
12858         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12859         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12861 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
12863         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12864         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
12865         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12866         (PTRACE_O_MASK): Update value.
12867         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
12868         New value in enum __ptrace_setoptions.
12869         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12870         (PTRACE_O_MASK): Update value.
12871         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12872         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12873         (PTRACE_O_MASK): Update value.
12874         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12875         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12876         (PTRACE_O_MASK): Update value.
12877         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12878         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12879         (PTRACE_O_MASK): Update value.
12880         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
12881         New value in enum __ptrace_setoptions.
12882         (PTRACE_O_MASK): Update value.
12883         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
12884         New value in enum __ptrace_setoptions.
12885         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12886         (PTRACE_O_MASK): Update value.
12888         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
12889         New macro.
12890         (PACKET_AUXDATA): Likewise.
12891         (PACKET_ORIGDEV): Likewise.
12892         (PACKET_VERSION): Likewise.
12893         (PACKET_HDRLEN): Likewise.
12894         (PACKET_RESERVE): Likewise.
12895         (PACKET_TX_RING): Likewise.
12896         (PACKET_LOSS): Likewise.
12897         (PACKET_VNET_HDR): Likewise.
12898         (PACKET_TX_TIMESTAMP): Likewise.
12899         (PACKET_TIMESTAMP): Likewise.
12900         (PACKET_FANOUT): Likewise.
12901         (PACKET_TX_HAS_OFF): Likewise.
12902         (PACKET_QDISC_BYPASS): Likewise.
12903         (PACKET_ROLLOVER_STATS): Likewise.
12904         (PACKET_FANOUT_DATA): Likewise.
12905         (PACKET_MR_UNICAST): Likewise.
12907         [BZ #19242]
12908         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
12909         (TOUPPER): Likewise.
12910         * stdlib/tst-strtol-locale-main.c: New file.
12911         * stdlib/tst-strtol-locale.c: Likewise.
12912         * stdlib/Makefile (tests): Add tst-strtol-locale.
12913         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
12914         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
12915         Depend on $(gen-locales).
12916         * wcsmbs/tst-wcstol-locale.c: New file.
12917         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
12918         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
12919         tr_TR.ISO-8859-9.
12920         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
12921         Depend on $(gen-locales).
12923 2015-11-20  Roland McGrath  <roland@hack.frob.com>
12925         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
12926         __glibc_likely instead of __builtin_expect.  After falling back to
12927         dyncode_create in a non-ET_DYN case, use the allocate_code_data
12928         system interface to register the code pages as occupied.
12930 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
12932         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12933         [!ARM_MATH_PRIVATE_H].
12934         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
12935         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12936         [!HPPA_MATH_PRIVATE_H].
12937         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
12938         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
12939         to [!I386_MATH_PRIVATE_H].
12940         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
12941         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
12942         Change guard to [!M68K_MATH_PRIVATE_H].
12943         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
12944         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
12945         guard to [!MICROBLAZE_MATH_PRIVATE_H].
12946         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
12947         macro.
12948         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12949         [!MIPS_MATH_PRIVATE_H].
12950         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
12951         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12952         [!NIO2_MATH_PRIVATE_H].
12953         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
12954         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12955         [!TILE_MATH_PRIVATE_H].
12956         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
12958         [BZ #15421]
12959         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
12960         initialize with 0 and define as weak alias of __signgam.
12961         * include/math.h [!_ISOMAC] (__signgam): Declare.
12962         * math/Makefile (libm-calls): Add w_lgamma_compat.
12963         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
12964         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
12965         test-signgam-ullong-init.
12966         (tests-static): Add test-signgam-uchar-static,
12967         test-signgam-uchar-init-static, test-signgam-uint-static,
12968         test-signgam-uint-init-static, test-signgam-ullong-static and
12969         test-signgam-ullong-init-static.
12970         (CFLAGS-test-signgam-uchar.c): New variable.
12971         (CFLAGS-test-signgam-uchar-init.c): Likewise.
12972         (CFLAGS-test-signgam-uchar-static.c): Likewise.
12973         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
12974         (CFLAGS-test-signgam-uint.c): Likewise.
12975         (CFLAGS-test-signgam-uint-init.c): Likewise.
12976         (CFLAGS-test-signgam-uint-static.c): Likewise.
12977         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12978         (CFLAGS-test-signgam-ullong.c): Likewise.
12979         (CFLAGS-test-signgam-ullong-init.c): Likewise.
12980         (CFLAGS-test-signgam-ullong-static.c): Likewise.
12981         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12982         * math/Versions (libm): Add GLIBC_2.23.
12983         * math/lgamma-compat.h: New file.
12984         * math/test-signgam-main.c: Likewise.
12985         * math/test-signgam-uchar-init-static.c: Likewise.
12986         * math/test-signgam-uchar-init.c: Likewise.
12987         * math/test-signgam-uchar-static.c: Likewise.
12988         * math/test-signgam-uchar.c: Likewise.
12989         * math/test-signgam-uint-init-static.c: Likewise.
12990         * math/test-signgam-uint-init.c: Likewise.
12991         * math/test-signgam-uint-static.c: Likewise.
12992         * math/test-signgam-uint.c: Likewise.
12993         * math/test-signgam-ullong-init-static.c: Likewise.
12994         * math/test-signgam-ullong-init.c: Likewise.
12995         * math/test-signgam-ullong-static.c: Likewise.
12996         * math/test-signgam-ullong.c: Likewise.
12997         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12998         wrapper of w_lgamma_main.c.
12999         * math/w_lgamma_compat.c: New file.
13000         * math/w_lgamma_compatf.c: Likewise.
13001         * math/w_lgamma_compatl.c: Likewise.
13002         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13003         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13004         defining compatibility symbols.
13005         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13006         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13007         wrapper of w_lgammaf_main.c.
13008         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13009         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13010         defining compatibility symbols.
13011         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13012         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13013         wrapper of w_lgammal_main.c.
13014         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13015         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13016         defining compatibility symbols.
13017         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13018         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13019         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13020         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13021         <lgamma-compat.h>.
13022         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13023         (__ieee754_gamma): Define as alias.
13024         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13025         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13026         <lgamma-compat.h>.
13027         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13028         (__ieee754_gammaf): Define as alias.
13029         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13030         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13031         <lgamma-compat.h>.
13032         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13033         (__ieee754_gammal): Define as alias.
13034         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13035         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13036         <math/w_lgamma_compat.c>.
13037         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13038         Define as alias of __lgamma_compat and use in defining lgammal.
13039         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13040         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13041         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13042         (USE_AS_COMPAT): New macro.
13043         (LGAMMA_OLD_VER): Undefine and redefine.
13044         (lgammal): Do not define here.
13045         (gammal): Only define here if [GAMMA_ALIAS].
13046         * conform/linknamespace.pl (@whitelist): Remove signgam.
13047         * sysdeps/nacl/libm.abilist: Update.
13048         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13049         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13050         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13051         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13052         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13053         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13054         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13055         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13056         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13057         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13058         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13059         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13061         Likewise.
13062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13063         Likewise.
13064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13065         Likewise.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13067         Likewise.
13068         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13069         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13070         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13071         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13072         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13074         Likewise.
13075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13076         Likewise.
13077         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13078         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13079         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13081 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13083         [BZ #16364]
13084         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13085         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13087 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13089         * sysdeps/s390/fpu/bits/mathinline.h:
13090         Use __asm__ [__volatile__] instead of asm [volatile].
13091         * sysdeps/s390/abort-instr.h: Likewise.
13092         * sysdeps/s390/atomic-machine.h: Likewise.
13093         * sysdeps/s390/bits/string.h: Likewise.
13094         * sysdeps/s390/dl-tls.h: Likewise.
13095         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13096         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13097         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13098         * sysdeps/s390/fpu/fesetround.c: Likewise.
13099         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13100         * sysdeps/s390/fpu/s_fma.c: Likewise.
13101         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13102         * sysdeps/s390/memusage.h: Likewise.
13103         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13104         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13105         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13106         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13107         * sysdeps/s390/nptl/tls.h: Likewise.
13108         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13109         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13110         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13111         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13112         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13113         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13114         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13115         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13116         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13117         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13118         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13119         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13120         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13121         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13122         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13123         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13124         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13125         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13126         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13128         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13129         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13130         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13132 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13133             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13135         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13136         Add lwarx hint, and use macro for acquire instruction.
13137         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13138         Likewise.
13139         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13140         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13141         update to use new atomic macros.
13143 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13145         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13146         (__lll_trylock_elision): Fix setting of adapt_count.
13147         * sysdeps/unix/sysv/linux/powerpc/htm.h
13148         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13149         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13150         (_ABORT_SYSCALL): Renumber, and clarify definition.
13151         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13153 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13155         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13156         after system headers to prevent MIN/MAX redefinition.  Define
13157         HAVE_ALLOCA to preserve builtin alloca usage.
13159 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13161         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13162         static and don't set or restore rounding.
13163         (__cos)[IN_SINCOS]: Likewise.
13164         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13165         (__sincos): Set and restore rounding mode.  Remove check for infinite
13166         or NaN input.
13168         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13170         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13171         as used.
13173 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13175         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13177 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13179         * config.make.in (have-glob-dat-reloc): New.
13180         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13181         target supports GLOB_DAT relocaton. AC_SUBST.
13182         * configure: Regenerated.
13183         * elf/Makefile (tests): Add tst-prelink.
13184         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13185         (tst-prelink-ENV): New.
13186         ($(objpfx)tst-prelink-conflict.out): Likewise.
13187         ($(objpfx)tst-prelink-cmp.out): Likewise.
13188         * sysdeps/x86/tst-prelink.c: Moved to ...
13189         * elf/tst-prelink.c: Here.
13190         * sysdeps/x86/tst-prelink.exp: Moved to ...
13191         * elf/tst-prelink.exp: Here.
13192         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13193         (tst-prelink-ENV): Removed.
13194         ($(objpfx)tst-prelink-conflict.out): Likewise.
13195         ($(objpfx)tst-prelink-cmp.out): Likewise.
13196         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13198 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13200         [BZ #14551]
13201         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13202         (__mpn_construct_long_double): If high part overflows to infinity,
13203         set errno and recompute overflowed result of the correct sign.
13204         * sysdeps/ieee754/ldbl-128ibm/Makefile
13205         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13206         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13207         $(libm).
13208         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13210 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13212         [BZ #15479]
13213         [BZ #19238]
13214         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13215         floating-point state after first operation on input.  Restore full
13216         state rather than just rounding mode.
13217         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13218         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13219         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13221         [BZ #19235]
13222         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13223         add 0.5 to integer arguments.
13224         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13225         Likewise.
13226         (.LC2): New object.
13228 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13230         * scripts/pylintrc (reports): Set to no.
13232 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13234         * elf/dl-load.c (open_verify): Take new argument FD.
13235         Skip __open call if passed FD is not -1.
13236         (_dl_map_object, open_path): Update callers.
13237         * elf/dl-sysdep-open.h: New file.
13238         * elf/dl-load.c: Include it.
13239         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13240         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13241         * sysdeps/nacl/dl-sysdep-open.h: New file.
13242         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13243         from libc to rtld.
13245 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13247         [BZ #19228]
13248         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13249         and restore full floating-point state.
13250         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13251         Likewise.
13252         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13253         Likewise.
13254         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13255         Likewise.
13256         * math/test-nearbyint-except-2.c: New file.
13257         * math/Makefile (tests): Add test-nearbyint-except-2.
13259 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13261         [BZ #19178]
13262         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13263         (tst-prelink-ENV): New.
13264         ($(objpfx)tst-prelink-conflict.out): Likewise.
13265         ($(objpfx)tst-prelink-cmp.out): Likewise.
13266         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13267         * sysdeps/x86/tst-prelink.c: New file.
13268         * sysdeps/x86/tst-prelink.exp: Likewise.
13270 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13272         * math/auto-libm-test-in: Add another test of pow.
13273         * math/auto-libm-test-out: Regenerated.
13274         * math/libm-test.inc (pow_test_data): Add another test.
13276 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13278         [BZ #19219]
13279         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13280         weak_alias to nearbyintl.
13282 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13284         * sysdeps/aarch64/bits/string.h: New file.
13285         (_STRING_ARCH_unaligned): Define.
13287 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13289         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13290         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13291         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13292         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13295 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13297         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13298         for original name of the DSO.  Add it to the name list of the DSO
13299         if it is actually given.
13300         (_dl_map_object): Keep track of whether an audit module rewrote
13301         the file name.  If yes, pass the original name to
13302         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13303         debugging is enabled, log the change of the file name.
13304         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13305         _dl_map_object_from_fd.
13306         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13307         * elf/tst-audit11.c: New file
13308         * elf/tst-auditmod11.c: New file.
13309         * elf/tst-audit11mod1.c: New file.
13310         * elf/tst-audit11mod2.c: New file.
13311         * elf/tst-audit11mod2.map: New file.
13312         * elf/tst-audit12.c: New file
13313         * elf/tst-auditmod12.c: New file.
13314         * elf/tst-audit12mod1.c: New file.
13315         * elf/tst-audit12mod2.c: New file.
13316         * elf/tst-audit12mod2.map: New file.
13317         * elf/tst-audit12mod3.c: New file.
13319 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13321         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13322         Don't create weak aliases,
13323         because versioned symbols are created later.
13324         * sysdeps/s390/s390-32/setjmp.S
13325         (setjmp, _setjmp): Remove weak and rename to an unique name
13326         in SHARED case due to existing versioned symbols.
13327         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13328         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13329         (getcontext): Create weak alias only in non SHARED case.
13330         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13332 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13334         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13335         (__ASSUME_*_SYSCALL) Define new macros.
13336         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13337         Remove socketcall syscalls.
13338         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13339         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13340         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13341         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13342         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13343         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13345 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13347         [BZ #12926]
13348         Terminate process on invalid netlink response.
13349         * sysdeps/unix/sysv/linux/netlinkaccess.h
13350         (__netlink_assert_response): Declare.
13351         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13352         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13353         (sysdep_routines): Add netlink_assert_response.
13354         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13355         __netlink_assert_response.
13356         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13357         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13358         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13359         __netlink_assert_response.
13361 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13363         [BZ #19178]
13364         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13365         (RTYPE_CLASS_PLT): Likewise.
13366         (RTYPE_CLASS_COPY): Likewise.
13367         (RTYPE_CLASS_TLS): Likewise.
13368         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13369         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13370         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13371         DL_DEBUG_PRELINK.
13373 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13375         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13376         calls with argument -0.5.
13377         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13379         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13380         (libc_cv_z_nodlopen): Likewise.
13381         (libc_cv_z_initfirst): Likewise.
13382         * configure: Regenerated.
13384 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13386         Simplify abilist format to be line-based.
13387         * scripts/abilist.awk: Collect descriptors in the descs variable.
13388         (emit): Write descs variable and sort it
13389         externally, with sort.
13390         * sysdeps/**/*.abilist: Convert to new format.
13392 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13394         [BZ #11460]
13395         * io/Makefile (routines): Add fts64.
13396         (tests): Add tst-fts and tst-fts-lfs.
13397         (CFLAGS-fts64.c): New.
13398         * io/Versions (GLIBC_2.23): New.
13399         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13400         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13401         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13402         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13403         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13404         (FTSENT64): Likewise.
13405         (fts64_children): Likewise.
13406         (fts64_close): Likewise.
13407         (fts64_open): Likewise.
13408         (fts64_read): Likewise.
13409         (fts64_set): Likewise.
13410         * io/fts64.c: New file.
13411         * io/tst-fts.c: New test.
13412         * io/tst-fts-lfs.c: Likewise.
13413         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13414         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13415         fts64_set.
13416         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13417         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13418         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13419         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13420         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13421         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13422         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13423         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13424         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13425         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13426         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13427         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13428         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13430         Likewise.
13431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13432         Likewise.
13433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13435         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13436         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13437         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13438         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13439         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13442         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13443         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13444         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13445         * sysdeps/wordsize-64/fts.c: New file.
13446         * sysdeps/wordsize-64/fts64.c: Likewise.
13447         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13448         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13449         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13450         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13452 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13454         * math/libm-test.inc (NON_FINITE): New macro.
13455         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13456         * math/gen-libm-test.pl (show_exceptions): Add argument
13457         $non_finite.
13458         (parse_args): Update call to show_exceptions.
13459         * math/test-math-finite.h: New file.
13460         * math/test-math-no-finite.h: Likewise.
13461         * math/test-double-finite.c: Likewise.
13462         * math/test-float-finite.c: Likewise.
13463         * math/test-ldouble-finite.c: Likewise.
13464         * math/test-double.c: Include "test-math-no-finite.h".
13465         * math/test-float.c: Include "test-math-no-finite.h".
13466         * math/test-ldouble.c: Include "test-math-no-finite.h".
13467         * math/test-math-inline.h (TEST_FINITE): New macro.
13468         * math/test-math-vector.h (TEST_FINITE): Likewise.
13469         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13470         (libm-tests): Add test-float-finite and test-double-finite.
13471         ($(objpfx)test-float-finite.o): New dependency on
13472         $(objpfx)libm-test.stmp.
13473         ($(objpfx)test-double-finite.o): Likewise.
13474         ($(objpfx)test-ldouble-finite.o): Likewise.
13475         (libm-test-no-inline-cflags): New variable.
13476         (libm-test-finite-cflags): Likewise.
13477         (CFLAGS-test-float-finite.c): Likewise.
13478         (CFLAGS-test-double-finite.c): Likewise.
13479         (CFLAGS-test-ldouble-finite.c): Likewise.
13480         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13481         (CFLAGS-test-double.c): Likewise.
13482         (CFLAGS-test-ldouble.c): Likewise.
13484 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13486         * io/fcntl.c (__fcntl): Add ... to prototype.
13487         * misc/ioctl.c (__ioctl): Likewise.
13488         * misc/syscall.c (syscall): Likewise.
13490 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13492         * scripts/list-fixed-bugs.py: New file.
13494         [BZ #19213]
13495         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13496         returned for argument 1.
13497         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13498         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13499         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13500         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13501         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13502         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13504         [BZ #19211]
13505         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13506         __USE_XOPEN], not if [!__USE_ISOC99].
13507         (lgammaf): Likewise.
13508         (lgammal): Likewise.
13509         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13510         (gammaf): Likewise.
13511         (gammal): Likewise.
13512         * math/test-signgam-finite-c11.c: New file.
13513         * math/test-signgam-finite-c99.c: Likewise.
13514         * math/test-signgam-finite.c: Likewise.
13515         * math/Makefile (tests): Add test-signgam-finite,
13516         test-signgam-finite-c99 and test-signgam-finite-c11.
13517         (CFLAGS-test-signgam-finite.c): New variable.
13518         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13519         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13521         [BZ #19212]
13522         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13523         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13524         500].
13525         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13526         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13527         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13528         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13529         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13530         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13531         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13532         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13533         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13534         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13536         [BZ #19209]
13537         * math/bits/math-finite.h (ldexp): Remove declaration.
13538         (ldexpf): Likewise.
13539         (ldexpl): Likewise.
13541         [BZ #19205]
13542         * math/bits/math-finite.h (acosf): Condition declaration on
13543         [__USE_ISOC99].
13544         (acosl): Likewise.
13545         (acoshf): Likewise.
13546         (acoshl): Likewise.
13547         (asinf): Likewise.
13548         (asinl): Likewise.
13549         (atan2f): Likewise.
13550         (atan2l): Likewise.
13551         (atanhf): Likewise.
13552         (atanhl): Likewise.
13553         (coshf): Likewise.
13554         (coshl): Likewise.
13555         (expf): Likewise.
13556         (expl): Likewise.
13557         (fmodf): Likewise.
13558         (fmodl): Likewise.
13559         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13560         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13561         (j0l): Likewise.
13562         (y0f): Likewise.
13563         (y0l): Likewise.
13564         (j1f): Likewise.
13565         (j1l): Likewise.
13566         (y1f): Likewise.
13567         (y1l): Likewise.
13568         (jnf): Likewise.
13569         (jnl): Likewise.
13570         (ynf): Likewise.
13571         (ynl): Likewise.
13572         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13573         (lgammal_r): Likewise.
13574         (__lgamma_r_finite): New declaration.
13575         (__lgammaf_r_finite): Likewise.
13576         (__lgammal_r_finite): Likewise.
13577         (lgamma): Use __lgamma_r_finite.
13578         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13579         __lgammaf_r_finite.
13580         (lgammal): Condition definition on [__USE_ISOC99].  Use
13581         __lgammal_r_finite.
13582         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13583         __lgamma_r_finite.
13584         (gammaf): Condition definition on [__USE_ISOC99].  Use
13585         __lgammaf_r_finite.
13586         (gammal): Condition definition on [__USE_ISOC99].  Use
13587         __lgammal_r_finite.
13588         (logf): Condition declaration on [__USE_ISOC99].
13589         (logl): Likewise.
13590         (log10f): Likewise.
13591         (log10l): Likewise.
13592         (ldexpf): Likewise.
13593         (ldexpl): Likewise.
13594         (powf): Likewise.
13595         (powl): Likewise.
13596         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13597         __USE_ISOC99].
13598         (remainderf): Condition declaration on [__USE_ISOC99].
13599         (remainderl): Likewise.
13600         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13601         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13602         (scalbl): Likewise.
13603         (sinhf): Condition declaration on [__USE_ISOC99].
13604         (sinhl): Likewise.
13605         (sqrtf): Likewise.
13606         (sqrtl): Likewise.
13608 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13610         * sysdeps/arm/atomic-machine.h
13611         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13612         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13613         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13614         Remove conditional code.
13615         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13616         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13617         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13618         Change conditional to [__ASSEMBLER__].
13619         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13620         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13621         [!__ASSEMBLER__].
13622         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13623         code.
13624         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13625         conditional macro definitions.
13626         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13627         (__arch_compare_and_exchange_val_16_acq): Likewise.
13628         (__arch_compare_and_exchange_val_32_acq): Likewise.
13629         (atomic_exchange_and_add): Likewise.
13630         (atomic_add): Likewise.
13631         (atomic_add_negative): Likewise.
13632         (atomic_add_zero): Likewise.
13633         (atomic_bit_set): Likewise.
13634         (atomic_bit_test_set): Likewise.
13635         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13636         code unconditional.
13637         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13639         * math/test-math-errno.h: New file.
13640         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13641         empty.
13642         (TEST_ERRNO): New macro.
13643         (TEST_EXCEPTIONS): Likewise.
13644         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13645         (TEST_EXCEPTIONS): Likewise.
13646         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13647         * math/test-double.c: Include "test-math-errno.h".
13648         * math/test-float.c: Likewise.
13649         * math/test-ldouble.c: Likewise.
13650         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13651         code unconditional.
13652         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13653         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13654         unconditional.
13655         (test_errno): Only run code if TEST_ERRNO.
13656         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13658 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13660         * nptl/tst-once5.cc: Remove attribution.
13662 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13664         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13665         sqrt, tan, tanh, y0, y1 and yn.
13666         * math/auto-libm-test-out: Regenerated.
13667         * math/libm-test.inc (scalb_test_data): Add more tests.
13668         (scalbn_test_data): Likewise.
13669         (scalbln_test_data): Likewise.
13670         (signbit_test_data): Likewise.
13671         (sin_test_data): Likewise.
13672         (sincos_test_data): Likewise.
13673         (sinh_test_data): Likewise.
13674         (sqrt_test_data): Likewise.
13675         (tan_test_data): Likewise.
13676         (tanh_test_data): Likewise.
13677         (tgamma_test_data): Likewise.
13678         (y0_test_data): Likewise.
13679         (y1_test_data): Likewise.
13680         (yn_test_data): Likewise.
13681         (significand_test_data): Likewise.
13682         * sysdeps/i386/fpu/libm-test-ulps: Update.
13684 2015-11-03  David Kastrup  <dak@gnu.org>
13686         [BZ #18604]
13687         * assert/assert.h (assert): Don't macro-expand failed assertion
13688         expression in error message.
13689         * malloc/malloc.c (assert): Likewise.
13691 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13693         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13694         test.
13695         * configure: Regenerated.
13697 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13699         * math/libm-test.inc (modf_test_data): Add more tests.
13700         (nearbyint_test_data): Likewise.
13701         (nextafter_test_data): Likewise.
13702         (nexttoward_test_data): Likewise.
13703         (pow_test_data): Likewise.
13704         (remainder_test_data): Likewise.
13705         (remquo_test_data): Likewise.
13706         (rint_test_data): Likewise.
13708         [BZ #19201]
13709         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13710         Check for zero remainder in case of large exponents and ensure
13711         correct sign of result in that case.
13712         * math/libm-test.inc (remainder_test_data): Add more tests.
13714         [BZ #6799]
13715         * math/s_nextafter.c: Include <errno.h>.
13716         (__nextafter): Set errno on overflow and underflow.
13717         * math/s_nexttowardf.c: Include <errno.h>.
13718         (__nexttowardf): Set errno on overflow and underflow.
13719         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13720         (__nextafterl): Set errno on overflow and underflow.
13721         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13722         (__nexttoward): Set errno on overflow and underflow.
13723         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13724         (__nexttowardf): Set errno on overflow and underflow.
13725         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13726         (__nextafterf): Set errno on overflow and underflow.
13727         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13728         (__nextafterl): Set errno on overflow and underflow.
13729         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13730         (__nexttoward): Set errno on overflow and underflow.
13731         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13732         (__nexttowardf): Set errno on overflow and underflow.
13733         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13734         (__nextafterl): Set errno on overflow and underflow.
13735         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13736         (__nexttoward): Set errno on overflow and underflow.
13737         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13738         (__nexttowardf): Set errno on overflow and underflow.
13739         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13740         (__nexttoward): Set errno on overflow and underflow.
13741         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13742         (__nexttowardf): Set errno on overflow and underflow.
13743         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13744         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13745         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13746         (__nextafterl): Set errno on overflow and underflow.
13747         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13748         setting to be missing on overflow.  Add more tests.
13749         (nexttoward_test_data): Likewise.
13751         * configure.ac (libc_cv_initfini_array): Remove configure test.
13752         * configure: Regenerated.
13754 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13756         [BZ #19189]
13757         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13758         non-finite argument handle arguments with negative sign.
13760         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13761         result from infinite argument.
13762         (j1_test_data): Likewise.
13763         (jn_test_data): Likewise.
13764         (y0_test_data): Likewise.
13765         (y1_test_data): Likewise.
13766         (yn_test_data): Likewise.
13768         [BZ #16171]
13769         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13770         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13771         * math/w_remainderf.c (dremf): Define as weak alias of
13772         __remainderf.
13773         * math/w_remainderl.c (dreml): Define as weak alias of
13774         __remainderl.
13775         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13776         __remainder.
13777         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13778         __remainderf.
13779         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13780         __remainderl.
13781         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13782         weak alias of remainderl.
13783         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13784         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13785         alias of __remainder.
13786         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13787         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13788         strong alias of __remainderl.
13789         (dreml): Use long_double_symbol.
13790         * math/Makefile (libm-calls): Remove w_drem.
13791         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13792         (CFLAGS-nldbl-drem.c): Remove variable.
13793         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13794         * math/w_drem.c: Remove file.
13795         * math/w_dremf.c: Likewise.
13796         * math/w_dreml.c: Likewise.
13797         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
13798         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
13799         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
13801         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
13802         * sysdeps/i386/configure: Regenerated.
13803         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
13804         * sysdeps/x86_64/configure: Regenerated.
13806         * configure.ac (libc_cv_asm_protected_directive): Remove configure
13807         test.
13808         (libc_cv_visibility_attribute): Likewise.
13809         (libc_cv_protected_data): Test unconditionally.
13810         (libc_cv_broken_visibility_attribute): Remove configure test.
13811         (libc_cv_have_sdata_section): Test unconditionally.
13812         * configure: Regenerated.
13814         * include/libc-internal.h (libc_max_align_t): Remove typedef.
13815         * include/scratch_buffer.h: Include <stddef.h> instead of
13816         <libc-internal.h>.
13817         (struct scratch_buffer): Use max_align_t instead of
13818         libc_max_align_t.
13820 2015-10-29  Florian Weimer  <fweimer@redhat.com>
13822         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
13823         instead of extend_alloca.  Change control flow to avoid a goto.
13824         Remove assert which is trivially always true.
13826 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13828         [BZ #16068]
13829         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
13830         (FE_ALL_EXCEPT_X86): New macro.
13831         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13832         FE_ALL_EXCEPT.  Ensure precision control is included in
13833         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13834         handle "denormal operand exception" and clear FZ and DAZ bits.
13835         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
13836         (FE_ALL_EXCEPT_X86): New macro.
13837         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13838         FE_ALL_EXCEPT.  Ensure precision control is included in
13839         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13840         handle "denormal operand exception" and clear FZ and DAZ bits.
13841         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
13842         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
13843         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13844         test-fenv-x87 and test-fenv-sse-2.
13845         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
13847         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
13848         * math/test-double.h (BUILD_COMPLEX): New macro.
13849         * math/test-float.h (BUILD_COMPLEX): Likewise.
13850         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
13852         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
13853         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
13854         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
13855         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
13856         instead of DBL_DENORM_MIN in comment.
13857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
13858         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13859         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
13860         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
13861         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
13862         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13864 2015-10-28  Florian Weimer  <fweimer@redhat.com>
13866         [BZ# 19048]
13867         * malloc/malloc.c (struct malloc_state): Update comment.  Add
13868         attached_threads member.
13869         (main_arena): Initialize attached_threads.
13870         * malloc/arena.c (list_lock): Update comment.
13871         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
13872         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
13873         (deattach_arena): New function.
13874         (_int_new_arena): Initialize arena reference count and deattach
13875         replaced arena.
13876         (get_free_list, reused_arena): Update reference count and deattach
13877         replaced arena.
13878         (arena_thread_freeres): Update arena reference count and only put
13879         unreferenced arenas on the free list.
13881 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13883         [BZ #19181]
13884         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
13885         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
13886         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
13887         * math/test-fenv-clear-main.c: New file.
13888         * math/test-fenv-clear.c: Likewise.
13889         * math/Makefile (tests): Add test-fenv-clear.
13890         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
13891         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13892         test-fenv-clear-sse.
13893         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
13895         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
13896         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
13897         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
13899 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13901         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
13902         static libc.
13904 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13906         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
13907         test.
13908         * sysdeps/i386/configure: Regenerated.
13909         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
13910         test.
13911         * sysdeps/x86_64/configure: Regenerated.
13912         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
13913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13914         memset-avx2 unconditionally instead of conditionally on
13915         [$(config-cflags-avx2) = yes].
13916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13917         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
13918         unconditional.
13919         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
13920         * sysdeps/x86_64/multiarch/memset_chk.S
13921         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
13922         to [IS_IN (libc) && SHARED].
13924 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13926         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
13927         configure test.
13928         * sysdeps/arm/configure: Regenerated.
13929         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
13930         Define variable if not already defined.
13932         [BZ #17404]
13933         * sysdeps/mips/atomic-machine.h
13934         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
13935         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
13936         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13938         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
13939         unconditional.
13940         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
13941         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13942         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
13943         unconditional.
13944         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13945         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
13946         unconditional.
13947         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13948         * stdlib/setenv.c
13949         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
13950         code unconditional.
13951         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
13952         Remove conditional code.
13953         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13954         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
13955         unconditional.
13956         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13957         code.
13958         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13959         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
13960         unconditional.
13961         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13962         code.
13963         * sysdeps/ieee754/ldbl-128/k_tanl.c
13964         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13965         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13966         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
13967         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13968         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13969         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
13970         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
13971         unconditional.
13972         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13973         code.
13974         * sysdeps/ieee754/ldbl-96/k_tanl.c
13975         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13976         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13978         * nptl/tst-initializers1-c11.c: New file.
13979         * nptl/tst-initializers1-gnu11.c: Likewise.
13980         * nptl/Makefile (tests): Add these new tests.
13981         (CFLAGS-tst-initializers1-c11.c): New variable.
13982         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13984         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13985         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13986         instead of -std=gnu99.
13987         * configure.ac (systemtap): Test with -std=gnu11 instead of
13988         -std=gnu99.
13989         * configure: Regenerated.
13990         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13991         in compilation command in comment.
13993         * sysdeps/nptl/configure.ac: Remove file.
13994         * sysdeps/nptl/configure: Remove generated file.
13995         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13996         * configure: Regenerated.
13997         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13998         * config.make.in (have-forced-unwind): Remove variable.
13999         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14000         unconditional.
14001         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14002         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14003         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14004         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14005         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14006         unconditional.
14008 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14010         [BZ #19174]
14011         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14012         .skip_lock_out_of_tbegin_retries.
14013         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14014         (__lll_lock_elision): Likewise, and respect a value of
14015         try_tbegin <= 0.
14017 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14019         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14020         statement.
14022 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14024         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14025         variable.
14026         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14027         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14029         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14030         of -std=c1x -D_ISOC11_SOURCE.
14032         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14033         * configure: Regenerated.
14034         * manual/install.texi (Tools for Compilation): Document
14035         requirement for GCC 4.7 or later.
14036         * INSTALL: Regenerated.
14038 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14040         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14041         on CNT to a conditional jump to 'puntdata'.
14043 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14045         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14046         (libc_cv_gcc_tls_model_attr): Likewise.
14047         * configure: Regenerated.
14049         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14050         * configure: Regenerated.
14051         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14053 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14055         * configure.ac (old_glibc_headers): Remove configure test.
14056         * configure: Regenerated.
14057         * config.make.in (old-glibc-headers): Remove variable.
14058         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14059         (install): Remove dependency on remove-old-headers.
14060         (headers2_0): Remove variable.
14061         (remove-old-headers): Remove rule.
14063         * configure.ac (libc_cv_dot_text): Remove configure test.
14064         (libc_cv_asm_set_directive): Use .text instead of
14065         ${libc_cv_dot_text} in configure test.
14066         * configure: Regenerated.
14068 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14070         [BZ #19168]
14071         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14073 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14075         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14076         not support static linking.
14077         * configure: Regenerate.
14079 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14081         * math/libm-test.inc (check_float_internal): Do not special-case
14082         errors up to 0.5 ulp.
14084         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14085         log2.
14086         * math/auto-libm-test-out: Regenerated.
14087         * math/libm-test.inc (MAX_EXP): New macro.
14088         (ilogb_test_data): Add more tests.
14089         (isfinite_test_data): Likewise.
14090         (isgreater_test_data): Likewise.
14091         (isgreaterequal_test_data): Likewise.
14092         (isinf_test_data): Likewise.
14093         (isless_test_data): Likewise.
14094         (islessequal_test_data): Likewise.
14095         (islessgreater_test_data): Likewise.
14096         (isnan_test_data): Likewise.
14097         (isnormal_test_data): Likewise.
14098         (issignaling_test_data): Likewise.
14099         (isunordered_test_data): Likewise.
14100         (j0_test_data): Likewise.
14101         (j1_test_data): Likewise.
14102         (jn_test_data): Likewise.
14103         (lgamma_test_data): Likewise.
14104         (log_test_data): Likewise.
14105         (log10_test_data): Likewise.
14106         (log1p_test_data): Likewise.
14107         (log2_test_data): Likewise.
14108         (logb_test_data): Likewise.
14109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14111         [BZ #18611]
14112         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14113         avoid excess range and precision on underflow.
14114         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14115         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14116         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14117         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14118         underflow.
14119         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14120         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14121         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14122         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14123         * math/auto-libm-test-in: Do not allow missing errno setting for
14124         tests of j1 and jn.
14125         * math/auto-libm-test-out: Regenerated.
14127 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14129         [BZ #15491]
14130         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14131         floating-point environment instead of clearing all exceptions.
14132         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14133         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14134         merging in "invalid" exceptions from frndint.
14135         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14136         * math/test-nearbyint-except.c: New file.
14137         * math/Makefile (tests): Add test-nearbyint-except.
14139 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14141         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14143         * sysdeps/tile/libm-test-ulps: Regenerated.
14145 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14148         (__NR_sync_file_range2): Assume it is always defined.
14149         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14150         (__NR_sync_file_range): Assume it is always defined.
14152 2015-10-22  Andreas Schwab  <schwab@suse.de>
14154         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14155         INTERNAL_SYSCALL_ERRNO.
14156         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14157         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14158         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14159         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14160         Likewise.
14161         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14163 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14165         * io/tst-fcntl.c (fd): New static variable.
14166         (do_prepare): Open temporary file here....
14167         (do_test): ...not here.
14169         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14171 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14173         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14174         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14175         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14176         Moved before "#ifdef __ASSEMBLER__".
14178 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14180         [BZ #19156]
14181         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14182         arguments very close to 0.
14184 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14186         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14187         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14189 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14191         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14192         New.  Defined for GCC 5 and above when not compiling for
14193         profiling.
14194         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14196         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14197         Renamed to ...
14198         (CFLAGS-epoll_pwait.o): This.
14199         (CFLAGS-mmap.c): Renamed to ...
14200         (CFLAGS-mmap.o): This.
14201         (CFLAGS-mmap64.c): Renamed to ...
14202         (CFLAGS-mmap64.o): This.
14203         (CFLAGS-epoll_pwait.os): New.
14204         (CFLAGS-mmap.os): Likewise.
14205         (CFLAGS-mmap64.os): Likewise.
14206         (CFLAGS-semtimedop.os): Likewise.
14207         (CFLAGS-semtimedop.c): Renamed to ...
14208         (CFLAGS-semtimedop.o): This.
14210 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14212         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14213         warning message.
14215 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14217         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14218         * Makefile ($(objpfx)c++-types-check.out): Filter out
14219         $(+gccwarn-c) instead of -Wstrict-prototypes.
14221         * io/fts.c (fts_open): Convert to prototype-style function
14222         definition.
14223         * malloc/mcheck.c (mcheck): Likewise.
14224         (mcheck_pedantic): Likewise.
14225         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14226         internal_function.
14227         (re_search_internal): Likewise.
14228         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14229         prototype-style function definition.
14230         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14231         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14232         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14233         (xdr_utmpptr): Likewise.
14234         (xdr_utmparr): Likewise.
14235         (xdr_utmpidle): Likewise.
14236         (xdr_utmpidleptr): Likewise.
14237         (xdr_utmpidlearr): Likewise.
14239         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14240         log, log10 and log2.
14241         * math/auto-libm-test-out: Regenerated.
14242         * math/libm-test.inc (fmod_test_data): Add more tests.
14243         (fpclassify_test_data): Likewise.
14244         (frexp_test_data): Likewise.
14245         (hypot_test_data): Likewise.
14246         (ilogb_test_data): Likewise.
14248 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14250         * debug/fortify_fail.c (__fortify_fail): Convert to
14251         prototype-style function definition.  Use internal_function.
14252         * libio/genops.c (save_for_backup): Convert to prototype-style
14253         function definition.
14254         * libio/wgenops.c (save_for_wbackup): Likewise.
14255         * login/grantpt.c (grantpt): Likewise.
14256         * login/ptsname.c (ptsname): Likewise.
14257         (__ptsname_r): Likewise.
14258         * login/unlockpt.c (unlockpt): Likewise.
14259         * mach/msgserver.c (__mach_msg_server): Likewise.
14260         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14261         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14262         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14263         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14264         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14265         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14266         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14267         Likewise.
14268         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14269         internal_function.
14270         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14271         prototype-style function definition.
14272         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14273         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14274         (__pthread_create_2_0): Likewise.
14275         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14276         * nptl/register-atfork.c (__register_atfork): Likewise.
14277         * posix/glob.c (glob): Likewise.
14278         * posix/regcomp.c (re_comp): Likewise.
14279         * posix/regexec.c (re_exec): Likewise.
14280         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14281         [!__STDC__]: Remove conditional code.
14282         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14283         [!__STDC__]: Remove conditional code.
14284         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14285         [!__STDC__]: Remove conditional code.
14286         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14287         [!__STDC__]: Remove conditional code.
14288         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14289         [!__STDC__]: Remove conditional code.
14290         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14291         [!__STDC__]: Remove conditional code.
14292         * stdlib/mul.c [__STDC__]: Make code unconditional.
14293         [!__STDC__]: Remove conditional code.
14294         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14295         [!__STDC__]: Remove conditional code.
14296         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14297         [!__STDC__]: Remove conditional code.
14298         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14299         function definition.
14300         (STRTOF): Likewise.
14301         * stdlib/strtod_l.c (__STRTOF): Likewise.
14302         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14303         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14304         (__strtol_l): Likewise.
14305         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14306         [!__STDC__]: Remove conditional code.
14307         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14308         definition.
14309         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14310         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14311         type.
14312         (__strcasecmp): Convert to prototype-style function definition.
14313         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14314         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14315         type.
14316         (__strncasecmp): Convert to prototype-style function definition.
14317         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14318         * sunrpc/xdr.c (xdr_union): Likewise.
14319         * sunrpc/xdr_array.c (xdr_array): Likewise.
14320         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14321         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14322         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14323         Likewise.
14324         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14325         Likewise.
14326         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14327         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14328         Likewise.
14329         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14330         (LOCALE_PARAM_PROTO): Likewise.
14331         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14332         argument type.
14333         (ut_argument_spec): Remove macro.
14334         (ut_argument_spec_iso): Rename to ut_argument_spec.
14335         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14336         prototype-style function definition.
14337         (memcpy_uppcase): Likewise.
14338         (__strftime_internal): Likewise.
14339         (my_strftime): Likewise.
14340         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14341         (LOCALE_PARAM_DECL): Likewise.
14342         [_LIBC] (LOCALE_PARAM): Include argument type.
14343         (__strptime_internal): Convert to prototype-style function
14344         definition.
14345         (strptime): Likewise.
14346         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14347         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14348         type.
14349         (__wcscasecmp): Convert to prototype-style function definition.
14350         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14351         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14352         type.
14353         (__wcsncasecmp): Convert to prototype-style function definition.
14355         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14356         function definition.
14357         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14358         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14359         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14360         * elf/dl-minimal.c (_itoa): Likewise.
14361         * hurd/hurdmalloc.c (malloc): Likewise.
14362         (free): Likewise.
14363         (realloc): Likewise.
14364         * inet/inet6_option.c (inet6_option_space): Likewise.
14365         (inet6_option_init): Likewise.
14366         (inet6_option_append): Likewise.
14367         (inet6_option_alloc): Likewise.
14368         (inet6_option_next): Likewise.
14369         (inet6_option_find): Likewise.
14370         * io/ftw.c (FTW_NAME): Likewise.
14371         (NFTW_NAME): Likewise.
14372         (NFTW_NEW_NAME): Likewise.
14373         (NFTW_OLD_NAME): Likewise.
14374         * libio/iofwide.c (_IO_fwide): Likewise.
14375         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14376         (_IO_str_init_static): Likewise.
14377         (_IO_str_init_readonly): Likewise.
14378         (_IO_str_overflow): Likewise.
14379         (_IO_str_underflow): Likewise.
14380         (_IO_str_count): Likewise.
14381         (_IO_str_seekoff): Likewise.
14382         (_IO_str_pbackfail): Likewise.
14383         (_IO_str_finish): Likewise.
14384         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14385         (_IO_wstr_overflow): Likewise.
14386         (_IO_wstr_underflow): Likewise.
14387         (_IO_wstr_count): Likewise.
14388         (_IO_wstr_seekoff): Likewise.
14389         (_IO_wstr_pbackfail): Likewise.
14390         (_IO_wstr_finish): Likewise.
14391         * locale/programs/localedef.c (normalize_codeset): Likewise.
14392         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14393         (add_locales_to_archive): Likewise.
14394         (delete_locales_from_archive): Likewise.
14395         * malloc/malloc.c (__libc_mallinfo): Likewise.
14396         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14397         * misc/tsearch.c (__tfind): Likewise.
14398         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14399         * nptl/pthread_attr_getdetachstate.c
14400         (__pthread_attr_getdetachstate): Likewise.
14401         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14402         Likewise.
14403         * nptl/pthread_attr_getinheritsched.c
14404         (__pthread_attr_getinheritsched): Likewise.
14405         * nptl/pthread_attr_getschedparam.c
14406         (__pthread_attr_getschedparam): Likewise.
14407         * nptl/pthread_attr_getschedpolicy.c
14408         (__pthread_attr_getschedpolicy): Likewise.
14409         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14410         Likewise.
14411         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14412         Likewise.
14413         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14414         Likewise.
14415         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14416         Likewise.
14417         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14418         (__pthread_attr_init_2_0): Likewise.
14419         * nptl/pthread_attr_setdetachstate.c
14420         (__pthread_attr_setdetachstate): Likewise.
14421         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14422         Likewise.
14423         * nptl/pthread_attr_setinheritsched.c
14424         (__pthread_attr_setinheritsched): Likewise.
14425         * nptl/pthread_attr_setschedparam.c
14426         (__pthread_attr_setschedparam): Likewise.
14427         * nptl/pthread_attr_setschedpolicy.c
14428         (__pthread_attr_setschedpolicy): Likewise.
14429         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14430         Likewise.
14431         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14432         Likewise.
14433         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14434         Likewise.
14435         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14436         Likewise.
14437         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14438         Likewise.
14439         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14440         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14441         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14442         use internal_function.
14443         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14444         prototype-style function definition.
14445         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14446         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14447         internal_function.
14448         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14449         Convert to prototype-style function definition.
14450         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14451         Likewise.
14452         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14453         Likewise.
14454         (__pthread_mutex_unlock): Likewise.
14455         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14456         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14457         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14458         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14459         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14460         * nss/makedb.c (process_input): Likewise.
14461         * posix/fnmatch.c (__strchrnul): Likewise.
14462         (__wcschrnul): Likewise.
14463         (fnmatch): Likewise.
14464         * posix/fnmatch_loop.c (FCT): Likewise.
14465         * posix/glob.c (globfree): Likewise.
14466         (__glob_pattern_type): Likewise.
14467         (__glob_pattern_p): Likewise.
14468         * posix/regcomp.c (re_compile_pattern): Likewise.
14469         (re_set_syntax): Likewise.
14470         (re_compile_fastmap): Likewise.
14471         (regcomp): Likewise.
14472         (regerror): Likewise.
14473         (regfree): Likewise.
14474         * posix/regexec.c (regexec): Likewise.
14475         (re_match): Likewise.
14476         (re_search): Likewise.
14477         (re_match_2): Likewise.
14478         (re_search_2): Likewise.
14479         (re_search_stub): Likewise.  Use internal_function
14480         (re_copy_regs): Likewise.
14481         (re_set_registers): Convert to prototype-style function
14482         definition.
14483         (prune_impossible_nodes): Likewise.  Use internal_function.
14484         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14485         prototype-style function definition.
14486         (inet_net_pton_ipv4): Likewise.
14487         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14488         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14489         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14490         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14491         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14492         Make variadic.
14493         * time/strptime_l.c (localtime_r): Convert to prototype-style
14494         function definition.
14495         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14496         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14497         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14498         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14500         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14501         definition.
14502         (_ufc_doit_r): Likewise.
14503         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14504         (_ufc_output_conversion_r): Likewise.
14505         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14506         * inet/rcmd.c (rcmd_af): Likewise.
14507         (rcmd): Likewise.
14508         (ruserok_af): Likewise.
14509         (ruserok): Likewise.
14510         (ruserok2_sa): Likewise.
14511         (ruserok_sa): Likewise.
14512         (iruserok_af): Likewise.
14513         (iruserok): Likewise.
14514         (__ivaliduser): Likewise.
14515         (__validuser2_sa): Likewise.
14516         * inet/rexec.c (rexec_af): Likewise.
14517         (rexec): Likewise.
14518         * inet/ruserpass.c (ruserpass): Likewise.
14519         * locale/programs/xmalloc.c (xcalloc): Likewise.
14520         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14521         * math/w_drem.c (__drem): Likewise.
14522         * math/w_dremf.c (__dremf): Likewise.
14523         * math/w_dreml.c (__dreml): Likewise.
14524         * misc/daemon.c (daemon): Likewise.
14525         * resolv/res_debug.c (p_fqnname): Likewise.
14526         * stdlib/div.c (div): Likewise.
14527         * string/memcmp.c (memcmp_bytes): Likewise.
14528         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14529         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14531         * crypt/cert.c (main): Convert to prototype-style function
14532         definition.
14533         * io/pipe.c (__pipe): Likewise.
14534         * io/pipe2.c (__pipe2): Likewise.
14535         * misc/futimesat.c (futimesat): Likewise.
14536         * misc/utimes.c (__utimes): Likewise.
14537         * posix/execve.c (__execve): Likewise.
14538         * posix/execvp.c (execvp): Likewise.
14539         * posix/execvpe.c (__execvpe): Likewise.
14540         * posix/fexecve.c (fexecve): Likewise.
14541         * socket/socketpair.c (socketpair): Likewise.
14542         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14543         * stdlib/erand48.c (erand48): Likewise.
14544         * stdlib/erand48_r.c (__erand48_r): Likewise.
14545         * stdlib/jrand48.c (jrand48): Likewise.
14546         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14547         * stdlib/lcong48.c (lcong48): Likewise.
14548         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14549         * stdlib/nrand48.c (nrand48): Likewise.
14550         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14551         * stdlib/seed48.c (seed48): Likewise.
14552         * stdlib/seed48_r.c (__seed48_r): Likewise.
14553         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14554         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14555         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14557 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14559         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14560         * configure: Regenerated.
14561         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14562         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14563         unconditional.
14564         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14565         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14566         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14567         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14568         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14569         unconditional.
14570         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14572         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14573         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14575         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14576         function definition.
14577         * crypt/crypt_util.c (__encrypt_r): Likewise.
14578         * libio/genops.c (_IO_no_init): Likewise.
14579         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14580         (_IO_old_fopencookie): Likewise.
14581         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14582         * libio/iogetline.c (_IO_getline): Likewise.
14583         (_IO_getline_info): Likewise.
14584         * libio/iogetwline.c (_IO_getwline): Likewise.
14585         (_IO_getwline_info): Likewise.
14586         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14587         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14588         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14589         (find_entry): Likewise.
14590         (iterate_table): Likewise.
14591         (lookup): Likewise.
14592         * login/forkpty.c (forkpty): Likewise.
14593         * misc/hsearch_r.c (__hsearch_r): Likewise.
14594         * misc/select.c (__select): Likewise.
14595         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14596         Likewise.
14597         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14598         Likewise.
14599         * nptl/old_pthread_cond_timedwait.c
14600         (__pthread_cond_timedwait_2_0): Likewise.
14601         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14602         * nptl/pthread_barrierattr_getpshared.c
14603         (pthread_barrierattr_getpshared): Likewise.
14604         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14605         Likewise.
14606         * nptl/pthread_mutex_setprioceiling.c
14607         (pthread_mutex_setprioceiling): Likewise.
14608         * nptl/pthread_mutexattr_getprioceiling.c
14609         (pthread_mutexattr_getprioceiling): Likewise.
14610         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14611         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14612         Likewise.
14613         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14614         Likewise.
14615         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14616         Likewise.
14617         * socket/recvfrom.c (__recvfrom): Likewise.
14618         * socket/sendto.c (__sendto): Likewise.
14619         * socket/setsockopt.c (__setsockopt): Likewise.
14620         * stdio-common/_itoa.c (_itoa): Likewise.
14621         * stdio-common/_itowa.c (_itowa): Likewise.
14622         * stdio-common/reg-printf.c (__register_printf_specifier):
14623         Likewise.
14624         (__register_printf_function): Likewise.
14625         * stdio-common/tempname.c (__path_search): Likewise.
14626         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14627         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14628         * stdlib/random_r.c (__initstate_r): Likewise.
14629         * stdlib/setenv.c (__add_to_environ): Likewise.
14630         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14631         * streams/getpmsg.c (getpmsg): Likewise.
14632         * streams/putmsg.c (putmsg): Likewise.
14633         * streams/putpmsg.c (putpmsg): Likewise.
14634         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14635         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14636         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14637         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14638         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14639         * sunrpc/svc_udp.c (cache_get): Likewise.
14640         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14641         * sysdeps/mach/hurd/getcwd.c
14642         (__canonicalize_directory_name_internal): Likewise.
14643         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14644         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14645         * sysdeps/mach/hurd/select.c (__select): Likewise.
14646         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14647         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14648         * sysdeps/sparc/nptl/pthread_barrier_init.c
14649         (__pthread_barrier_init): Likewise.
14650         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14651         (__pthread_cond_timedwait): Likewise.
14652         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14653         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14654         Likewise.
14655         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14656         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14657         Likewise.
14658         * sysvipc/semtimedop.c (semtimedop): Likewise.
14659         * time/setitimer.c (__setitimer): Likewise.
14660         * time/strftime_l.c (emacs_strftime): Likewise.
14662 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14664         * config.make.in (have-ssp): Delete.
14665         (stack-protector): New variable.
14666         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14667         cache test for -fstack-protector-strong.  Export stack_protector to
14668         the best ssp flag.
14669         * configure: Regenerated.
14670         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14671         * nscd/Makefile (CFLAGS-nscd): Likewise.
14672         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14674 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14676         [BZ #19122]
14677         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14678         attribute_hidden.
14680 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14682         [BZ #18743]
14683         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14684         code to...
14685         (ELIDE_LOCK): ...here.
14686         (__get_new_count): New function with part of the code from
14687         __elide_lock that updates the value of adapt_count after a
14688         transaction abort.
14689         (__elided_trylock): Moved this code to...
14690         (ELIDE_TRYLOCK): ...here.
14692 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14694         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14695         * configure: Regenerate.
14696         * INSTALL: Regenerate.
14697         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14698         and tweak grammar.
14700 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14702         * login/programs/pt_chown.c: Include signal.h
14703         (main): Clear any signal mask from the parent process.
14705 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14707         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14708         * configure: Regenerated.
14709         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14710         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14711         $(gnu89-inline-CFLAGS).
14713         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14714         test.
14715         (libc_cv_asm_weakext_directive): Likewise.
14716         * configure: Regenerated.
14717         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14718         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14719         * include/libc-symbols.h
14720         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14721         #error.
14722         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14723         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14725         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14726         prototype-style function definition.
14727         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14728         * sysdeps/i386/ffs.c (__ffs): Likewise.
14729         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14730         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14731         Likewise.
14732         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14733         Likewise.
14734         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14735         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14736         Likewise.
14737         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14738         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14739         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14740         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14741         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14742         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14743         * sysdeps/mach/hurd/access.c (__access): Likewise.
14744         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14745         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14746         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14747         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14748         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14749         (cthread_getspecific): Likewise.
14750         (cthread_setspecific): Likewise.
14751         (__libc_getspecific): Likewise.
14752         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14753         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14754         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14755         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14756         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14757         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14758         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14759         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14760         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14761         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14762         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14763         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14764         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14765         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14766         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14767         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14768         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14769         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14770         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14771         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14772         * sysdeps/mach/hurd/link.c (__link): Likewise.
14773         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14774         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14775         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14776         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14777         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14778         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14779         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14780         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14781         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14782         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14783         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14784         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14785         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14786         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14787         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14788         * sysdeps/mach/hurd/send.c (__send): Likewise.
14789         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14790         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14791         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14792         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14793         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14794         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14795         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14796         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14797         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
14798         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
14799         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
14800         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
14801         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
14802         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
14803         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
14804         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14805         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
14806         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14807         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
14808         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14809         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
14810         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
14811         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
14812         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
14813         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
14814         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
14815         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
14816         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
14817         * sysdeps/posix/alarm.c (alarm): Likewise.
14818         * sysdeps/posix/cuserid.c (cuserid): Likewise.
14819         * sysdeps/posix/dirfd.c (dirfd): Likewise.
14820         * sysdeps/posix/dup.c (__dup): Likewise.
14821         * sysdeps/posix/dup2.c (__dup2): Likewise.
14822         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
14823         (main): Likewise.
14824         * sysdeps/posix/flock.c (__flock): Likewise.
14825         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
14826         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14827         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
14828         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
14829         * sysdeps/posix/isatty.c (__isatty): Likewise.
14830         * sysdeps/posix/killpg.c (killpg): Likewise.
14831         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14832         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
14833         * sysdeps/posix/raise.c (raise): Likewise.
14834         * sysdeps/posix/remove.c (remove): Likewise.
14835         * sysdeps/posix/rename.c (rename): Likewise.
14836         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
14837         * sysdeps/posix/seekdir.c (seekdir): Likewise.
14838         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14839         * sysdeps/posix/sigignore.c (sigignore): Likewise.
14840         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
14841         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14842         * sysdeps/posix/sigset.c (sigset): Likewise.
14843         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
14844         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
14845         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
14846         * sysdeps/posix/time.c (time): Likewise.
14847         * sysdeps/posix/ttyname.c (getttyname): Likewise.
14848         (ttyname): Likewise.
14849         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
14850         * sysdeps/posix/utime.c (utime): Likewise.
14851         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
14852         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14853         Likewise.
14854         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
14855         (pthread_spin_trylock): Likewise.
14856         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
14857         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
14858         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
14859         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
14860         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
14861         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
14862         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
14863         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
14864         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
14865         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
14866         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
14867         * sysdeps/s390/ffs.c (__ffs): Likewise.
14868         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
14869         Likewise.
14870         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14871         Likewise.
14872         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
14873         Likewise.
14874         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
14875         (pthread_barrier_destroy): Likewise.
14876         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14877         (__pthread_barrier_wait): Likewise.
14878         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
14879         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14880         (__pthread_barrier_wait): Likewise.
14881         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
14882         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
14883         (memcmp_not_common_alignment): Likewise.
14884         (MEMCMP): Likewise.
14885         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
14886         (_wordcopy_fwd_dest_aligned): Likewise.
14887         (_wordcopy_bwd_aligned): Likewise.
14888         (_wordcopy_bwd_dest_aligned): Likewise.
14889         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
14890         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
14891         * sysdeps/unix/bsd/stty.c (stty): Likewise.
14892         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
14893         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
14894         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
14895         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
14896         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
14897         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
14898         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
14899         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
14900         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14901         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
14902         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
14903         * sysdeps/unix/stime.c (stime): Likewise.
14904         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
14905         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
14906         Likewise.  Use internal_function.
14907         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
14908         Convert to prototype-style function definition.
14909         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14910         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14911         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
14912         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14913         Likewise.  Use internal_function.
14914         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
14915         prototype-style function definition
14916         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14917         Likewise.
14918         (__getlogin_r): Likewise.
14919         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
14920         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
14921         (__pthread_cond_broadcast): Likewise.
14922         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
14923         (__pthread_cond_destroy): Likewise.
14924         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
14925         (__pthread_cond_init): Likewise.
14926         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
14927         (__pthread_cond_signal): Likewise.
14928         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
14929         (__pthread_cond_wait): Likewise.
14930         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
14931         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14932         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
14933         Likewise.
14934         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
14935         Likewise.
14936         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14937         Likewise.
14938         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
14939         Likewise.
14940         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
14941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
14942         (__ftruncate64): Likewise.
14943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
14944         (truncate64): Likewise.
14945         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
14946         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
14947         (pthread_getcpuclockid): Likewise.
14948         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14949         Likewise.
14950         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14951         Likewise.
14952         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
14953         Likewise.
14954         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14955         Likewise.
14956         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
14957         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
14958         (__libc_sigaction): Likewise.
14959         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
14960         Likewise.
14961         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14962         (__sigprocmask): Likewise.
14963         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
14964         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
14965         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
14966         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14967         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14968         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
14969         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14970         Likewise.
14971         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
14972         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
14973         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14974         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
14975         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
14976         Likewise.
14977         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14978         (__sigprocmask): Likewise.
14979         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14980         (cfgetispeed): Likewise.
14981         (cfsetospeed): Likewise.
14982         (cfsetispeed): Likewise.
14983         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14984         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14985         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14986         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14987         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14988         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14989         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14990         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14991         Likewise.
14992         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14993         Likewise.
14994         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14995         Likewise.
14996         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14997         Likewise.
14998         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15000 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15002         sunrpc: Rewrite with explicit TLS access using __thread.
15003         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15004         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15005         directly.
15006         (__rpc_thread_variables): Access thread_rpc_vars directly.
15007         Eliminate redundant assignment of the tvp variable.
15009 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15011         malloc: Rewrite with explicit TLS access using __thread.
15012         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15013         (tsd_setspecific, tsd_getspecific): Remove.
15014         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15015         (tsd_setspecific, tsd_getspecific): Likewise.
15016         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15017         (tsd_setspecific, tsd_getspecific): Likewise.
15018         * malloc/arena.c (thread_arena): New TLS variable.
15019         (arena_key): Remove variable.
15020         (arena_get): Use thread_arena.
15021         (arena_lookup): Remove macro.
15022         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15023         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15024         (_int_new_arena, get_free_list, reused_arena)
15025         (arena_thread_freeres): Use thread_arena.
15026         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15027         tsd_getspecific, tsd_setspecific from safety annotations.
15028         (Allocating Cleared Space): Remove arena_lookup from safety
15029         annotations.
15031 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15033         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15034         struct scratch_buffer instead of extend_alloca.
15036 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15038         * sysdeps/unix/sysv/linux/kernel-features.h
15039         (__ASSUME_SOCK_CLOEXEC): Remove.
15040         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15041         (__have_paccept): Remove unused macro.
15042         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15043         * misc/syslog.c (openlog_internal): Remove fallback code for
15044         !__ASSUME_SOCK_CLOEXEC.
15045         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15046         missing SOCK_CLOEXEC.
15047         * nscd/connections.c (have_sock_cloexec): Remove definition.
15048         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15049         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15050         !__ASSUME_SOCK_CLOEXEC.
15051         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15052         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15053         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15054         definition.
15055         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15056         code for !__ASSUME_SOCK_CLOEXEC.
15058 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15060         [BZ #18982]
15061         * manual/stdio.texi (Variable Arguments Output): Add portability
15062         note, explaining that vfprintf clobbers the va_list pointer.
15064 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15066         * math/libm-test.inc (fabs_test_data): Add more tests.
15067         (fdim_test_data): Likewise.
15068         (fma_test_data): Likewise.
15069         (fmax_test_data): Likewise.
15070         (fmin_test_data): Likewise.
15071         (fmod_test_data): Likewise.
15073 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15075         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15076         data.
15078 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15080         * math/libm-test.inc (ceil_test_data): Add more tests and more
15081         expectations for "inexact".
15082         (floor_test_data): Add more tests.
15083         (round_test_data): Likewise.
15084         (trunc_test_data): Likewise.
15086         * crypt/cert.c (good_bye): Convert to prototype-style function
15087         definition.
15088         (get8): Likewise.
15089         (put8): Likewise.
15090         * crypt/crypt-entry.c (crypt): Likewise.
15091         (__fcrypt): Likewise.
15092         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15093         (_ufc_set_bits): Likewise.
15094         (_ufc_clearmem): Likewise.
15095         (__init_des_r): Likewise.
15096         (shuffle_sb): Likewise.
15097         (shuffle_sb): Likewise.
15098         (_ufc_setup_salt_r): Likewise.
15099         (_ufc_mk_keytab_r): Likewise.
15100         (_ufc_dofinalperm_r): Likewise.
15101         (encrypt): Likewise.
15102         (__setkey_r): Likewise.
15103         (setkey): Likewise.
15104         * crypt/md5.c (md5_init_ctx): Likewise.
15105         (md5_read_ctx): Likewise.
15106         (md5_finish_ctx): Likewise.
15107         (md5_stream): Likewise.
15108         (md5_buffer): Likewise.
15109         (md5_process_bytes): Likewise.
15110         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15111         (__sha256_finish_ctx): Likewise.
15112         (__sha256_process_bytes): Likewise.
15113         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15114         (__sha512_finish_ctx): Likewise.
15115         (__sha512_process_bytes): Likewise.
15116         * ctype/isctype.c (__isctype): Likewise.
15117         * debug/backtrace.c (__backtrace): Likewise.
15118         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15119         * debug/fgets_chk.c (__fgets_chk): Likewise.
15120         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15121         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15122         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15123         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15124         * debug/memset_chk.c (__memset_chk): Likewise.
15125         * debug/strcat_chk.c (__strcat_chk): Likewise.
15126         * debug/strncat_chk.c (__strncat_chk): Likewise.
15127         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15128         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15129         * dirent/dirfd.c (dirfd): Likewise.
15130         * dirent/getdents.c (__getdirentries): Likewise.
15131         * dirent/getdents64.c (getdirentries64): Likewise.
15132         * dirent/rewinddir.c (__rewinddir): Likewise.
15133         * dirent/seekdir.c (seekdir): Likewise.
15134         * dirent/telldir.c (telldir): Likewise.
15135         * elf/sln.c (makesymlinks): Likewise.
15136         (makesymlink): Likewise.
15137         * gmon/gmon.c (__moncontrol): Likewise.
15138         (__monstartup): Likewise.
15139         (write_hist): Likewise.
15140         (write_call_graph): Likewise.
15141         (write_bb_counts): Likewise.
15142         * grp/setgroups.c (setgroups): Likewise.
15143         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15144         * inet/inet_net.c (inet_network): Likewise.
15145         * inet/inet_netof.c (inet_netof): Likewise.
15146         * inet/rcmd.c (rresvport_af): Likewise.
15147         (rresvport): Likewise.
15148         * io/access.c (__access): Likewise.
15149         * io/chdir.c (__chdir): Likewise.
15150         * io/chmod.c (__chmod): Likewise.
15151         * io/chown.c (__chown): Likewise.
15152         * io/close.c (__close): Likewise.
15153         * io/creat.c (creat): Likewise.
15154         * io/creat64.c (creat64): Likewise.
15155         * io/dup.c (__dup): Likewise.
15156         * io/dup2.c (__dup2): Likewise.
15157         * io/dup3.c (__dup3): Likewise.
15158         * io/euidaccess.c (__euidaccess): Likewise.
15159         * io/faccessat.c (faccessat): Likewise.
15160         * io/fchmod.c (__fchmod): Likewise.
15161         * io/fchmodat.c (fchmodat): Likewise.
15162         * io/fchown.c (__fchown): Likewise.
15163         * io/fchownat.c (fchownat): Likewise.
15164         * io/fcntl.c (__fcntl): Likewise.
15165         * io/flock.c (__flock): Likewise.
15166         * io/fts.c (fts_load): Likewise.
15167         (fts_close): Likewise.
15168         (fts_read): Likewise.
15169         (fts_set): Likewise.
15170         (fts_children): Likewise.
15171         (fts_build): Likewise.
15172         (fts_stat): Likewise.
15173         (fts_sort): Likewise.
15174         (fts_alloc): Likewise.
15175         (fts_lfree): Likewise.
15176         (fts_palloc): Likewise.
15177         (fts_padjust): Likewise.
15178         (fts_maxarglen): Likewise.
15179         (fts_safe_changedir): Likewise.
15180         * io/getwd.c (getwd): Likewise.
15181         * io/isatty.c (__isatty): Likewise.
15182         * io/lchown.c (__lchown): Likewise.
15183         * io/link.c (__link): Likewise.
15184         * io/linkat.c (linkat): Likewise.
15185         * io/lseek.c (__libc_lseek): Likewise.
15186         * io/mkdir.c (__mkdir): Likewise.
15187         * io/mkdirat.c (mkdirat): Likewise.
15188         * io/mkfifo.c (mkfifo): Likewise.
15189         * io/mkfifoat.c (mkfifoat): Likewise.
15190         * io/open.c (__libc_open): Likewise.
15191         * io/open64.c (__libc_open64): Likewise.
15192         * io/readlink.c (__readlink): Likewise.
15193         * io/readlinkat.c (readlinkat): Likewise.
15194         * io/rmdir.c (__rmdir): Likewise.
15195         * io/symlink.c (__symlink): Likewise.
15196         * io/symlinkat.c (symlinkat): Likewise.
15197         * io/ttyname.c (ttyname): Likewise.
15198         * io/ttyname_r.c (__ttyname_r): Likewise.
15199         * io/umask.c (__umask): Likewise.
15200         * io/unlink.c (__unlink): Likewise.
15201         * io/unlinkat.c (unlinkat): Likewise.
15202         * io/utime.c (utime): Likewise.
15203         * libio/clearerr.c (clearerr): Likewise.
15204         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15205         * libio/feof.c (_IO_feof): Likewise.
15206         * libio/feof_u.c (feof_unlocked): Likewise.
15207         * libio/ferror.c (_IO_ferror): Likewise.
15208         * libio/ferror_u.c (ferror_unlocked): Likewise.
15209         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15210         * libio/fileno.c (__fileno): Likewise.
15211         * libio/fputc.c (fputc): Likewise.
15212         * libio/fputc_u.c (fputc_unlocked): Likewise.
15213         * libio/fputwc.c (fputwc): Likewise.
15214         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15215         * libio/freopen.c (freopen): Likewise.
15216         * libio/freopen64.c (freopen64): Likewise.
15217         * libio/fseek.c (fseek): Likewise.
15218         * libio/fseeko.c (fseeko): Likewise.
15219         * libio/fseeko64.c (fseeko64): Likewise.
15220         * libio/ftello.c (__ftello): Likewise.
15221         * libio/ftello64.c (ftello64): Likewise.
15222         * libio/fwide.c (fwide): Likewise.
15223         * libio/genops.c (_IO_un_link): Likewise.
15224         (_IO_link_in): Likewise.
15225         (_IO_least_marker): Likewise.
15226         (_IO_switch_to_main_get_area): Likewise.
15227         (_IO_switch_to_backup_area): Likewise.
15228         (_IO_switch_to_get_mode): Likewise.
15229         (_IO_free_backup_area): Likewise.
15230         (_IO_switch_to_put_mode): Likewise.
15231         (__overflow): Likewise.
15232         (__underflow): Likewise.
15233         (__uflow): Likewise.
15234         (_IO_setb): Likewise.
15235         (_IO_doallocbuf): Likewise.
15236         (_IO_default_underflow): Likewise.
15237         (_IO_default_uflow): Likewise.
15238         (_IO_default_xsputn): Likewise.
15239         (_IO_sgetn): Likewise.
15240         (_IO_default_xsgetn): Likewise.
15241         (_IO_sync): Likewise.
15242         (_IO_default_setbuf): Likewise.
15243         (_IO_default_seekpos): Likewise.
15244         (_IO_default_doallocate): Likewise.
15245         (_IO_init): Likewise.
15246         (_IO_old_init): Likewise.
15247         (_IO_default_sync): Likewise.
15248         (_IO_default_finish): Likewise.
15249         (_IO_default_seekoff): Likewise.
15250         (_IO_sputbackc): Likewise.
15251         (_IO_sungetc): Likewise.
15252         (_IO_set_column): Likewise.
15253         (_IO_set_column): Likewise.
15254         (_IO_adjust_column): Likewise.
15255         (_IO_get_column): Likewise.
15256         (_IO_init_marker): Likewise.
15257         (_IO_remove_marker): Likewise.
15258         (_IO_marker_difference): Likewise.
15259         (_IO_marker_delta): Likewise.
15260         (_IO_seekmark): Likewise.
15261         (_IO_unsave_markers): Likewise.
15262         (_IO_nobackup_pbackfail): Likewise.
15263         (_IO_default_pbackfail): Likewise.
15264         (_IO_default_seek): Likewise.
15265         (_IO_default_stat): Likewise.
15266         (_IO_default_read): Likewise.
15267         (_IO_default_write): Likewise.
15268         (_IO_default_showmanyc): Likewise.
15269         (_IO_default_imbue): Likewise.
15270         (_IO_iter_next): Likewise.
15271         (_IO_iter_file): Likewise.
15272         * libio/getc.c (_IO_getc): Likewise.
15273         * libio/getwc.c (_IO_getwc): Likewise.
15274         * libio/iofclose.c (_IO_new_fclose): Likewise.
15275         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15276         * libio/iofflush.c (_IO_fflush): Likewise.
15277         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15278         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15279         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15280         * libio/iofgets.c (_IO_fgets): Likewise.
15281         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15282         * libio/iofgetws.c (fgetws): Likewise.
15283         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15284         * libio/iofopen64.c (_IO_fopen64): Likewise.
15285         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15286         (_IO_cookie_write): Likewise.
15287         (_IO_cookie_seek): Likewise.
15288         (_IO_cookie_close): Likewise.
15289         (_IO_cookie_seekoff): Likewise.
15290         (_IO_old_cookie_seek): Likewise.
15291         * libio/iofputs.c (_IO_fputs): Likewise.
15292         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15293         * libio/iofputws.c (fputws): Likewise.
15294         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15295         * libio/iofread.c (_IO_fread): Likewise.
15296         * libio/iofread_u.c (__fread_unlocked): Likewise.
15297         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15298         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15299         * libio/ioftell.c (_IO_ftell): Likewise.
15300         * libio/iofwrite.c (_IO_fwrite): Likewise.
15301         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15302         * libio/iogets.c (_IO_gets): Likewise.
15303         * libio/iopadn.c (_IO_padn): Likewise.
15304         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15305         (_IO_new_popen): Likewise.
15306         (_IO_new_proc_close): Likewise.
15307         * libio/ioputs.c (_IO_puts): Likewise.
15308         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15309         (_IO_seekoff): Likewise.
15310         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15311         (_IO_seekpos): Likewise.
15312         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15313         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15314         * libio/ioungetc.c (_IO_ungetc): Likewise.
15315         * libio/ioungetwc.c (ungetwc): Likewise.
15316         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15317         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15318         * libio/iowpadn.c (_IO_wpadn): Likewise.
15319         * libio/libc_fatal.c (__libc_fatal): Likewise.
15320         * libio/memstream.c (__open_memstream): Likewise.
15321         (_IO_mem_sync): Likewise.
15322         (_IO_mem_finish): Likewise.
15323         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15324         (_IO_old_file_close_it): Likewise.
15325         (_IO_old_file_finish): Likewise.
15326         (_IO_old_file_fopen): Likewise.
15327         (_IO_old_file_attach): Likewise.
15328         (_IO_old_file_setbuf): Likewise.
15329         (_IO_old_do_write): Likewise.
15330         (old_do_write): Likewise.
15331         (_IO_old_file_underflow): Likewise.
15332         (_IO_old_file_overflow): Likewise.
15333         (_IO_old_file_sync): Likewise.
15334         (_IO_old_file_seekoff): Likewise.
15335         (_IO_old_file_write): Likewise.
15336         (_IO_old_file_xsputn): Likewise.
15337         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15338         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15339         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15340         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15341         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15342         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15343         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15344         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15345         (_IO_old_popen): Likewise.
15346         (_IO_old_proc_close): Likewise.
15347         * libio/oldpclose.c (__old_pclose): Likewise.
15348         * libio/pclose.c (__new_pclose): Likewise.
15349         * libio/peekc.c (_IO_peekc_locked): Likewise.
15350         * libio/putc.c (_IO_putc): Likewise.
15351         * libio/putc_u.c (putc_unlocked): Likewise.
15352         * libio/putchar.c (putchar): Likewise.
15353         * libio/putchar_u.c (putchar_unlocked): Likewise.
15354         * libio/putwc.c (putwc): Likewise.
15355         * libio/putwc_u.c (putwc_unlocked): Likewise.
15356         * libio/putwchar.c (putwchar): Likewise.
15357         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15358         * libio/rewind.c (rewind): Likewise.
15359         * libio/setbuf.c (setbuf): Likewise.
15360         * libio/setlinebuf.c (setlinebuf): Likewise.
15361         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15362         * libio/vscanf.c (_IO_vscanf): Likewise.
15363         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15364         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15365         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15366         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15367         (_IO_switch_to_main_wget_area): Likewise.
15368         (_IO_switch_to_wbackup_area): Likewise.
15369         (_IO_wsetb): Likewise.
15370         (_IO_wdefault_pbackfail): Likewise.
15371         (_IO_wdefault_finish): Likewise.
15372         (_IO_wdefault_uflow): Likewise.
15373         (__woverflow): Likewise.
15374         (__wuflow): Likewise.
15375         (__wunderflow): Likewise.
15376         (_IO_wdefault_xsputn): Likewise.
15377         (_IO_wdefault_xsgetn): Likewise.
15378         (_IO_wdoallocbuf): Likewise.
15379         (_IO_wdefault_doallocate): Likewise.
15380         (_IO_switch_to_wget_mode): Likewise.
15381         (_IO_free_wbackup_area): Likewise.
15382         (_IO_switch_to_wput_mode): Likewise.
15383         (_IO_sputbackwc): Likewise.
15384         (_IO_sungetwc): Likewise.
15385         (_IO_adjust_wcolumn): Likewise.
15386         (_IO_init_wmarker): Likewise.
15387         (_IO_wmarker_delta): Likewise.
15388         (_IO_seekwmark): Likewise.
15389         (_IO_unsave_wmarkers): Likewise.
15390         * libio/wmemstream.c (open_wmemstream): Likewise.
15391         (_IO_wmem_sync): Likewise.
15392         (_IO_wmem_finish): Likewise.
15393         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15394         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15395         * locale/programs/simple-hash.c (init_hash): Likewise.
15396         (delete_hash): Likewise.
15397         (insert_entry): Likewise.
15398         (set_entry): Likewise.
15399         (next_prime): Likewise.
15400         (is_prime): Likewise.
15401         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15402         (xmalloc): Likewise.
15403         (xrealloc): Likewise.
15404         * locale/programs/xstrdup.c (xstrdup): Likewise.
15405         * localedata/collate-test.c (xstrcoll): Likewise.
15406         * localedata/xfrm-test.c (xstrcmp): Likewise.
15407         * login/getlogin_r.c (__getlogin_r): Likewise.
15408         * login/getpt.c (__posix_openpt): Likewise.
15409         * login/login_tty.c (login_tty): Likewise.
15410         * login/setlogin.c (setlogin): Likewise.
15411         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15412         (mach_msg_destroy_port): Likewise.
15413         (mach_msg_destroy_memory): Likewise.
15414         * malloc/mcheck.c (flood): Likewise.
15415         * misc/acct.c (acct): Likewise.
15416         * misc/brk.c (__brk): Likewise.
15417         * misc/chflags.c (chflags): Likewise.
15418         * misc/chroot.c (chroot): Likewise.
15419         * misc/fchflags.c (fchflags): Likewise.
15420         * misc/fstab.c (getfsspec): Likewise.
15421         (getfsfile): Likewise.
15422         * misc/fsync.c (fsync): Likewise.
15423         * misc/ftruncate.c (__ftruncate): Likewise.
15424         * misc/ftruncate64.c (__ftruncate64): Likewise.
15425         * misc/getdomain.c (getdomainname): Likewise.
15426         (getdomainname): Likewise.
15427         * misc/gethostname.c (__gethostname): Likewise.
15428         * misc/getpass.c (getpass): Likewise.
15429         * misc/getttyent.c (skip): Likewise.
15430         (value): Likewise.
15431         * misc/gtty.c (gtty): Likewise.
15432         * misc/hsearch.c (hsearch): Likewise.
15433         (hcreate): Likewise.
15434         * misc/hsearch_r.c (__hcreate_r): Likewise.
15435         (__hdestroy_r): Likewise.
15436         * misc/ioctl.c (__ioctl): Likewise.
15437         * misc/mkdtemp.c (mkdtemp): Likewise.
15438         * misc/mkostemp.c (mkostemp): Likewise.
15439         * misc/mkostemp64.c (mkostemp64): Likewise.
15440         * misc/mkostemps.c (mkostemps): Likewise.
15441         * misc/mkostemps64.c (mkostemps64): Likewise.
15442         * misc/mkstemp.c (mkstemp): Likewise.
15443         * misc/mkstemp64.c (mkstemp64): Likewise.
15444         * misc/mkstemps.c (mkstemps): Likewise.
15445         * misc/mkstemps64.c (mkstemps64): Likewise.
15446         * misc/mktemp.c (__mktemp): Likewise.
15447         * misc/preadv.c (preadv): Likewise.
15448         * misc/preadv64.c (preadv64): Likewise.
15449         * misc/pwritev.c (pwritev): Likewise.
15450         * misc/pwritev64.c (pwritev64): Likewise.
15451         * misc/readv.c (__readv): Likewise.
15452         * misc/revoke.c (revoke): Likewise.
15453         * misc/setdomain.c (setdomainname): Likewise.
15454         * misc/setegid.c (setegid): Likewise.
15455         * misc/seteuid.c (seteuid): Likewise.
15456         * misc/sethostid.c (sethostid): Likewise.
15457         * misc/sethostname.c (sethostname): Likewise.
15458         * misc/setregid.c (__setregid): Likewise.
15459         * misc/setreuid.c (__setreuid): Likewise.
15460         * misc/sstk.c (sstk): Likewise.
15461         * misc/stty.c (stty): Likewise.
15462         * misc/syscall.c (syscall): Likewise.
15463         * misc/syslog.c (setlogmask): Likewise.
15464         * misc/truncate.c (__truncate): Likewise.
15465         * misc/truncate64.c (truncate64): Likewise.
15466         * misc/ualarm.c (ualarm): Likewise.
15467         * misc/usleep.c (usleep): Likewise.
15468         * misc/ustat.c (ustat): Likewise.
15469         * misc/writev.c (__writev): Likewise.
15470         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15471         * nptl/old_pthread_cond_broadcast.c
15472         (__pthread_cond_broadcast_2_0): Likewise.
15473         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15474         Likewise.
15475         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15476         Likewise.
15477         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15478         Likewise.
15479         * nptl/pt-raise.c (raise): Likewise.
15480         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15481         Likewise.
15482         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15483         * nptl/pthread_barrierattr_destroy.c
15484         (pthread_barrierattr_destroy): Likewise.
15485         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15486         Likewise.
15487         * nptl/pthread_barrierattr_setpshared.c
15488         (pthread_barrierattr_setpshared): Likewise.
15489         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15490         Likewise.
15491         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15492         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15493         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15494         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15495         Likewise.
15496         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15497         Likewise.
15498         * nptl/pthread_condattr_getpshared.c
15499         (pthread_condattr_getpshared): Likewise.
15500         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15501         Likewise.
15502         * nptl/pthread_condattr_setpshared.c
15503         (pthread_condattr_setpshared): Likewise.
15504         * nptl/pthread_detach.c (pthread_detach): Likewise.
15505         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15506         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15507         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15508         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15509         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15510         Likewise.
15511         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15512         Likewise.
15513         * nptl/pthread_mutex_getprioceiling.c
15514         (pthread_mutex_getprioceiling): Likewise.
15515         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15516         Likewise.
15517         * nptl/pthread_mutexattr_getprotocol.c
15518         (pthread_mutexattr_getprotocol): Likewise.
15519         * nptl/pthread_mutexattr_getpshared.c
15520         (pthread_mutexattr_getpshared): Likewise.
15521         * nptl/pthread_mutexattr_getrobust.c
15522         (pthread_mutexattr_getrobust): Likewise.
15523         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15524         Likewise.
15525         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15526         Likewise.
15527         * nptl/pthread_mutexattr_setprioceiling.c
15528         (pthread_mutexattr_setprioceiling): Likewise.
15529         * nptl/pthread_mutexattr_setprotocol.c
15530         (pthread_mutexattr_setprotocol): Likewise.
15531         * nptl/pthread_mutexattr_setpshared.c
15532         (pthread_mutexattr_setpshared): Likewise.
15533         * nptl/pthread_mutexattr_setrobust.c
15534         (pthread_mutexattr_setrobust): Likewise.
15535         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15536         Likewise.
15537         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15538         Likewise.
15539         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15540         Likewise.
15541         * nptl/pthread_rwlockattr_getkind_np.c
15542         (pthread_rwlockattr_getkind_np): Likewise.
15543         * nptl/pthread_rwlockattr_getpshared.c
15544         (pthread_rwlockattr_getpshared): Likewise.
15545         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15546         Likewise.
15547         * nptl/pthread_rwlockattr_setkind_np.c
15548         (pthread_rwlockattr_setkind_np): Likewise.
15549         * nptl/pthread_rwlockattr_setpshared.c
15550         (pthread_rwlockattr_setpshared): Likewise.
15551         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15552         Likewise.
15553         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15554         Likewise.
15555         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15556         Likewise.
15557         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15558         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15559         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15560         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15561         * nptl/sem_close.c (sem_close): Likewise.
15562         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15563         * nptl/sem_init.c (__old_sem_init): Likewise.
15564         * nptl/sigaction.c (__sigaction): Likewise.
15565         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15566         * posix/_exit.c (_exit): Likewise.
15567         * posix/alarm.c (alarm): Likewise.
15568         * posix/confstr.c (confstr): Likewise.
15569         * posix/fpathconf.c (__fpathconf): Likewise.
15570         * posix/getgroups.c (__getgroups): Likewise.
15571         * posix/getpgid.c (__getpgid): Likewise.
15572         * posix/group_member.c (__group_member): Likewise.
15573         * posix/pathconf.c (__pathconf): Likewise.
15574         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15575         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15576         * posix/setgid.c (__setgid): Likewise.
15577         * posix/setpgid.c (__setpgid): Likewise.
15578         * posix/setuid.c (__setuid): Likewise.
15579         * posix/sleep.c (__sleep): Likewise.
15580         * posix/sysconf.c (__sysconf): Likewise.
15581         * posix/times.c (__times): Likewise.
15582         * posix/uname.c (__uname): Likewise.
15583         * posix/waitid.c (__waitid): Likewise.
15584         * pwd/getpw.c (__getpw): Likewise.
15585         * resolv/base64.c (b64_pton): Likewise.
15586         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15587         * resolv/gethnamaddr.c (Dprintf): Likewise.
15588         (gethostbyname): Likewise.
15589         (gethostbyname2): Likewise.
15590         (gethostbyaddr): Likewise.
15591         (_sethtent): Likewise.
15592         (_gethtbyname): Likewise.
15593         (_gethtbyname2): Likewise.
15594         (_gethtbyaddr): Likewise.
15595         (map_v4v6_address): Likewise.
15596         (map_v4v6_hostent): Likewise.
15597         (addrsort): Likewise.
15598         (ht_sethostent): Likewise.
15599         (ht_gethostbyname): Likewise.
15600         (ht_gethostbyaddr): Likewise.
15601         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15602         (inet_net_ntop_ipv4): Likewise.
15603         * resolv/inet_neta.c (inet_neta): Likewise.
15604         * resolv/inet_ntop.c (inet_ntop): Likewise.
15605         (inet_ntop4): Likewise.
15606         (inet_ntop6): Likewise.
15607         * resolv/inet_pton.c (__inet_pton): Likewise.
15608         (inet_pton4): Likewise.
15609         (inet_pton6): Likewise.
15610         * resolv/res_debug.c (loc_aton): Likewise.
15611         (loc_ntoa): Likewise.
15612         * resource/getpriority.c (__getpriority): Likewise.
15613         * resource/getrusage.c (__getrusage): Likewise.
15614         * resource/nice.c (nice): Likewise.
15615         * resource/setpriority.c (__setpriority): Likewise.
15616         * resource/setrlimit64.c (setrlimit64): Likewise.
15617         * resource/vlimit.c (vlimit): Likewise.
15618         * resource/vtimes.c (vtimes): Likewise.
15619         * rt/aio_error.c (aio_error): Likewise.
15620         * rt/aio_return.c (aio_return): Likewise.
15621         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15622         * signal/kill.c (__kill): Likewise.
15623         * signal/killpg.c (killpg): Likewise.
15624         * signal/raise.c (raise): Likewise.
15625         * signal/sigaction.c (__sigaction): Likewise.
15626         * signal/sigaddset.c (sigaddset): Likewise.
15627         * signal/sigaltstack.c (sigaltstack): Likewise.
15628         * signal/sigandset.c (sigandset): Likewise.
15629         * signal/sigblock.c (__sigblock): Likewise.
15630         * signal/sigdelset.c (sigdelset): Likewise.
15631         * signal/sigempty.c (sigemptyset): Likewise.
15632         * signal/sigfillset.c (sigfillset): Likewise.
15633         * signal/sighold.c (sighold): Likewise.
15634         * signal/sigignore.c (sigignore): Likewise.
15635         * signal/sigintr.c (siginterrupt): Likewise.
15636         * signal/sigisempty.c (sigisemptyset): Likewise.
15637         * signal/sigismem.c (sigismember): Likewise.
15638         * signal/signal.c (signal): Likewise.
15639         * signal/sigorset.c (sigorset): Likewise.
15640         * signal/sigpause.c (__sigpause): Likewise.
15641         * signal/sigpending.c (sigpending): Likewise.
15642         * signal/sigprocmask.c (__sigprocmask): Likewise.
15643         * signal/sigrelse.c (sigrelse): Likewise.
15644         * signal/sigreturn.c (__sigreturn): Likewise.
15645         * signal/sigset.c (sigset): Likewise.
15646         * signal/sigsetmask.c (__sigsetmask): Likewise.
15647         * signal/sigstack.c (sigstack): Likewise.
15648         * signal/sigsuspend.c (__sigsuspend): Likewise.
15649         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15650         * signal/sysv_signal.c (__sysv_signal): Likewise.
15651         * socket/accept.c (accept): Likewise.
15652         * socket/accept4.c (__libc_accept4): Likewise.
15653         * socket/bind.c (__bind): Likewise.
15654         * socket/connect.c (__connect): Likewise.
15655         * socket/getpeername.c (getpeername): Likewise.
15656         * socket/getsockname.c (__getsockname): Likewise.
15657         * socket/getsockopt.c (getsockopt): Likewise.
15658         * socket/listen.c (__listen): Likewise.
15659         * socket/recv.c (__recv): Likewise.
15660         * socket/recvmsg.c (__recvmsg): Likewise.
15661         * socket/send.c (__send): Likewise.
15662         * socket/sendmsg.c (__sendmsg): Likewise.
15663         * socket/shutdown.c (shutdown): Likewise.
15664         * socket/sockatmark.c (sockatmark): Likewise.
15665         * socket/socket.c (__socket): Likewise.
15666         * stdio-common/ctermid.c (ctermid): Likewise.
15667         * stdio-common/cuserid.c (cuserid): Likewise.
15668         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15669         * stdio-common/remove.c (remove): Likewise.
15670         * stdio-common/rename.c (rename): Likewise.
15671         * stdio-common/renameat.c (renameat): Likewise.
15672         * stdio-common/tempname.c (__gen_tempname): Likewise.
15673         * stdio-common/xbug.c (InitBuffer): Likewise.
15674         (AppendToBuffer): Likewise.
15675         (ReadFile): Likewise.
15676         * stdlib/a64l.c (a64l): Likewise.
15677         * stdlib/drand48_r.c (drand48_r): Likewise.
15678         * stdlib/getcontext.c (getcontext): Likewise.
15679         * stdlib/getenv.c (getenv): Likewise.
15680         * stdlib/l64a.c (l64a): Likewise.
15681         * stdlib/llabs.c (llabs): Likewise.
15682         * stdlib/lldiv.c (lldiv): Likewise.
15683         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15684         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15685         * stdlib/putenv.c (putenv): Likewise.
15686         * stdlib/random.c (__srandom): Likewise.
15687         (__initstate): Likewise.
15688         (__setstate): Likewise.
15689         * stdlib/random_r.c (__srandom_r): Likewise.
15690         (__setstate_r): Likewise.
15691         (__random_r): Likewise.
15692         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15693         * stdlib/setcontext.c (setcontext): Likewise.
15694         * stdlib/setenv.c (setenv): Likewise.
15695         (unsetenv): Likewise.
15696         * stdlib/srand48.c (srand48): Likewise.
15697         * stdlib/srand48_r.c (__srand48_r): Likewise.
15698         * stdlib/swapcontext.c (swapcontext): Likewise.
15699         * stdlib/system.c (__libc_system): Likewise.
15700         * stdlib/tst-strtod.c (expand): Likewise.
15701         * stdlib/tst-strtol.c (expand): Likewise.
15702         * stdlib/tst-strtoll.c (expand): Likewise.
15703         * streams/fattach.c (fattach): Likewise.
15704         * streams/fdetach.c (fdetach): Likewise.
15705         * streams/getmsg.c (getmsg): Likewise.
15706         * streams/isastream.c (isastream): Likewise.
15707         * string/ffs.c (__ffs): Likewise.
15708         * string/ffsll.c (ffsll): Likewise.
15709         * string/memcmp.c (memcmp_common_alignment): Likewise.
15710         (memcmp_not_common_alignment): Likewise.
15711         (MEMCMP): Likewise.
15712         * string/memcpy.c (memcpy): Likewise.
15713         * string/memmove.c (MEMMOVE): Likewise.
15714         * string/memset.c (memset): Likewise.
15715         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15716         * string/strchrnul.c (STRCHRNUL): Likewise.
15717         * string/strerror.c (strerror): Likewise.
15718         * string/strndup.c (__strndup): Likewise.
15719         * string/strverscmp.c (__strverscmp): Likewise.
15720         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15721         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15722         (clnttcp_freeres): Likewise.
15723         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15724         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15725         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15726         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15727         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15728         (xdr_callhdr): Likewise.
15729         * sunrpc/rpcinfo.c (udpping): Likewise.
15730         (tcpping): Likewise.
15731         (pstatus): Likewise.
15732         (pmapdump): Likewise.
15733         (brdcst): Likewise.
15734         (deletereg): Likewise.
15735         (getprognum): Likewise.
15736         (getvers): Likewise.
15737         (get_inet_address): Likewise.
15738         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15739         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15740         (svcudp_stat): Likewise.
15741         (svcudp_recv): Likewise.
15742         (svcudp_reply): Likewise.
15743         (svcudp_getargs): Likewise.
15744         (svcudp_freeargs): Likewise.
15745         (svcudp_destroy): Likewise.
15746         * sunrpc/xdr.c (xdr_bytes): Likewise.
15747         (xdr_netobj): Likewise.
15748         (xdr_string): Likewise.
15749         (xdr_wrapstring): Likewise.
15750         * sunrpc/xdr_float.c (xdr_float): Likewise.
15751         (xdr_double): Likewise.
15752         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15753         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15754         * sysvipc/ftok.c (ftok): Likewise.
15755         * sysvipc/msgctl.c (msgctl): Likewise.
15756         * sysvipc/msgget.c (msgget): Likewise.
15757         * sysvipc/msgrcv.c (msgrcv): Likewise.
15758         * sysvipc/msgsnd.c (msgsnd): Likewise.
15759         * sysvipc/semget.c (semget): Likewise.
15760         * sysvipc/semop.c (semop): Likewise.
15761         * sysvipc/shmat.c (shmat): Likewise.
15762         * sysvipc/shmctl.c (shmctl): Likewise.
15763         * sysvipc/shmdt.c (shmdt): Likewise.
15764         * sysvipc/shmget.c (shmget): Likewise.
15765         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15766         * termios/speed.c (cfgetospeed): Likewise.
15767         (cfgetispeed): Likewise.
15768         (cfsetospeed): Likewise.
15769         (cfsetispeed): Likewise.
15770         * termios/tcflow.c (tcflow): Likewise.
15771         * termios/tcflush.c (tcflush): Likewise.
15772         * termios/tcgetattr.c (__tcgetattr): Likewise.
15773         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15774         * termios/tcgetsid.c (tcgetsid): Likewise.
15775         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15776         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15777         * time/adjtime.c (__adjtime): Likewise.
15778         * time/dysize.c (dysize): Likewise.
15779         * time/ftime.c (ftime): Likewise.
15780         * time/getitimer.c (__getitimer): Likewise.
15781         * time/gettimeofday.c (__gettimeofday): Likewise.
15782         * time/gmtime.c (__gmtime_r): Likewise.
15783         (gmtime): Likewise.
15784         * time/localtime.c (__localtime_r): Likewise.
15785         (localtime): Likewise.
15786         * time/offtime.c (__offtime): Likewise.
15787         * time/settimeofday.c (__settimeofday): Likewise.
15788         * time/stime.c (stime): Likewise.
15789         * time/strftime_l.c (tm_diff): Likewise.
15790         (iso_week_days): Likewise.
15791         * time/strptime.c (strptime): Likewise.
15792         * time/time.c (time): Likewise.
15793         * time/timespec_get.c (timespec_get): Likewise.
15794         * time/tzset.c (tzset_internal): Likewise.
15795         (compute_change): Likewise.
15796         (__tz_compute): Likewise.
15797         * wcsmbs/btowc.c (__btowc): Likewise.
15798         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
15799         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
15800         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
15801         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
15802         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
15803         * wcsmbs/wcscat.c (__wcscat): Likewise.
15804         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15805         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
15806         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
15807         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15808         * wcsmbs/wcsdup.c (wcsdup): Likewise.
15809         * wcsmbs/wcslen.c (__wcslen): Likewise.
15810         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
15811         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
15812         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
15813         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
15814         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15815         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
15816         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15817         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15818         * wcsmbs/wcstok.c (wcstok): Likewise.
15819         * wcsmbs/wctob.c (wctob): Likewise.
15820         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
15821         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15822         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
15823         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
15824         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
15825         * wcsmbs/wmemset.c (__wmemset): Likewise.
15826         * wctype/wcfuncs.c (__towlower): Likewise.
15827         (__towupper): Likewise.
15829         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
15830         (lll_unlock_elision): Add adapt_count parameter.
15832 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15834         * sysdeps/nptl/configure.ac: Do not give errors based on the
15835         results of top-level configure tests.
15836         * sysdeps/nptl/configure: Regenerated.
15838         * configure.ac (libc_cv_Bgroup): Remove configure test.
15839         * configure: Regenerated.
15840         * config.make.in (have-Bgroup): Remove variable.
15842         * configure.ac (sizeof_long_double): Remove configure test.
15843         * configure: Regenerated.
15844         * config.make.in (sizeof-long-double): Remove variable.
15846         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
15847         * configure: Regenerated.
15848         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
15849         variable.
15850         (exceptions): Likewise.
15851         * sysdeps/arm/configure: Regenerated.
15852         * config.make.in (exceptions): Remove variable.
15853         * Makeconfig (uses-callbacks): Use -fexceptions instead of
15854         $(exceptions).
15855         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
15856         (CFLAGS-vdprintf_chk.c): Likewise.
15857         (CFLAGS-printf_chk.c): Likewise.
15858         (CFLAGS-fprintf_chk.c): Likewise.
15859         (CFLAGS-vprintf_chk.c): Likewise.
15860         (CFLAGS-vfprintf_chk.c): Likewise.
15861         (CFLAGS-gets_chk.c): Likewise.
15862         (CFLAGS-fgets_chk.c): Likewise.
15863         (CFLAGS-fgets_u_chk.c): Likewise.
15864         (CFLAGS-fread_chk.c): Likewise.
15865         (CFLAGS-fread_u_chk.c): Likewise.
15866         (CFLAGS-wprintf_chk.c): Likewise.
15867         (CFLAGS-fwprintf_chk.c): Likewise.
15868         (CFLAGS-vwprintf_chk.c): Likewise.
15869         (CFLAGS-vfwprintf_chk.c): Likewise.
15870         (CFLAGS-fgetws_chk.c): Likewise.
15871         (CFLAGS-fgetws_u_chk.c): Likewise.
15872         * libio/Makefile (CFLAGS-fileops.c): Likewise.
15873         (CFLAGS-fputc.c): Likewise.
15874         (CFLAGS-fputwc.c): Likewise.
15875         (CFLAGS-freopen64.c): Likewise.
15876         (CFLAGS-freopen.c): Likewise.
15877         (CFLAGS-fseek.c): Likewise.
15878         (CFLAGS-fseeko64.c): Likewise.
15879         (CFLAGS-fseeko.c): Likewise.
15880         (CFLAGS-ftello64.c): Likewise.
15881         (CFLAGS-ftello.c): Likewise.
15882         (CFLAGS-fwide.c): Likewise.
15883         (CFLAGS-genops.c): Likewise.
15884         (CFLAGS-getc.c): Likewise.
15885         (CFLAGS-getchar.c): Likewise.
15886         (CFLAGS-getwc.c): Likewise.
15887         (CFLAGS-getwchar.c): Likewise.
15888         (CFLAGS-iofclose.c): Likewise.
15889         (CFLAGS-iofflush.c): Likewise.
15890         (CFLAGS-iofgetpos64.c): Likewise.
15891         (CFLAGS-iofgetpos.c): Likewise.
15892         (CFLAGS-iofgets.c): Likewise.
15893         (CFLAGS-iofgetws.c): Likewise.
15894         (CFLAGS-iofputs.c): Likewise.
15895         (CFLAGS-iofputws.c): Likewise.
15896         (CFLAGS-iofread.c): Likewise.
15897         (CFLAGS-iofsetpos64.c): Likewise.
15898         (CFLAGS-iofsetpos.c): Likewise.
15899         (CFLAGS-ioftell.c): Likewise.
15900         (CFLAGS-iofwrite.c): Likewise.
15901         (CFLAGS-iogetdelim.c): Likewise.
15902         (CFLAGS-iogetline.c): Likewise.
15903         (CFLAGS-iogets.c): Likewise.
15904         (CFLAGS-iogetwline.c): Likewise.
15905         (CFLAGS-ioputs.c): Likewise.
15906         (CFLAGS-ioseekoff.c): Likewise.
15907         (CFLAGS-ioseekpos.c): Likewise.
15908         (CFLAGS-iosetbuffer.c): Likewise.
15909         (CFLAGS-iosetvbuf.c): Likewise.
15910         (CFLAGS-ioungetc.c): Likewise.
15911         (CFLAGS-ioungetwc.c): Likewise.
15912         (CFLAGS-oldfileops.c): Likewise.
15913         (CFLAGS-oldiofclose.c): Likewise.
15914         (CFLAGS-oldiofgetpos64.c): Likewise.
15915         (CFLAGS-oldiofgetpos.c): Likewise.
15916         (CFLAGS-oldiofsetpos64.c): Likewise.
15917         (CFLAGS-oldiofsetpos.c): Likewise.
15918         (CFLAGS-peekc.c): Likewise.
15919         (CFLAGS-putc.c): Likewise.
15920         (CFLAGS-putchar.c): Likewise.
15921         (CFLAGS-putwc.c): Likewise.
15922         (CFLAGS-putwchar.c): Likewise.
15923         (CFLAGS-rewind.c): Likewise.
15924         (CFLAGS-wfileops.c): Likewise.
15925         (CFLAGS-wgenops.c): Likewise.
15926         (CFLAGS-oldiofopen.c): Likewise.
15927         (CFLAGS-iofopen.c): Likewise.
15928         (CFLAGS-iofopen64.c): Likewise.
15929         (CFLAGS-oldtmpfile.c): Likewise.
15930         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15931         (CFLAGS-fprintf.c): Likewise.
15932         (CFLAGS-printf.c): Likewise.
15933         (CFLAGS-vfwprintf.c): Likewise.
15934         (CFLAGS-vfscanf.c): Likewise.
15935         (CFLAGS-vfwscanf.c): Likewise.
15936         (CFLAGS-fscanf.c): Likewise.
15937         (CFLAGS-scanf.c): Likewise.
15938         (CFLAGS-isoc99_vfscanf.c): Likewise.
15939         (CFLAGS-isoc99_vscanf.c): Likewise.
15940         (CFLAGS-isoc99_fscanf.c): Likewise.
15941         (CFLAGS-isoc99_scanf.c): Likewise.
15942         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
15943         (CFLAGS-isoc99_fwscanf.c): Likewise.
15944         (CFLAGS-isoc99_vwscanf.c): Likewise.
15945         (CFLAGS-isoc99_vfwscanf.c): Likewise.
15947         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
15948         after mkstemp64.
15949         * login/tst-utmp.c (do_prepare): Likewise.
15950         * rt/tst-aio.c (do_prepare): Likewise.
15951         * rt/tst-aio64.c (do_prepare): Likewise.
15953 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15955         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15956         (__lll_lock_elision): Remove adapt_count decrement...
15957         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15958         (__lll_trylock_elision): Likewise.
15959         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15960         (__lll_unlock_elision): ... to here. And utilize
15961         new adapt_count parameter.
15962         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15963         (__lll_unlock_elision): Update to include adapt_count
15964         parameter.
15965         (lll_unlock_elision): Pass pointer to adapt_count
15966         variable.
15968 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15970         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
15971         Add elision adapt_count parameter to list of arguments.
15972         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15973         (lll_unlock_elision): Update with new parameter list
15974         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
15975         (lll_unlock_elision): Likewise.
15976         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15977         (lll_unlock_elision): Likewise.
15979 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15981         [BZ #19122]
15982         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15983         attribute_hidden.
15985         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15986         attribute_hidden.
15987         [IS_IN (rtld)] (__strdup): Likewise.
15988         [IS_IN (rtld)] (__strerror_r): Likewise.
15989         [IS_IN (rtld)] (__strsep_g): Likewise.
15990         [IS_IN (rtld)] (memchr): Likewise.
15991         [IS_IN (rtld)] (memcmp): Likewise.
15992         [IS_IN (rtld)] (memcpy): Likewise.
15993         [IS_IN (rtld)] (memmove): Likewise.
15994         [IS_IN (rtld)] (memset): Likewise.
15995         [IS_IN (rtld)] (rawmemchr): Likewise.
15996         [IS_IN (rtld)] (stpcpy): Likewise.
15997         [IS_IN (rtld)] (strchr): Likewise.
15998         [IS_IN (rtld)] (strcmp): Likewise.
15999         [IS_IN (rtld)] (strlen): Likewise.
16000         [IS_IN (rtld)] (strnlen): Likewise.
16001         [IS_IN (rtld)] (strsep): Likewise.
16003         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16004         attribute_hidden.
16005         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16007         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16008         attribute_hidden.
16009         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16011         * include/setjmp.h (__longjmp): Add attribute_hidden.
16012         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16014         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16015         Add attribute_hidden.
16017         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16018         [IS_IN (rtld)] (__open): Likewise.
16019         [IS_IN (rtld)] (__fcntl): Likewise.
16021         * include/dirent.h (__opendirat): Add attribute_hidden.
16022         (__getdents): Likewise.
16023         (__getdents64): Likewise.
16024         (__alloc_dir): Likewise.
16025         [IS_IN (rtld)] (__closedir): Likewise.
16026         [IS_IN (rtld)] (__fdopendir): Likewise.
16027         [IS_IN (rtld)] (__readdir): Likewise.
16028         [IS_IN (rtld)] (__readdir64): Likewise.
16029         [IS_IN (rtld)] (__rewinddir): Likewise.
16031         * include/dlfcn.h (_dl_catch_error): Moved to ...
16032         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16033         attribute_hidden.
16035         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16036         (_itoa_word): Likewise.
16038         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16039         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16040         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16041         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16042         (_dl_higher_prime_number): Likewise.
16043         (_dl_debug_printf_c): Likewise.
16044         (_dl_signal_cerror): Likewise.
16045         (_dl_receive_error): Likewise.
16046         (_dl_reloc_bad_type): Likewise.
16047         (_dl_resolve_conflicts): Likewise.
16048         (_dl_check_all_versions): Likewise.
16049         (_dl_check_map_versions): Likewise.
16050         (_dl_sort_fini): Likewise.
16051         (_dl_debug_initialize): Likewise.
16052         (_dl_init_paths): Likewise.
16053         (_dl_show_auxv): Likewise.
16054         (_dl_next_ld_env_entry): Likewise.
16055         (_dl_important_hwcaps): Likewise.
16056         (_dl_load_cache_lookup): Likewise.
16057         (_dl_update_slotinfo): Likewise.
16058         (_dl_show_scope): Likewise.
16060         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16061         attribute_hidden.
16062         (_wordcopy_fwd_dest_aligned): Likewise.
16063         (_wordcopy_bwd_aligned): Likewise.
16064         (_wordcopy_bwd_dest_aligned): Likewise.
16066         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16067         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16068         Likewise.
16069         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16070         Likewise.
16071         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16073 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16075         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16076         GCC 5 requirement.
16078 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16080         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16081         test.
16082         * sysdeps/i386/configure: Regenerated.
16083         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16084         code unconditional.
16086         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16087         test.
16088         (libc_cv_asm_popsection_directive): Likewise.
16089         * configure: Regenerated.
16090         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16091         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16092         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16093         (__make_section_unallocated): Make definition unconditional.
16094         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16095         Remove conditional definition.
16096         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16097         (__make_section_unallocated): Likewise.
16099         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16100         * configure: Regenerated.
16101         * config.make.in (static-libgcc): Remove variable.
16102         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16103         $(static-libgcc).
16104         (build-module-helper): Likewise.
16106         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16107         * configure: Regenerated.
16109 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16111         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16112         (struct char_buffer): New type.
16113         (char_buffer_start, char_buffer_size, char_buffer_error)
16114         (char_buffer_rewind, char_buffer_add): New functions.
16115         (ADDW): Remove macro, replaced by the char_buffer_add function.
16116         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16117         of extend_alloca.  Make control flow more explicit.
16119 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16121         [BZ #19137]
16122         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16123         Add -fomit-frame-pointer.
16124         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16126 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16128         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16129         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16130         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16131         only if !__GNUC_PREREQ (5,0).
16132         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16133         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16134         (INTERNAL_SYSCALL_NCS): Likewise.
16135         (LOADREGS_0): New macro for GCC 5.
16136         (ASMARGS_0): Likewise.
16137         (LOADREGS_1): Likewise.
16138         (ASMARGS_1): Likewise.
16139         (LOADREGS_2): Likewise.
16140         (ASMARGS_2): Likewise.
16141         (LOADREGS_3): Likewise.
16142         (ASMARGS_3): Likewise.
16143         (LOADREGS_4): Likewise.
16144         (ASMARGS_4): Likewise.
16145         (LOADREGS_5): Likewise.
16146         (ASMARGS_5): Likewise.
16147         (LOADREGS_6): Likewise.
16148         (ASMARGS_6): Likewise.
16150 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16152         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16153         -fomit-frame-pointer.
16154         (CFLAGS-mmap64.c): Likewise.
16155         (CFLAGS-semtimedop.c): Likewise.
16156         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16157         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16158         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16159         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16161 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16163         [BZ #18928]
16164         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16165         _dl_pointer_guard member.
16166         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16167         initializer.
16168         (security_init): Always set up pointer guard.
16169         (process_envvars): Do not process LD_POINTER_GUARD.
16171 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16173         [BZ #19134]
16174         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16175         (.LC2): Likewise.
16176         (.LC3): Likewise.
16177         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16179 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16181         [BZ #19129]
16182         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16183         r0 and r1.
16185 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16187         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16189 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16191         * include/stap-probe.h: Fix macro definition formatting.
16193 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16195         [BZ #19074]
16196         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16197         load and store num_ifs.
16199 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16201         [BZ #18822]
16202         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16203         (__sched_getaffinity_new): Add libc_hidden_proto and
16204         libc_hidden_def.
16206 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16208         [BZ #19007]
16209         * scripts/localplt.awk: Also allow GOT references.
16210         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16211         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16212         with "+ REL R_386_GLOB_DAT".
16213         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16214         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16216 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16218         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16219         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16220         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16221         Likewise.
16222         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16223         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16224         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16225         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16226         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16227         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16228         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16229         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16230         Likewise.
16231         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16233 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16235         [BZ #19125]
16236         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16237         <math_private.h> and <stdint.h>.
16238         (__llround): Avoid conversions to and from long long int, and
16239         subtractions, where those might raise spurious exceptions.
16240         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16241         <math_private.h> and <stdint.h>.
16242         (__llroundf): Avoid conversions to and from long long int, and
16243         subtractions, where those might raise spurious exceptions.
16245 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16247         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16248         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16249         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16250         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16251         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16252         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16253         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16254         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16255         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16256         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16257         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16258         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16259         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16260         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16261         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16262         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16263         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16264         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16265         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16266         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16267         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16268         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16269         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16270         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16271         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16272         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16273         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16274         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16275         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16276         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16277         (__xstat64_conv): Likewise.
16278         (__xstat32_conv): Likewise.
16280 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16282         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16283         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16284         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16285         <sysdeps/unix/sysv/linux/sysdep.h>.
16286         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16287         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16288         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16289         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16290         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16291         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16292         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16293         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16294         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16298         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16299         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16300         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16302         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16303         (sysdep-dl-routines): Add sysdep.
16304         [$(subdir) == nptl] (libpthread-routines): Likewise.
16305         [$(subdir) == rt] (librt-routines): Likewise.
16306         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16307         PIC when branching to SYSCALL_ERROR_LABEL.
16308         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16309         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16310         <sysdeps/unix/sysv/linux/sysdep.h>.
16311         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16312         (SYSCALL_ERROR_ERRNO): Removed.
16313         (SYSCALL_ERROR_HANDLER): Changed to empty.
16314         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16315         (__syscall_error): New prototype.
16316         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16317         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16319 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16321         [BZ #19124]
16322         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16323         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16324         _dl_runtime_resolve_avx.
16325         (_dl_runtime_profile_avx512): Make it a hidden alias of
16326         _dl_runtime_profile_avx.
16328 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16330         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16331         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16332         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16333         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16335         [BZ #16422]
16336         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16337         New configure test.
16338         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16339         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16340         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16341         <math_private.h> and <stdint.h>.
16342         (__llrint): Avoid conversions to long long int where those might
16343         raise spurious exceptions.
16344         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16345         <math_private.h> and <stdint.h>.
16346         (__llrintf): Avoid conversions to long long int where those might
16347         raise spurious exceptions.
16349 2015-10-12  Andreas Schwab  <schwab@suse.de>
16351         [BZ #18969]
16352         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16353         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16354         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16355         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16356         $(gen-locales).
16357         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16358         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16359         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16360         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16361         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16362         $(gen-locales).
16363         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16364         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16365         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16366         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16367         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16368         ($(objpfx)tst-ftell-active-handler.out)
16369         ($(objpfx)tst-ftell-append.out)
16370         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16371         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16372         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16373         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16374         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16375         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16376         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16377         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16378         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16379         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16380         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16381         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16382         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16383         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16384         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16385         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16386         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16387         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16388         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16389         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16390         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16391         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16392         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16393         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16394         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16395         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16396         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16397         $(gen-locales).
16398         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16399         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16400         $(gen-locales).
16401         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16402         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16403         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16404         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16405         $(gen-locales).
16406         * libio/tst_wprintf2.c (main): Use explicit locale.
16407         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16409 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16411         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16412         __msg_sig_post.
16413         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16415 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16417         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16418         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16420         * sysdeps/arm/libm-test-ulps: Regenerated.
16422         [BZ #15470]
16423         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16425         [BZ #16399]
16426         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16427         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16428         and <fix-fp-int-convert-overflow.h>.
16429         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16430         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16431         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16432         and <fix-fp-int-convert-overflow.h>.
16433         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16434         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16435         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16436         <fix-fp-int-convert-overflow.h>.
16437         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16438         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16439         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16440         <fix-fp-int-convert-overflow.h>.
16441         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16442         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16443         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16444         and <fix-fp-int-convert-overflow.h>.
16445         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16446         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16447         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16448         <limits.h> and <fix-fp-int-convert-overflow.h>.
16449         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16450         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16451         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16452         and <fix-fp-int-convert-overflow.h>.
16453         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16454         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16455         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16456         and <fix-fp-int-convert-overflow.h>.
16457         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16458         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16459         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16461 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16463         [BZ #18589]
16464         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16465         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16466         $(gen-locales).
16468 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16469             Phil Blundell <pb@pbcl.net>
16471         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16472         * nptl/tst-cancel26.c: New file.
16473         * nptl/tst-cancel27.c: Likewise.
16475 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16477         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16478         __ILP32__ isn't defined.
16479         (lrint): Likewise.
16480         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16481         (lrintf): Likewise.
16482         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16483         (lrintl): Likewise.
16484         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16485         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16486         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16488 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16490         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16491         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16493         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16494         file.
16495         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16496         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16498 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16500         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16501         configure test.
16502         * sysdeps/i386/configure: Regenerated.
16503         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16504         configure test.
16505         * sysdeps/x86_64/configure: Regenerated.
16506         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16507         Make code unconditional.
16509         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16510         test.
16511         * sysdeps/i386/configure: Regenerated.
16512         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16513         test.
16514         * sysdeps/x86_64/configure: Regenerated.
16515         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16516         Make code unconditional.
16517         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16518         Likewise.
16519         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16520         Likewise.
16521         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16522         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16523         code unconditional.
16524         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16525         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16526         code unconditional.
16527         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16528         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16529         code unconditional.
16530         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16531         code unconditional.
16532         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16533         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16534         code unconditional.
16535         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16536         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16537         code unconditional.
16538         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16539         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16540         code unconditional.
16541         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16542         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16543         code unconditional.
16544         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16545         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16547         [BZ #19095]
16548         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16549         mantissa to long int before shifting left.
16551 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16553         [BZ #19094]
16554         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16555         <limits.h>.
16556         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16557         when result overflows but exception would not result from cast.
16558         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16559         <limits.h>.
16560         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16561         when result overflows but exception would not result from cast.
16562         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16563         <limits.h>.
16564         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16565         when result overflows but exception would not result from cast.
16566         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16567         <limits.h>.
16568         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16569         when result overflows but exception would not result from cast.
16570         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16571         <limits.h>.
16572         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16573         when result overflows but exception would not result from cast.
16574         * math/libm-test.inc (lrint_test_data): Add more tests.
16575         (llrint_test_data): Likewise.
16577 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16579         [BZ #18872]
16580         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16581         Move out from under [$(run-built-tests) = yes] conditional.
16582         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16583         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16585 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16587         [BZ #18589]
16588         * string/Makefile (tests): Add bug-strcoll2.
16589         (LOCALES): Add cs_CZ.UTF-8.
16590         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16592         [BZ #18589]
16593         * string/bug-strcoll2.c: New file.
16594         * locale/categories.def: Revert commit
16595         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16596         * locale/langinfo.h: Likewise.
16597         * locale/localeinfo.h: Likewise.
16598         * locale/C-collate.c: Likewise.
16599         * locale/programs/ld-collate.c (collate_output): Likewise.
16600         * string/strcoll_l.c (STRDIFF): Likewise.
16601         (STRCOLL): Likewise.
16602         * wcsmbs/wcscoll_l.c: Likewise.
16604 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16606         * math/libm-test.inc (lround_test_data): Do not expect the absence
16607         of "inexact" for some tests with non-integer arguments.
16608         (llround_test_data): Likewise.
16610         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16611         test.
16612         (libc_cv_cc_sse2avx): Likewise.
16613         * sysdeps/i386/configure: Regenerated.
16614         * sysdeps/i386/i686/multiarch/Makefile
16615         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16616         [$(subdir) = math].
16617         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16618         code unconditional.
16619         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16620         Likewise.
16621         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16622         Likewise.
16623         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16624         Likewise.
16625         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16626         test.
16627         (libc_cv_cc_sse2avx): Likewise.
16628         * sysdeps/x86_64/configure: Regenerated.
16629         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16630         unconditional.
16631         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16632         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16633         unconditional.
16634         (_dl_runtime_profile)
16635         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16636         conditional code.
16637         * sysdeps/x86_64/fpu/multiarch/Makefile
16638         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16639         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16640         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16641         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16642         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16643         * sysdeps/x86_64/fpu/multiarch/e_log.c
16644         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16645         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16646         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16647         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16648         Likewise.
16649         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16650         Likewise.
16651         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16652         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16653         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16654         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16655         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16656         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16657         (HAVE_SSE2AVX_SUPPORT): Likewise.
16659 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16661         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16662         instead of #pragma optimize.
16664 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16666         [BZ #17195]
16667         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16668         as is similarly done in systrim and _int_free already.
16670 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16672         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16674 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16676         [BZ #19088]
16677         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16678         <limits.h>.
16679         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16680         overflows but exception would not result from cast.
16681         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16682         and <limits.h>.
16683         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16684         overflows but exception would not result from cast.
16685         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16686         <limits.h>.
16687         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16688         overflows but exception would not result from cast.
16689         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16690         <limits.h>.
16691         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16692         overflows but exception would not result from cast.
16693         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16694         <limits.h>.
16695         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16696         overflows but exception would not result from cast.
16697         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16698         <limits.h>.
16699         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16700         overflows but exception would not result from cast.
16701         * math/libm-test.inc (lround_test_data): Add more tests.
16702         (llround_test_data): Likewise.
16704 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16706         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16707         (CFLAGS-ialloc.c): Ditto.
16708         (CFLAGS-scheck.c): Ditto.
16710 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16712         [BZ #19086]
16713         * manual/filesys.texi (Storage Allocation): Fix argument order for
16714         posix_fallocate64.
16716 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16718         [BZ #19085]
16719         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16720         exponent below 48 inside case for non-overflowing exponent.
16721         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16723 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16725         * iconvdata/cp737.h (from_idx): Add const.
16726         * iconvdata/cp775.h (from_idx): Likewise.
16728 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16730         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16731         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16732         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16734         [BZ #19079]
16735         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16736         file, conditioned on [!_LP64].
16737         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16738         [!_LP64] (__lround): Do not define as function or alias.
16739         [!_LP64] (lround): Likewise.
16740         [!_LP64] (__lroundl): Likewise.
16741         [!_LP64] (lroundl): Likewise.
16742         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16743         macro.
16744         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16745         Likewise.
16747 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16749         * math/libm-test.inc (lrint_test_data): Add more tests.
16750         (llrint_test_data): Likewise.
16751         (lround_test_data): Likewise.
16752         (llround_test_data): Likewise.
16754         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16755         (llrint_test_data): Add tests used for lrint.
16757         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16758         test.
16759         * sysdeps/i386/configure: Regenerated.
16760         * sysdeps/i386/i686/multiarch/Makefile
16761         [$(config-cflags-sse4) = yes]: Make code unconditional.
16762         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16763         Likewise.
16764         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16765         Likewise.
16766         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16767         test.
16768         * sysdeps/x86_64/configure: Regenerated.
16769         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16770         Make code unconditional.
16771         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16772         Likewise.
16773         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16774         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16776         * scripts/rpm2dynsym.sh: Remove file.
16778 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16780         * configure.ac (libc_cv_cxx_thread_local): Define.
16781         * configure: Regenerate.
16782         * config.make.in (have-cxx-thread_local): Define.
16783         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16784         (LDLIBS-tst-thread_local1): Define.
16785         (tests): Add tst-thread_local1.
16786         [have-cxx-thread_local != yes] (tests-unsupported): Add
16787         tst-thread_local1.
16788         * nptl/tst-thread_local1.cc: New file.
16790 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16792         [BZ #19078]
16793         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16794         (u_thres): Likewise.
16795         (__expl): Determine whether to call __kernel_standard_l based on
16796         value of result, not argument.
16798         * math/libm-test.inc (scalb_test_data): Add more expectations for
16799         the "inexact" exception.
16801         [BZ #19077]
16802         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
16803         0.0L for argument 1.0L.
16805         [BZ #19076]
16806         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
16807         constant 0.0L when computing infinite result.
16809 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16811         [BZ #10432]
16812         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
16813         malloc_usable_size.
16815 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16817         [BZ #19018]
16818         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16819         Mangle function pointer before storing it.
16820         (__call_tls_dtors): Demangle function pointer before calling it.
16822 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16824         [BZ #19012]
16825         * iconv/gconv_db.c (gen_steps): Check for additional errors.
16826         Clean up on failure.
16828 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
16830         [BZ #19071]
16831         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
16832         long int variable to store possibly incremented high part of
16833         mantissa.
16834         * math/libm-test.inc (lround_test_data): Add tests used for
16835         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
16836         for tests requiring 64-bit long.  Do not condition tests on
16837         [TEST_FLOAT] unnecessarily.
16838         (llround_test_data): Add tests used for lround.  Add another
16839         expectation for the "inexact" exception.  Do not condition tests
16840         on [TEST_FLOAT] unnecessarily.
16842         [BZ #887]
16843         [BZ #19049]
16844         [BZ #19050]
16845         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
16846         * sysdeps/ieee754/dbl-64/e_log10.c: Include
16847         <fix-int-fp-convert-zero.h>.
16848         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16849         * sysdeps/ieee754/dbl-64/e_log2.c: Include
16850         <fix-int-fp-convert-zero.h>.
16851         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16852         * sysdeps/ieee754/dbl-64/s_erf.c: Include
16853         <fix-int-fp-convert-zero.h>.
16854         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16855         * sysdeps/ieee754/dbl-64/s_logb.c: Include
16856         <fix-int-fp-convert-zero.h>.
16857         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16858         * sysdeps/ieee754/flt-32/e_log10f.c: Include
16859         <fix-int-fp-convert-zero.h>.
16860         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16861         * sysdeps/ieee754/flt-32/e_log2f.c: Include
16862         <fix-int-fp-convert-zero.h>.
16863         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16864         * sysdeps/ieee754/flt-32/s_erff.c: Include
16865         <fix-int-fp-convert-zero.h>.
16866         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16867         * sysdeps/ieee754/flt-32/s_logbf.c: Include
16868         <fix-int-fp-convert-zero.h>.
16869         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16870         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
16871         <fix-int-fp-convert-zero.h>.
16872         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16873         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
16874         <fix-int-fp-convert-zero.h>.
16875         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16876         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
16877         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
16878         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
16879         file.
16880         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
16882 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16884         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16886 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
16888         [BZ #19059]
16889         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
16890         overflowing computation.
16891         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16892         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16893         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16894         Likewise.
16895         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16896         Likewise.
16897         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16898         Likewise.
16899         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16900         Likewise.
16901         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16902         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16903         Likewise.
16904         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16905         Likewise.
16906         * math/libm-test.inc (nexttoward_test_data): Add more tests.
16908         * nss/rewrite_field.c (__nss_rewrite_field): Use
16909         internal_function.
16910         * nss/valid_field.c (__nss_valid_field): Likewise.
16911         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16913 2015-10-02  Florian Weimer  <fweimer@redhat.com>
16915         [BZ #18724]
16916         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
16917         (__nss_invalid_field_characters, __nss_valid_field)
16918         (__nss_valid_list_field, __nss_rewrite_field): Declare.
16919         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
16920         tst-field.c: New file.
16921         * nss/Makefile (routines): Add valid_field, rewrite_field.
16922         (tests-static): Define unconditionally.
16923         (tests): Include tests-static.
16924         [build-static-nss] (tests-static): Use append.
16925         [build-static-nss] (tests): Remove modification.
16926         * nss/getent.c (print_group): Call putgrent.  Report error.
16927         (print_gshadow): Call putsgent.  Report error.
16928         (print_passwd): Call putpwent.  Report error.
16929         (print_shadow): Call putspent.  Report error.
16930         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
16931         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
16932         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
16933         name, password, directory, shell fields for valid syntax.  Rewrite
16934         GECOS field to match syntax.
16935         * pwd/Makefile (tests): Add tst-putpwent.
16936         * pwd/tst-putpwent.c: New file.
16937         * grp/putgrent.c (putgrent): Convert to ISO function definition.
16938         Check grName, grpasswd, gr_mem fields for valid syntax.
16939         Change loop variable i to size_t.
16940         * grp/Makefile (tests): Add tst-putgrent.
16941         * grp/tst-putgrent.c: New file.
16942         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
16943         valid syntax.
16944         * shadow/Makefile (tests): Add tst-putspent.
16945         * shadow/tst-putspent.c: New file.
16946         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
16947         sg_mem fields for valid syntax.
16948         * gshadow/Makefile (tests): Add tst-putsgent.
16949         * gshadow/tst-putsgent.c: New file.
16951 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16953         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
16954         assembly instructions.
16956 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16958         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
16959         prefix from operands.
16961 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
16963         [BZ #16347]
16964         [BZ #19046]
16965         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16966         <libc-internal.h>.
16967         (MAXLGM): Do not use diagnostic control macros.
16968         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
16969         threshold for ldbl-128ibm.
16970         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16971         instead of multiplying by log then subtracting.
16972         * math/auto-libm-test-in: Add more tests of lgamma.
16973         * math/auto-libm-test-out: Regenerated.
16975         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
16976         (TYPE_HEX_DIG): Likewise.
16977         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16978         precisions when printing floating-point numbers.
16979         (check_float_internal): Likewise.
16981 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16983         [BZ #16620]
16984         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16985         of log (10) rounded downward to 48 bits.
16986         (log10_low): Use corresponding low part of log (10).
16988         [BZ #19032]
16989         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16990         compute result as (x - x) / (x - x) not as 0 / 0.
16991         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16992         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16994         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16995         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16996         and expm1.
16997         * math/auto-libm-test-out: Regenerated.
16998         * math/libm-test.inc (acos_test_data): Add more tests.
16999         (asin_test_data): Likewise.
17000         (asinh_test_data): Likewise.
17001         (atan_test_data): Likewise.
17002         (atanh_test_data): Likewise.
17003         (atan2_test_data): Likewise.
17004         (cbrt_test_data): Likewise.
17005         (ceil_test_data): Likewise.
17006         (copysign_test_data): Likewise.
17007         (cos_test_data): Likewise.
17008         (cosh_test_data): Likewise.
17009         (erf_test_data): Likewise.
17010         (erfc_test_data): Likewise.
17011         (exp_test_data): Likewise.
17012         (exp10_test_data): Likewise.
17013         (exp2_test_data): Likewise.
17014         (expm1_test_data): Likewise.
17015         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17017 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17019         [BZ #19006]
17020         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17021         to ...
17022         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17023         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17024         to ...
17025         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17026         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17027         to ...
17028         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17029         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17030         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17031         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17032         to ...
17033         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17034         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17035         Moved to ...
17036         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17037         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17038         Moved to ...
17039         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17040         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17041         to ...
17042         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17043         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17044         Moved to ...
17045         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17046         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17047         to ...
17048         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17049         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17050         Removed.
17051         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17052         Likewise.
17053         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17054         Likewise.
17055         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17056         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17057         Likewise.
17058         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17059         Likewise.
17060         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17061         Likewise.
17062         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17063         Likewise.
17064         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17065         Likewise.
17066         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17067         Likewise.
17068         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17069         Likewise.
17070         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17071         Likewise.
17072         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17073         Likewise.
17074         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17075         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17076         Likewise.
17077         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17078         Likewise.
17079         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17080         Likewise.
17081         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17082         Likewise.
17083         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17084         Likewise.
17085         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17086         Replace ../i486/pthread_cond_timedwait.S with
17087         ../pthread_cond_timedwait.S.
17089 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17091         * math/libm-test.inc (acos_test_data): Refine expectations for
17092         errno and "inexact" exceptions.
17093         (acosh_test_data): Likewise.
17094         (asin_test_data): Likewise.
17095         (asinh_test_data): Likewise.
17096         (atan_test_data): Likewise.
17097         (atanh_test_data): Likewise.
17098         (atan2_test_data): Likewise.
17099         (cbrt_test_data): Likewise.
17100         (ceil_test_data): Likewise.
17101         (copysign_test_data): Likewise.
17102         (cosh_test_data): Likewise.
17103         (erf_test_data): Likewise.
17104         (erfc_test_data): Likewise.
17105         (exp_test_data): Likewise.
17106         (exp10_test_data): Likewise.
17107         (exp2_test_data): Likewise.
17108         (expm1_test_data): Likewise.
17109         (fabs_test_data): Likewise.
17110         (floor_test_data): Likewise.
17111         (fma_test_data): Likewise.
17112         (fmax_test_data): Likewise.
17113         (fmin_test_data): Likewise.
17114         (fmod_test_data): Likewise.
17115         (fpclassify_test_data): Likewise.
17116         (frexp_test_data): Likewise.
17117         (hypot_test_data): Likewise.
17118         (ilogb_test_data): Likewise.
17119         (isgreater_test_data): Likewise.
17120         (isgreaterequal_test_data): Likewise.
17121         (isinf_test_data): Likewise.
17122         (isless_test_data): Likewise.
17123         (islessequal_test_data): Likewise.
17124         (islessgreater_test_data): Likewise.
17125         (isnan_test_data): Likewise.
17126         (isnormal_test_data): Likewise.
17127         (issignaling_test_data): Likewise.
17128         (isunordered_test_data): Likewise.
17129         (j0_test_data): Likewise.
17130         (j1_test_data): Likewise.
17131         (jn_test_data): Likewise.
17132         (lgamma_test_data): Likewise.
17133         (lrint_test_data): Likewise.
17134         (llrint_test_data): Likewise.
17135         (log_test_data): Likewise.
17136         (log10_test_data): Likewise.
17137         (log1p_test_data): Likewise.
17138         (log2_test_data): Likewise.
17139         (logb_test_data): Likewise.
17140         (lround_test_data): Likewise.
17141         (llround_test_data): Likewise.
17142         (modf_test_data): Likewise.
17143         (nearbyint_test_data): Likewise.
17144         (nextafter_test_data): Likewise.
17145         (nexttoward_test_data): Likewise.
17146         (pow_test_data): Likewise.
17147         (remainder_test_data): Likewise.
17148         (remquo_test_data): Likewise.
17149         (rint_test_data): Likewise.
17150         (round_test_data): Likewise.
17151         (signbit_test_data): Likewise.
17152         (sinh_test_data): Likewise.
17153         (sqrt_test_data): Likewise.
17154         (tanh_test_data): Likewise.
17155         (tgamma_test_data): Likewise.
17156         (trunc_test_data): Likewise.
17157         (y0_test_data): Likewise.
17158         (y1_test_data): Likewise.
17159         (yn_test_data): Likewise.
17160         (significand_test_data): Likewise.
17162 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17164         * manual/filesys.texi (Storage Allocation): Document that
17165         posix_fallocate emulation fails when fd is open with O_WRONLY.
17167 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17169         [BZ #19016]
17170         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17171         allow more cases with X^2 + Y^2 >= 0.5.
17172         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17173         normal element in sum instead of special-casing based on values of
17174         arguments.
17175         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17176         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17177         -1 as normal element in sum instead of special-casing based on
17178         values of arguments.
17179         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17180         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17181         (__x2y2m1): Update comment.
17182         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17183         as normal element in sum instead of special-casing based on values
17184         of arguments.
17185         * math/s_clog.c (__clog): Handle more cases using log1p without
17186         hypot.
17187         * math/s_clog10.c (__clog10): Likewise.
17188         * math/s_clog10f.c (__clog10f): Likewise.
17189         * math/s_clog10l.c (__clog10l): Likewise.
17190         * math/s_clogf.c (__clogf): Likewise.
17191         * math/s_clogl.c (__clogl): Likewise.
17192         * math/auto-libm-test-in: Add more tests of clog and clog10.
17193         * math/auto-libm-test-out: Regenerated.
17194         * sysdeps/i386/fpu/libm-test-ulps: Update.
17195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17197 2015-09-28  Martin Sebor  <msebor@redhat.com>
17199         [BZ #18969]
17200         * string/Makefile (LOCALES): Define.
17201         (gen-locales.mk): Include.
17202         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17203         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17204         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17205         on setlocale failure.
17207 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17209         [BZ #18985]
17210         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17211         (__strftime_internal): Likewise.
17212         * time/tst-strftime.c (do_bz18985): New test.
17213         (do_test): Call it.
17215 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17217         [BZ #18956]
17218         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17219         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17220         extracting high part.
17221         * math/auto-libm-test-in: Add another test of pow.
17222         * math/auto-libm-test-out: Regenerated.
17223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17225 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17227         [BZ #18825]
17228         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17229         New macro.
17230         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17231         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17232         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17233         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17234         DBL_NARROW_EVAL, reloading the PIC register as needed.
17235         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17236         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17237         FLT_NARROW_EVAL.  Use separate return path for case when first
17238         argument is NaN.
17239         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17240         DEFINE_LDBL_MIN.
17241         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17242         PIC register.
17243         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17244         math_check_force_underflow_nonneg.
17245         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17246         underflow for subnormal result.
17247         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17248         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17249         math_check_force_underflow_nonneg.
17250         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17251         math_check_force_underflow.
17252         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17253         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17254         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17255         DEFINE_LDBL_MIN.
17256         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17257         * math/auto-libm-test-in: Add more tests of pow.
17258         * math/auto-libm-test-out: Regenerated.
17260 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17262         * nss/bug17079.c (init_test_items): Add diagnostic for
17263         inconsistent entries.
17264         (test_buffer_size): Skip inconsistent entries.
17266 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17268         [BZ #13304]
17269         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17270         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17271         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17273         [BZ #13304]
17274         * sysdeps/microblaze/s_fma.c: New file.
17275         * sysdeps/microblaze/s_fmaf.c: Likewise.
17276         * sysdeps/microblaze/sfp-machine.h: Likewise.
17278 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17280         [BZ #17250]
17281         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17282         member.
17284 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17286         [BZ #18803]
17287         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17288         (MO): New macro.
17289         (__ieee754_hypot) [PIC]: Load PIC register.
17290         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17291         DBL_NARROW_EVAL.
17292         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17293         math_check_force_underflow_nonneg in case where result might be
17294         tiny.
17295         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17296         Likewise.
17297         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17298         Likewise.
17299         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17300         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17301         * math/auto-libm-test-in: Add more tests of hypot.
17302         * math/auto-libm-test-out: Regenerated.
17304 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17306         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17308 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17310         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17311         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17312         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17313         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17314         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17315         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17316         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17318         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17319         LOAD_PIC_REG.
17321         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17322         (FLT_CHECK_FORCE_UFLOW): Likewise.
17323         (DBL_CHECK_FORCE_UFLOW): Likewise.
17324         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17325         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17326         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17327         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17328         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17329         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17330         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17331         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17332         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17333         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17334         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17335         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17336         (flt_min): Replace with use of DEFINE_FLT_MIN.
17337         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17338         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17339         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17340         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17341         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17342         (flt_min): Replace with use of DEFINE_FLT_MIN.
17343         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17344         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17345         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17346         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17347         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17348         (flt_min): Replace with use of DEFINE_FLT_MIN.
17349         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17350         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17351         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17352         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17353         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17354         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17355         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17356         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17357         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17358         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17359         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17360         (flt_min): Replace with use of DEFINE_FLT_MIN.
17361         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17362         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17363         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17364         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17365         main computation.
17366         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17367         (flt_min): Replace with use of DEFINE_FLT_MIN.
17368         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17369         main computation.
17370         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17371         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17372         (MO): New macro.
17373         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17374         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17375         (flt_min): Replace with use of DEFINE_FLT_MIN.
17376         (MO): New macro.
17377         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17378         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17379         (__log1pl): Use MO.
17381         [BZ #19003]
17382         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17383         $(config-cflags-nofma).
17385 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17387         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17389 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17391         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17392         (TWO127): Likewise.
17394         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17395         (min_of_type): Likewise.
17396         (math_check_force_underflow): Likewise.
17397         (math_check_force_underflow_nonneg): Likewise.
17398         (math_check_force_underflow_complex): Likewise.
17399         * math/e_exp2l.c (__ieee754_exp2l): Use
17400         math_check_force_underflow_nonneg.
17401         * math/k_casinh.c (__kernel_casinh): Likewise.
17402         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17403         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17404         * math/s_catan.c (__catan): Use
17405         math_check_force_underflow_complex.
17406         * math/s_catanf.c (__catanf): Likewise.
17407         * math/s_catanh.c (__catanh): Likewise.
17408         * math/s_catanhf.c (__catanhf): Likewise.
17409         * math/s_catanhl.c (__catanhl): Likewise.
17410         * math/s_catanl.c (__catanl): Likewise.
17411         * math/s_ccosh.c (__ccosh): Likewise.
17412         * math/s_ccoshf.c (__ccoshf): Likewise.
17413         * math/s_ccoshl.c (__ccoshl): Likewise.
17414         * math/s_cexp.c (__cexp): Likewise.
17415         * math/s_cexpf.c (__cexpf): Likewise.
17416         * math/s_cexpl.c (__cexpl): Likewise.
17417         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17418         * math/s_clog10.c (__clog10): Likewise.
17419         * math/s_clog10f.c (__clog10f): Likewise.
17420         * math/s_clog10l.c (__clog10l): Likewise.
17421         * math/s_clogf.c (__clogf): Likewise.
17422         * math/s_clogl.c (__clogl): Likewise.
17423         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17424         * math/s_csinf.c (__csinf): Likewise.
17425         * math/s_csinh.c (__csinh): Likewise.
17426         * math/s_csinhf.c (__csinhf): Likewise.
17427         * math/s_csinhl.c (__csinhl): Likewise.
17428         * math/s_csinl.c (__csinl): Likewise.
17429         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17430         * math/s_csqrtf.c (__csqrtf): Likewise.
17431         * math/s_csqrtl.c (__csqrtl): Likewise.
17432         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17433         * math/s_ctanf.c (__ctanf): Likewise.
17434         * math/s_ctanh.c (__ctanh): Likewise.
17435         * math/s_ctanhf.c (__ctanhf): Likewise.
17436         * math/s_ctanhl.c (__ctanhl): Likewise.
17437         * math/s_ctanl.c (__ctanl): Likewise.
17438         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17439         instead of volatile.
17440         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17441         math_check_force_underflow.
17442         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17443         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17444         volatile when forcing underflow.
17445         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17446         math_check_force_underflow_nonneg.
17447         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17448         Likewise.
17449         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17450         math_check_force_underflow.
17451         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17452         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17453         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17454         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17455         math_check_force_underflow_nonneg.
17456         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17457         math_check_force_underflow.
17458         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17460         instead of volatile.
17461         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17462         math_check_force_underflow.
17463         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17464         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17465         math_check_force_underflow_nonneg.
17466         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17467         math_check_force_underflow.
17468         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17469         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17470         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17471         math_check_force_underflow_nonneg.
17472         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17473         Likewise.
17474         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17475         math_check_force_underflow.
17476         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17477         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17478         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17479         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17480         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17481         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17482         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17483         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17484         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17485         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17486         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17487         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17488         Likewise.
17489         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17490         math_check_force_underflow_nonneg.
17491         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17492         Likewise.
17493         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17494         math_check_force_underflow.
17495         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17496         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17497         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17498         Likewise.
17499         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17500         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17501         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17502         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17503         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17504         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17506         instead of volatile.
17507         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17508         math_check_force_underflow.
17509         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17510         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17511         math_check_force_underflow.
17512         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17513         Likewise.
17514         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17515         Use math_check_force_underflow_nonneg.
17516         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17517         math_check_force_underflow.
17518         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17519         Likewise.
17520         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17521         Likewise.
17522         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17523         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17524         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17525         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17526         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17527         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17528         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17529         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17530         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17531         math_check_force_underflow_nonneg.
17532         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17533         math_check_force_underflow.
17534         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17535         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17536         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17537         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17538         math_check_force_underflow_nonneg.
17539         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17540         math_check_force_underflow.
17541         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17542         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17543         instead of volatile.
17544         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17545         math_check_force_underflow.
17547         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17548         * stdlib/strtod_l.c: Include <math_private.h>.
17549         (overflow_value): Use math_narrow_eval.
17550         (underflow_value): Likewise.
17551         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17552         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17553         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17554         (__ieee754_gamma_r): Likewise.
17555         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17556         Likewise.
17557         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17558         Likewise.
17559         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17560         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17561         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17562         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17563         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17564         (__ieee754_gammaf_r): Likewise.
17565         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17566         Likewise.
17567         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17568         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17569         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17570         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17571         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17572         volatile.
17573         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17574         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17575         math_narrow_eval.
17576         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17577         Likewise.
17578         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17579         Likewise.
17580         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17581         Likewise.
17582         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17583         volatile.
17584         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17585         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17586         math_narrow_eval.
17587         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17588         Likewise.
17589         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17590         Likewise.
17592 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17594         * nptl/Versions: Remove ignored symbols.
17596 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17598         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17599         * nss/Makefile (tests): Update.
17601 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17603         * nss/bug18287.c: New file.
17604         * nss/Makefile (tests): Add bug18287.
17606 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17608         * mach/Versions (__mach_host_self_): Add symbol.
17610 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17612         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17613         vm_page_size.
17615 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17617         Really fix sysdeps/i386/fpu/s_scalbn.S build
17619         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17620         (libc: GLIBC_2_22): Remove unused version set.
17622 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17624         * config.make.in (enable-timezone-tools): New variable.
17625         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17626         (enable_timezone_tools): Export to generated files.
17627         * configure: Regenerate.
17628         * INSTALL: Regenerate.
17629         * manual/install.texi (--disable-timezone-tools): Document new flag.
17630         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17631         ifeq ($(enable-timezone-tools),yes) check.
17633 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17635         * timezone/Makefile: Revert previous change.
17637         [BZ #18980]
17638         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17639         (DEFINE_DBL_MIN): Likewise.
17640         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17641         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17642         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17643         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17644         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17645         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17646         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17647         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17648         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17649         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17650         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17651         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17652         (flt_min): Replace with use of DEFINE_FLT_MIN.
17653         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17654         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17655         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17656         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17657         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17658         (flt_min): Replace with use of DEFINE_FLT_MIN.
17659         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17660         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17661         (flt_min): Replace with use of DEFINE_FLT_MIN.
17662         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17663         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17664         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17665         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17666         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17667         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17668         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17669         (__ieee754_pow): Use DBL_NARROW_EVAL.
17670         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17671         (__ieee754_powf): Use FLT_NARROW_EVAL.
17672         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17673         (__ieee754_expf_sse2): Convert double-precision result to single
17674         precision.
17675         * sysdeps/i386/fpu/libm-test-ulps: Update.
17677 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17679         * timezone/Makefile: Ignore unused variable errors due to private.h
17680         (time_t_min) and (time_t_max).
17681         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17682         Likewise.
17684 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17686         [BZ #18981]
17687         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17688         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17689         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17690         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17691         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17692         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17693         (__scalbn): Use DBL_NARROW_EVAL.
17694         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17695         (__scalbnf): Use FLT_NARROW_EVAL.
17697 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17699         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17700         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17701         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17702         * stdio-common/printf_fp.c (___printf_fp):
17703         Use signbit to get the sign. Use isinf macro to allow inlining.
17704         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17705         * stdio-common/printf_size.c (__printf_size): Likewise.
17707 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17709         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17711 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17713         [BZ #18980]
17714         * sysdeps/generic/math_private.h: Include <float.h>.
17715         (math_narrow_eval): New macro.
17716         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17717         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17718         math_narrow_eval on overflowing return value.
17719         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17720         Likewise.
17721         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17722         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17723         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17724         Likewise.
17725         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17727 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17729         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17730         * math/Makefile: Remove isinf_ns.c.
17731         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17732         * math/multc3.c (__multc3): Likewise.
17733         * math/s_casin.c (__casin): Likewise.
17734         * math/s_casinf.c (__casinf): Likewise.
17735         * math/s_casinl.c (__casinl): Likewise.
17736         * math/s_cproj.c (__cproj): Likewise.
17737         * math/s_cprojf.c (__cprojf): Likewise.
17738         * math/s_cprojl.c (__cprofl): Likewise.
17739         * math/s_ctan.c (__ctan): Likewise.
17740         * math/s_ctanf.c (__ctanf): Likewise.
17741         * math/s_ctanh.c (__ctanh): Likewise.
17742         * math/s_ctanhf.c (__ctanhf): Likewise.
17743         * math/s_ctanhl.c (__ctanhl): Likewise.
17744         * math/s_ctanl.c (__ctanl): Likewise.
17745         * math/w_fmod.c (__fmod): Likewise.
17746         * math/w_fmodf.c (__fmodf): Likewise.
17747         * math/w_fmodl.c (_fmodl): Likewise.
17748         * math/w_remainder.c (__remainder): Likewise.
17749         * math/w_remainderf.c (__remainderf): Likewise.
17750         * math/w_remainderl.c (__remainderl): Likewise.
17751         * math/w_scalb.c (__scalb): Likewise.
17752         * math/w_scalbf.c (__scalbf): Likewise.
17753         * math/w_scalbl.c (__scalbl): Likewise.
17754         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17755         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17756         with isinf.
17757         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17758         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17759         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17760         __isinf_nsf with isinf.
17761         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17762         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17763         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17764         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17765         with isinf.
17766         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17767         __isinf_nsl with isinf.
17768         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17769         with isinf.
17770         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17771         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17772         __isinf_nsl with isinf.
17773         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17774         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17775         with isinf.
17777 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17779         * resolv/base64.c (rcsid): Remove unused static.
17780         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17781         static.  (tqpi1): Likewise.
17782         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17783         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17784         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17785         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17786         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17787         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17788         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17789         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17790         Likewise.
17792 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
17794         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17795         <nptl/pthreadP.h>.
17796         (_longjmp_unwind): Use __libc_ptf_call.
17797         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
17799 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
17801         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
17802         * sysdeps/arm/__longjmp.S: Likewise.
17804 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17806         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
17807         Use __builtin_signbit.
17808         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
17809         Use __builtin_signbitf.
17810         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
17811         Use __builtin_signbitl.
17812         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17813         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
17815 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17817         [BZ #15367]
17818         [BZ #17441]
17820         * math/Makefile: Build test-snan.c with -fsignaling-nans.
17821         * math/math.h (fpclassify): Use __builtin_fpclassify when
17822         available.  (signbit): Use __builtin_signbit(f/l).
17823         (isfinite): Use__builtin_isfinite.  (isnormal): Use
17824         __builtin_isnormal.  (isnan): Use __builtin_isnan.
17825         (isinf): Use __builtin_isinf_sign.
17827 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17829         * benchtests/Makefile: Add bench-math-inlines, link with libm.
17830         * benchtests/bench-math-inlines.c: New benchmark.
17831         * benchtests/bench-util.h: New file.
17832         * benchtests/bench-util.c: New file.
17833         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
17835 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
17837         * elf/tst-dlmopen1.c: Define TEST_SO.
17838         (do_test): Use TEST_SO.
17840         * elf/dl-load.c: Include libc-internal.h.
17841         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
17843 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17845         [BZ #17887]
17846         * time/strptime_l.c (__strptime_internal): Make %z accept
17847         [+-]HH:MM time zones.
17849 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17851         [BZ #17886]
17852         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
17853         valid time zone.
17855 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
17857         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
17858         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
17859         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17860         (__ASSUME_FDATASYNC): Delete.
17862 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17864         * conform/linknamespace.pl: Require weak undefined symbols to be
17865         in the standard namespace.
17866         (%strong_syms): Rename to %seen_syms.
17867         (%strong_seen): Rename to %seen_where.
17869 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
17871         [BZ #18970]
17872         * misc/error.c (error): Replace pthread_setcancelstate with
17873         __pthread_setcancelstate.
17874         (error_at_line): Likewise.
17875         * posix/wordexp.c (parse_comm): Likewise.
17876         * stdlib/fmtmsg.c (fmtmsg): Likewise.
17877         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
17878         (__pthread_setcancelstate): This.
17879         (pthread_setcancelstate): Add an alias.
17880         * nptl/nptl-init.c (pthread_functions): Replace
17881         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
17882         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
17883         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
17884         hidden_proto.
17885         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
17886         it with hidden_def.
17887         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
17888         (pthread_setcancelstate): Renamed to ...
17889         (__pthread_setcancelstate): This.
17890         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
17891         __libc_ptf_call with __pthread_setcancelstate.
17893 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17894             Andreas Schwab  <schwab@suse.de>
17896         [BZ #17118]
17897         * math/s_ctan.c (__ctan): Determine sign of zero real part of
17898         result when imaginary part of argument is infinite using sine and
17899         cosine.
17900         * math/s_ctanf.c (__ctanf): Likewise.
17901         * math/s_ctanl.c (__ctanl): Likewise.
17902         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
17903         of result when real part of argument is infinite using sine and
17904         cosine.
17905         * math/s_ctanhf.c (__ctanhf): Likewise.
17906         * math/s_ctanhl.c (__ctanhl): Likewise.
17907         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
17908         (ctanh_test_data): Add more tests of ctanh.
17910 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17912         [BZ #15384]
17913         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
17914         bit-mask as in subtraction.
17915         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
17916         Likewise.
17917         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17918         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17919         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
17921         [BZ #18951]
17922         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
17923         underflow exception for small results.
17924         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17925         Likewise.
17926         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17927         Likewise.
17928         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17929         Likewise.
17930         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17931         Likewise.
17932         * math/auto-libm-test-in: Add more tests of tgamma.
17933         * math/auto-libm-test-out: Regenerated.
17935 2015-09-17  Andreas Schwab  <schwab@suse.de>
17937         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
17939 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17941         [BZ #18977]
17942         * math/bits/mathcalls.h
17943         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
17944         not declare.
17945         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
17946         Likewise.
17947         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
17948         Likewise.
17949         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
17950         Likewise.
17951         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
17952         Likewise.
17953         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
17954         Likewise.
17955         * conform/data/math.h-data
17956         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
17957         function.
17958         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
17959         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
17960         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
17961         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
17962         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
17963         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
17964         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
17965         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
17966         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
17967         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
17968         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
17970         [BZ #6803]
17971         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
17972         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
17973         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
17974         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
17975         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
17976         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17977         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17978         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17979         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17980         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17981         Likewise.
17982         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17983         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17984         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17985         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17986         long_double_symbol calls.
17987         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17988         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17989         strong alias of __ldexpl.
17990         (scalbnl): Define using long_double_symbol.
17991         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17992         Remove alias.
17993         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17994         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17995         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17996         (scalbln_test_data): Add more errno expectations.
17998 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18000         Cache the host port like we cache the task port.  This way we do not
18001         need to call the kernel just to get the port.  Furthermore, we no
18002         longer increase the reference count on every invocation of
18003         `mach_host_self'.
18005         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18006         Protect declarations against the macro expansion.
18007         * mach/mach_init.c (__mach_host_self_): New variable.
18008         (mach_init): Initialize `__mach_host_self_'.
18009         * mach/mach_init.h (__mach_host_self_): New declaration.
18010         (__mach_host_self, mach_host_self): New macros.
18011         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18012         Release reference.
18014 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18016         [BZ #4404]
18017         * po/de.po: Update from Translation Project.
18019         [BZ #16415]
18020         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18021         (__expm1l): Remove code to handle positive infinity and overflow.
18022         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18023         variable.
18024         (__expm1l): Remove code to handle positive infinity and overflow.
18026 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18027             Paul Pluzhnikov  <ppluzhnikov@google.com>
18029         [BZ #18872]
18030         * stdio-common/Makefile (tst-printf-bz18872): New test.
18031         (tst-printf-bz18872-mem.out): Likewise.
18032         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18033         * stdio-common/vfprintf.c: Fix memory leaks.
18035 2015-09-16  Andreas Schwab  <schwab@suse.de>
18037         [BZ #17244]
18038         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18039         Remove extra va_start/va_end calls.
18041         [BZ #17243]
18042         * posix/execl.c (execl): Add missing va_end.
18043         * posix/execle.c (execle): Likewise.
18044         * posix/execlp.c (execlp): Likewise.
18046 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18048         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18049         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18051 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18053         [BZ #18967]
18054         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18055         undefine around includes of <bits/mathcalls.h>.
18056         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18057         not declare function.
18058         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18059         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18060         (scalb): Likewise.
18061         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18062         not define macro.
18063         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18064         variable.
18065         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18066         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18067         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18069         [BZ #18857]
18070         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18071         return non-finite argument without doing ordered comparisons on
18072         it.
18074         [BZ #16296]
18075         * math/fenv.h (fegetround): Use __attribute_pure__.
18076         * include/fenv.h (__fegetround): Likewise.
18078         [BZ #18595]
18079         * math/s_ctan.c (__ctan): Force underflow exception for results
18080         whose real or imaginary part has small absolute value.
18081         * math/s_ctanf.c (__ctanf): Likewise.
18082         * math/s_ctanh.c (__ctanh): Likewise.
18083         * math/s_ctanhf.c (__ctanhf): Likewise.
18084         * math/s_ctanhl.c (__ctanhl): Likewise.
18085         * math/s_ctanl.c (__ctanl): Likewise.
18086         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18087         and ctanh.  Add more tests of ctan and ctanh.
18089         [BZ #15918]
18090         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18091         handling of cases where one argument is an infinity.
18093         [BZ #18875]
18094         [BZ #18966]
18095         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18096         (MO): New macro.
18097         (__ieee754_exp10): For small results, force underflow exception
18098         and remove excess range and precision from return value.
18099         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18100         (MO): New macro.
18101         (__ieee754_exp10f): For small results, force underflow exception
18102         and remove excess range and precision from return value.
18103         * math/auto-libm-test-in: Add more tests of exp10.
18104         * math/auto-libm-test-out: Regenerated.
18106 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18108         [BZ #18875]
18109         [BZ #18961]
18110         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18111         (MO): New macro.
18112         (__ieee754_exp): For small results, force underflow exception and
18113         remove excess range and precision from return value.
18114         (__exp_finite): Likewise.
18115         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18116         (MO): New macro.
18117         (__ieee754_expf): For small results, force underflow exception and
18118         remove excess range and precision from return value.
18119         (__expf_finite): Likewise.
18120         * math/auto-libm-test-in: Add more tests of exp.
18121         * math/auto-libm-test-out: Regenerated.
18123         [BZ #16521]
18124         [BZ #18875]
18125         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18126         small results.
18127         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18128         (MO): New macro.
18129         (__ieee754_exp2): For small results, force underflow exception and
18130         remove excess range and precision from return value.
18131         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18132         (MO): New macro.
18133         (__ieee754_exp2f): For small results, force underflow exception
18134         and remove excess range and precision from return value.
18135         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18136         (MO): New macro.
18137         (__ieee754_exp2l): Force underflow exception for small results.
18138         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18139         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18140         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18141         (MO): New macro.
18142         (__ieee754_exp2l): Force underflow exception for small results.
18143         * math/auto-libm-test-in: Add more tests or exp2.
18144         * math/auto-libm-test-out: Regenerated.
18146 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18148         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18150         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18151         /dev/null.
18153 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18155         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18156         io fs process)): Drop spurious backslash.
18158 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18160         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18161         Use sysinfo system call instead of parsing /proc/meminfo.
18162         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18163         Likewise.
18165 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18167         [BZ #16985]
18168         * programs/localedef.c (main): Display argv[remaining] when
18169         output_path is NULL.
18171 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18173         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18174         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18175         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18176         tanh.
18177         * math/auto-libm-test-out: Regenerated.
18178         * sysdeps/i386/fpu/libm-test-ulps: Update.
18179         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18180         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18183 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18185         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18186         Use 'override' keyword to freeze the value here, preventing
18187         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18189 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18191         [BZ #14912]
18192         * sysdeps/aarch64/bits/atomic.h: Move to ...
18193         * sysdeps/aarch64/atomic-machine.h: ...here.
18194         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18195         _AARCH64_ATOMIC_MACHINE_H.
18196         * sysdeps/alpha/bits/atomic.h: Move to ...
18197         * sysdeps/alpha/atomic-machine.h: ...here.
18198         * sysdeps/arm/bits/atomic.h: Move to ...
18199         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18200         * bits/atomic.h: Move to ...
18201         * sysdeps/generic/atomic-machine.h: ...here.
18202         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18203         * sysdeps/i386/bits/atomic.h: Move to ...
18204         * sysdeps/i386/atomic-machine.h: ...here.
18205         * sysdeps/ia64/bits/atomic.h: Move to ...
18206         * sysdeps/ia64/atomic-machine.h: ...here.
18207         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18208         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18209         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18210         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18211         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18212         * sysdeps/microblaze/bits/atomic.h: Move to ...
18213         * sysdeps/microblaze/atomic-machine.h: ...here.
18214         * sysdeps/mips/bits/atomic.h: Move to ...
18215         * sysdeps/mips/atomic-machine.h: ...here.
18216         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18217         * sysdeps/powerpc/bits/atomic.h: Move to ...
18218         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18219         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18220         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18221         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18222         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18223         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18224         <atomic-machine.h> instead of <bits/atomic.h>.
18225         * sysdeps/s390/bits/atomic.h: Move to ...
18226         * sysdeps/s390/atomic-machine.h: ...here.
18227         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18228         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18229         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18230         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18231         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18232         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18233         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18234         * sysdeps/tile/bits/atomic.h: Move to ...
18235         * sysdeps/tile/atomic-machine.h: ...here.
18236         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18237         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18238         <sysdeps/tile/atomic-machine.h> instead of
18239         <sysdeps/tile/bits/atomic.h>.
18240         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18241         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18242         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18243         <sysdeps/tile/atomic-machine.h> instead of
18244         <sysdeps/tile/bits/atomic.h>.
18245         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18246         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18247         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18248         <sysdeps/arm/atomic-machine.h> instead of
18249         <sysdeps/arm/bits/atomic.h>.
18250         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18251         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18252         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18253         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18254         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18255         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18256         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18257         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18258         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18259         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18260         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18261         * sysdeps/x86_64/bits/atomic.h: Move to ...
18262         * sysdeps/x86_64/atomic-machine.h: ...here.
18263         * include/atomic.h: Include <atomic-machine.h> instead of
18264         <bits/atomic.h>.
18266         * sysdeps/mips/mips32/libm-test-ulps: Update.
18267         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18269         [BZ #18952]
18270         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18271         not convert non-integer negative arguments to int to determine the
18272         value of signgam.
18273         * math/auto-libm-test-in: Add more tests of lgamma.
18274         * math/auto-libm-test-out: Regenerated.
18276         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18277         cosh, csqrt, erfc, expm1 and lgamma.
18278         * math/auto-libm-test-out: Regenerated.
18279         * sysdeps/i386/fpu/libm-test-ulps: Update.
18280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18282 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18284         [BZ #2542]
18285         [BZ #2543]
18286         [BZ #2558]
18287         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18288         __lgamma_neg for arguments from -28.0 to -2.0.
18289         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18290         __lgamma_negf for arguments from -15.0 to -2.0.
18291         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18292         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18293         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18294         Call __lgamma_negl for arguments from -33.0 to -2.0.
18295         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18296         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18297         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18298         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18299         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18300         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18301         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18302         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18303         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18304         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18305         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18306         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18307         (__lgamma_neg): Likewise.
18308         (__lgamma_negl): Likewise.
18309         (__lgamma_product): Likewise.
18310         (__lgamma_productl): Likewise.
18311         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18312         * math/auto-libm-test-in: Add more tests of lgamma.
18313         * math/auto-libm-test-out: Regenerated.
18314         * sysdeps/i386/fpu/libm-test-ulps: Update.
18315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18317 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18319         [BZ #18675]
18320         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18322 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18324         [BZ #14912]
18325         * bits/libc-lock.h: Move to ...
18326         * sysdeps/generic/libc-lock.h: ...here.
18327         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18328         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18329         * sysdeps/mach/hurd/libc-lock.h: ...here.
18330         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18331         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18332         * sysdeps/mach/bits/libc-lock.h: Move to ...
18333         * sysdeps/mach/libc-lock.h: ...here.
18334         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18335         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18336         * sysdeps/nptl/libc-lock.h: ...here.
18337         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18338         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18339         * sysdeps/nptl/libc-lockP.h: ...here.
18340         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18341         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18342         <bits/libc-lock.h>.
18343         * dirent/scandir-tail.c: Likewise.
18344         * dlfcn/dlerror.c: Likewise.
18345         * elf/dl-close.c: Likewise.
18346         * elf/dl-iteratephdr.c: Likewise.
18347         * elf/dl-lookup.c: Likewise.
18348         * elf/dl-open.c: Likewise.
18349         * elf/dl-support.c: Likewise.
18350         * elf/dl-writev.h: Likewise.
18351         * elf/rtld.c: Likewise.
18352         * grp/fgetgrent.c: Likewise.
18353         * gshadow/fgetsgent.c: Likewise.
18354         * gshadow/sgetsgent.c: Likewise.
18355         * iconv/gconv_conf.c: Likewise.
18356         * iconv/gconv_db.c: Likewise.
18357         * iconv/gconv_dl.c: Likewise.
18358         * iconv/gconv_int.h: Likewise.
18359         * iconv/gconv_trans.c: Likewise.
18360         * include/link.h: Likewise.
18361         * inet/getnameinfo.c: Likewise.
18362         * inet/getnetgrent.c: Likewise.
18363         * inet/getnetgrent_r.c: Likewise.
18364         * intl/bindtextdom.c: Likewise.
18365         * intl/dcigettext.c: Likewise.
18366         * intl/finddomain.c: Likewise.
18367         * intl/gettextP.h: Likewise.
18368         * intl/loadmsgcat.c: Likewise.
18369         * intl/localealias.c: Likewise.
18370         * intl/textdomain.c: Likewise.
18371         * libidn/idn-stub.c: Likewise.
18372         * libio/libioP.h: Likewise.
18373         * locale/duplocale.c: Likewise.
18374         * locale/freelocale.c: Likewise.
18375         * locale/newlocale.c: Likewise.
18376         * locale/setlocale.c: Likewise.
18377         * login/getutent_r.c: Likewise.
18378         * login/getutid_r.c: Likewise.
18379         * login/getutline_r.c: Likewise.
18380         * login/utmp-private.h: Likewise.
18381         * login/utmpname.c: Likewise.
18382         * malloc/mtrace.c: Likewise.
18383         * misc/efgcvt.c: Likewise.
18384         * misc/error.c: Likewise.
18385         * misc/fstab.c: Likewise.
18386         * misc/getpass.c: Likewise.
18387         * misc/mntent.c: Likewise.
18388         * misc/syslog.c: Likewise.
18389         * nis/nis_call.c: Likewise.
18390         * nis/nis_callback.c: Likewise.
18391         * nis/nss-default.c: Likewise.
18392         * nis/nss_compat/compat-grp.c: Likewise.
18393         * nis/nss_compat/compat-initgroups.c: Likewise.
18394         * nis/nss_compat/compat-pwd.c: Likewise.
18395         * nis/nss_compat/compat-spwd.c: Likewise.
18396         * nis/nss_nis/nis-alias.c: Likewise.
18397         * nis/nss_nis/nis-ethers.c: Likewise.
18398         * nis/nss_nis/nis-grp.c: Likewise.
18399         * nis/nss_nis/nis-hosts.c: Likewise.
18400         * nis/nss_nis/nis-network.c: Likewise.
18401         * nis/nss_nis/nis-proto.c: Likewise.
18402         * nis/nss_nis/nis-pwd.c: Likewise.
18403         * nis/nss_nis/nis-rpc.c: Likewise.
18404         * nis/nss_nis/nis-service.c: Likewise.
18405         * nis/nss_nis/nis-spwd.c: Likewise.
18406         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18407         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18408         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18409         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18410         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18411         * nis/nss_nisplus/nisplus-network.c: Likewise.
18412         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18413         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18414         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18415         * nis/nss_nisplus/nisplus-service.c: Likewise.
18416         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18417         * nis/ypclnt.c: Likewise.
18418         * nptl/libc_pthread_init.c: Likewise.
18419         * nss/getXXbyYY.c: Likewise.
18420         * nss/getXXent.c: Likewise.
18421         * nss/getXXent_r.c: Likewise.
18422         * nss/nss_db/db-XXX.c: Likewise.
18423         * nss/nss_db/db-netgrp.c: Likewise.
18424         * nss/nss_db/nss_db.h: Likewise.
18425         * nss/nss_files/files-XXX.c: Likewise.
18426         * nss/nss_files/files-alias.c: Likewise.
18427         * nss/nsswitch.c: Likewise.
18428         * posix/regex_internal.h: Likewise.
18429         * posix/wordexp.c: Likewise.
18430         * pwd/fgetpwent.c: Likewise.
18431         * resolv/res_hconf.c: Likewise.
18432         * resolv/res_libc.c: Likewise.
18433         * shadow/fgetspent.c: Likewise.
18434         * shadow/lckpwdf.c: Likewise.
18435         * shadow/sgetspent.c: Likewise.
18436         * socket/opensock.c: Likewise.
18437         * stdio-common/reg-modifier.c: Likewise.
18438         * stdio-common/reg-printf.c: Likewise.
18439         * stdio-common/reg-type.c: Likewise.
18440         * stdio-common/vfprintf.c: Likewise.
18441         * stdio-common/vfscanf.c: Likewise.
18442         * stdlib/abort.c: Likewise.
18443         * stdlib/cxa_atexit.c: Likewise.
18444         * stdlib/fmtmsg.c: Likewise.
18445         * stdlib/random.c: Likewise.
18446         * stdlib/setenv.c: Likewise.
18447         * string/strsignal.c: Likewise.
18448         * sunrpc/auth_none.c: Likewise.
18449         * sunrpc/bindrsvprt.c: Likewise.
18450         * sunrpc/create_xid.c: Likewise.
18451         * sunrpc/key_call.c: Likewise.
18452         * sunrpc/rpc_thread.c: Likewise.
18453         * sysdeps/arm/backtrace.c: Likewise.
18454         * sysdeps/generic/ldsodefs.h: Likewise.
18455         * sysdeps/generic/stdio-lock.h: Likewise.
18456         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18457         * sysdeps/i386/backtrace.c: Likewise.
18458         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18459         * sysdeps/m68k/backtrace.c: Likewise.
18460         * sysdeps/mach/hurd/cthreads.c: Likewise.
18461         * sysdeps/mach/hurd/dirstream.h: Likewise.
18462         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18463         * sysdeps/nptl/malloc-machine.h: Likewise.
18464         * sysdeps/nptl/stdio-lock.h: Likewise.
18465         * sysdeps/posix/dirstream.h: Likewise.
18466         * sysdeps/posix/getaddrinfo.c: Likewise.
18467         * sysdeps/posix/system.c: Likewise.
18468         * sysdeps/pthread/aio_suspend.c: Likewise.
18469         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18470         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18471         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18472         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18473         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18474         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18475         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18476         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18477         * sysdeps/unix/sysv/linux/system.c: Likewise.
18478         * sysdeps/x86_64/backtrace.c: Likewise.
18479         * time/alt_digit.c: Likewise.
18480         * time/era.c: Likewise.
18481         * time/tzset.c: Likewise.
18482         * wcsmbs/wcsmbsload.c: Likewise.
18483         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18484         instead of <bits/libc-lock.h> in comment.
18486 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18488         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18489         Only use .set mips2 if the current ISA is below mips2.
18490         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18491         Likewise.
18492         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18493         mips32r2 if the current ISA is below mips32r2.
18494         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18495         (TLS_IE): Updated to use the TLD_RDHWR macro.
18496         (TLS_LE): Likewise.
18497         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18498         __ASSEMBLER__ condition.
18500 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18502         Fix parallel build of before-compile targets.
18504         * sysdeps/mach/Makefile ($(patsubst
18505         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18506         mach-before-compile target.
18507         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18508         io fs process)): Move rule to dedicated hurd-before-compile target.
18510 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18512         Fix rules generating headers in hurd/ and mach/ when initial make call
18513         has subdir= explicitly set.
18515         * sysdeps/mach/Makefile ($(patsubst
18516         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18517         calling $(MAKE).
18518         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18519         io fs process)): Force subdir to hurd when calling $(MAKE).
18520         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18521         subdir to mach when calling $(MAKE).
18523 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18525         Check sysheaders when looking for Mach and Hurd headers
18527         * sysdeps/mach/configure.ac: Add sysheaders check.
18528         * sysdeps/mach/configure: Regenerate.
18529         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18530         * sysdeps/mach/hurd/configure: Regenerate.
18532 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18534         [BZ #18921]
18535         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18536         Fix inverted sense of test of 'o_directory_works' value.
18537         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18538         Bernhard Voelker <mail@bernhard-voelker.de>.
18540 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18542         [BZ #14912]
18543         * bits/linkmap.h: Move to ...
18544         * sysdeps/generic/linkmap.h: ...here.
18545         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18546         * sysdeps/aarch64/linkmap.h: ...here.
18547         * sysdeps/arm/bits/linkmap.h: Move to ...
18548         * sysdeps/arm/linkmap.h: ...here.
18549         * sysdeps/hppa/bits/linkmap.h: Move to ...
18550         * sysdeps/hppa/linkmap.h: ...here.
18551         * sysdeps/ia64/bits/linkmap.h: Move to ...
18552         * sysdeps/ia64/linkmap.h: ...here.
18553         * sysdeps/mips/bits/linkmap.h: Move to ...
18554         * sysdeps/mips/linkmap.h: ...here.
18555         * sysdeps/s390/bits/linkmap.h: Move to ...
18556         * sysdeps/s390/linkmap.h: ...here.
18557         * sysdeps/sh/bits/linkmap.h: Move to ...
18558         * sysdeps/sh/linkmap.h: ...here.
18559         * sysdeps/x86/bits/linkmap.h: Move to ...
18560         * sysdeps/x86/linkmap.h: ...here.
18561         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18563 2015-09-04  Andreas Schwab  <schwab@suse.de>
18565         [BZ #18635]
18566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18567         (__makecontext): Terminate FDE before return label.
18568         (__novec_makecontext): Likewise.
18570 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18572         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18573         first member of struct sv in syscall macro.
18575 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18577         [BZ #14912]
18578         * bits/stdio-lock.h: Move to ...
18579         * sysdeps/generic/stdio-lock.h: ...here.
18580         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18581         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18582         * sysdeps/nptl/stdio-lock.h: ...here.
18583         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18584         * include/libio.h: Include <stdio-lock.h> instead of
18585         <bits/stdio-lock.h>.
18586         * sysdeps/nptl/fork.c: Likewise.
18587         * sysdeps/pthread/flockfile.c: Likewise.
18588         * sysdeps/pthread/ftrylockfile.c: Likewise.
18589         * sysdeps/pthread/funlockfile.c: Likewise.
18591         [BZ #14912]
18592         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18593         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18594         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18595         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18596         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18597         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18598         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18600 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18602         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18603         (test-xfail-tst-protected1b): New variable.
18605 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18607         [BZ #14912]
18608         * bits/libc-tsd.h: Move to ...
18609         * sysdeps/generic/libc-tsd.h: ...here.
18610         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18611         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18612         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18613         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18614         * include/ctype.h: Include <libc-tsd.h> instead of
18615         <bits/libc-tsd.h>.
18616         * include/rpc/rpc.h: Likewise.
18617         * locale/localeinfo.h: Likewise.
18618         * sunrpc/rpc_thread.c: Likewise.
18619         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18620         * sysdeps/nptl/malloc-machine.h: Likewise.
18622         * Makefile (headers): Remove bits/libc-lock.h.
18623         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18625         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18626         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18627         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18628         <bits/stdio-lock.h>.
18629         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18630         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18632 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18634         [BZ #18757]
18635         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18636         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18637         BZ #18757.
18639 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18641         * malloc/mtrace.pl: Filter out NULL entries.
18643 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18645         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18646         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18647         macro.
18649         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18650         (TCP_CC_INFO): Likewise.
18651         (TCP_SAVE_SYN): Likewise.
18652         (TCP_SAVED_SYN): Likewise.
18654 2015-08-31  Brett Neumeier <brett@neumeier.us>
18656         [BZ #18870]
18657         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18659 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18661         [BZ #18873]
18662         Fix broken overflow check in posix_fallocate
18663         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18664         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18665         Fix parenthesization typo.
18667 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18669         [BZ #18887]
18670         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18671         tst-mntent-blank-passno.
18672         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18673         * misc/tst-mntent-blank-corrupt.c: New test.
18674         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18675         * misc/tst-mntent.c (do_test): ... here.
18677 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18679         [BZ #4404]
18680         * po/de.po: Fix SIGALRM typo.
18682 2015-08-28  James Perkins  <james@loowit.net>
18684         * time/tst-strptime2.c (tests): Replace short list of test
18685         strings for strptime %z specifier with code which exhaustively
18686         tests every combination of sign and 0 to 5 digits. Tests for
18687         rejection of invalid strings.
18689 2015-08-28  James Perkins  <james@loowit.net>
18691         [BZ #16141]
18692         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18693         calculation, removing incorrect decimal time rounding, so that
18694         all minute values result in a valid seconds value.
18695         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18696         offset range limits to UTC-99:59 through UTC+99:59 to parse
18697         current and historical use cases.
18698         * time/tst-strptime2.c (tests): Modify and add tests for the
18699         strptime %z input field descriptor, specifically conversion of
18700         minutes to seconds and validating an offset range of -9959 to
18701         +9959.
18703 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18704             Dmitry V. Levin  <ldv@altlinux.org>
18706         [BZ #18877]
18707         * posix/Makefile (tests): Add tst-mmap-offset.
18708         * posix/tst-mmap.c: New file.
18709         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18710         offset calculation for negative values.
18712 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18714         * sysdeps/i386/init-arch.h: New file.
18715         * sysdeps/i386/i586/init-arch.h: Likewise.
18716         * sysdeps/i386/i686/init-arch.h: Likewise.
18717         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18718         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18719         * sysdeps/x86/cpu-features.h (bit_I586): New.
18720         (bit_I686): Likewise.
18721         (bit_CX8): Likewise.
18722         (bit_CMOV): Likewise.
18723         (index_CX8): Likewise.
18724         (index_CMOV): Likewise.
18725         (index_I586): Likewise.
18726         (index_I686): Likewise.
18727         (reg_CX8): Likewise.
18728         (reg_CMOV): Likewise.
18729         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18730         available at compile-time.
18731         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18732         available at compile-time.
18733         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18734         (USE_I686): Likewise.
18736 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18738         * sysdeps/i386/bcopy.S: New file.
18739         * sysdeps/i386/bzero.S: Likewise.
18740         * sysdeps/i386/memcpy.S: Likewise.
18741         * sysdeps/i386/memmove.S: Likewise.
18742         * sysdeps/i386/mempcpy.S: Likewise.
18743         * sysdeps/i386/memset.S: Likewise.
18744         * sysdeps/i386/bzero.c: Removed.
18745         * sysdeps/i386/memset.c: Likewise.
18746         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18747         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18748         * sysdeps/i386/i586/memset_chk.S: Likewise.
18749         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18750         * sysdeps/i386/memcpy_chk.S: Here.
18751         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18752         * sysdeps/i386/memmove_chk.S: Here.
18753         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18754         * sysdeps/i386/mempcpy_chk.S: Likewise.
18755         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18756         * sysdeps/i386/memset_chk.S: Likewise.
18758 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18760         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18761         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18762         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18763         * soft-fp/fmadf4.c: Ditto.
18764         * soft-fp/fmatf4.c: Ditto.
18766 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18768         * sysdeps/i386/i586/Implies: Removed.
18769         * sysdeps/i386/i686/Implies: Likewise.
18771 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18773         * sysdeps/i386/i486/strlen.S: Moved to ...
18774         * sysdeps/i386/strlen.S: Here.
18776 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18778         * sysdeps/i386/i486/strcat.S: Moved to ...
18779         * sysdeps/i386/strcat.S: Here.
18781 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18783         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18784         * sysdeps/i386/pthread_spin_trylock.S: Here.
18785         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18786         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18788 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18790         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18791         * sysdeps/i386/string-inlines.c: Here.
18793 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18795         * sysdeps/i386/i486/htonl.S: Moved ...
18796         * sysdeps/i386/htonl.S: here.
18798 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18800         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
18801         * sysdeps/i386/bits/atomic.h: Here.
18803 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18805         * sysdeps/i386/i486/Versions: Removed.
18807 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18809         [BZ #2898]
18810         * misc/mktemp.c: Add mkdtemp to the link_warning message.
18811         Based on patch by Aurelien Jarno.
18813 2015-08-26  Stan Shebs  <stanshebs@google.com>
18815         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
18816         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18818 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18820         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
18821         * sysdeps/powerpc/dl-procinfo.c:
18822         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
18823         feature so it shows when LD_SHOW_AUXV=1.
18825 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18827         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18828         (__arch_compare_and_exchange_val_32_acq): Remove and use common
18829         definition.  ISA 2.07B no longer requires full sync.
18831 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
18833         [BZ #18863]
18834         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
18835         (si_call_addr): Define.
18836         (si_syscall): Define.
18837         (si_arch): Define.
18839 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18841         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
18842         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
18843         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
18844         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18845         (__memset_zero_constant_len_parameter): New.
18846         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
18847         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18848         (__memset_zero_constant_len_parameter): Don't define if
18849         __memset_chk or USE_AS_BZERO are defined.
18851         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
18852         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
18853         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
18855         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
18856         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
18857         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
18858         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
18859         comments.
18860         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
18861         -mno-mmx for $(all-rtld-routines).
18862         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
18863         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
18864         i386.
18866 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18868         * sysdeps/generic/unwind.h
18869         (_Unwind_Word): Use __mode__(__unwind_word__)
18870         instead of __mode__(__word__).
18871         (_Unwind_Sword): Likewise.
18873         * sysdeps/s390/s390-64/utf8-utf16-z9.c
18874         (MAX_NEEDED_INPUT): New define.
18875         (MAX_NEEDED_OUTPUT): New define.
18877         * NEWS: New item for IBM z13 string optimizations.
18879         * sysdeps/s390/multiarch/memrchr-c.c: New File.
18880         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
18881         * sysdeps/s390/multiarch/memrchr.c: Likewise.
18882         * sysdeps/s390/multiarch/Makefile
18883         (sysdep_routines): Add memrchr functions.
18884         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18885         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
18887         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
18888         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
18889         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
18890         * sysdeps/s390/multiarch/Makefile
18891         (sysdep_routines): Add wmemcmp functions.
18892         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18893         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
18894         * benchtests/bench-wmemcmp.c: New File.
18895         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
18897         * sysdeps/s390/multiarch/wmemset-c.c: New File.
18898         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
18899         * sysdeps/s390/multiarch/wmemset.c: Likewise.
18900         * sysdeps/s390/multiarch/Makefile
18901         (sysdep_routines): Add wmemset functions.
18902         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18903         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
18904         * wcsmbs/wmemset.c: Use WMEMSET if defined.
18905         * string/test-memset.c: Add wmemset support.
18906         * wcsmbs/test-wmemset.c: New File.
18907         * wcsmbs/Makefile (strop-tests): Add wmemset.
18908         * benchtests/bench-memset.c: Add wmemset support.
18909         * benchtests/bench-wmemset.c: New File.
18910         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18912         * sysdeps/s390/multiarch/memccpy-c.c: New File.
18913         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
18914         * sysdeps/s390/multiarch/memccpy.c: Likewise.
18915         * sysdeps/s390/multiarch/Makefile
18916         (sysdep_routines): Add memccpy functions.
18917         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18918         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
18919         * string/memccpy.c: Use MEMCCPY if defined.
18921         * sysdeps/s390/multiarch/memchr-vx.S: New File.
18922         * sysdeps/s390/multiarch/memchr.c: Likewise.
18923         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
18924         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
18925         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
18926         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
18927         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
18928         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
18929         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
18930         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
18931         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
18932         and rawmemchr functions.
18933         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18934         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18935         and wmemchr.
18936         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
18937         * string/test-memchr.c: Add wmemchr support.
18938         * wcsmbs/test-wmemchr.c: New File.
18939         * wcsmbs/Makefile (strop-tests): Add wmemchr.
18940         * benchtests/bench-memchr.c: Add wmemchr support.
18941         * benchtests/bench-wmemchr.c: New File.
18942         * benchtests/Makefile (wcsmbs-bench): wmemchr.
18944         * sysdeps/s390/multiarch/strcspn-c.c: New File.
18945         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
18946         * sysdeps/s390/multiarch/strcspn.c: Likewise.
18947         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
18948         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
18949         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
18950         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
18951         wcscspn functions.
18952         * sysdeps/s390/multiarch/ifunc-impl-list.c
18953         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
18954         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
18955         * string/test-strcspn.c: Add wcscspn support.
18956         * wcsmbs/test-wcscspn.c: New File.
18957         * wcsmbs/Makefile (strop-tests): Add wcscspn.
18958         * benchtests/bench-strcspn.c: Add wcscspn support.
18959         * benchtests/bench-wcscspn.c: New File.
18960         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
18962         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
18963         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
18964         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
18965         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
18966         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
18967         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
18968         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
18969         wcspbrk functions.
18970         * sysdeps/s390/multiarch/ifunc-impl-list.c
18971         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
18972         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
18973         * string/test-strpbrk.c: Add wcspbrk support.
18974         * wcsmbs/test-wcspbrk.c: New File.
18975         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
18976         * benchtests/bench-strpbrk.c: Add wcspbrk support.
18977         * benchtests/bench-wcspbrk.c: New File.
18978         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18980         * sysdeps/s390/multiarch/strspn-c.c: New File.
18981         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18982         * sysdeps/s390/multiarch/strspn.c: Likewise.
18983         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18984         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18985         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18986         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18987         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18988         wcsspn functions.
18989         * sysdeps/s390/multiarch/ifunc-impl-list.c
18990         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18991         * string/test-strspn.c: Add wcsspn support.
18992         * wcsmbs/test-wcsspn.c: New File.
18993         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18994         * benchtests/bench-strspn.c: Add wcsspn support.
18995         * benchtests/bench-wcsspn.c: New File.
18996         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18998         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18999         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19000         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19001         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19002         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19003         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19004         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19005         wcsrchr functions.
19006         * sysdeps/s390/multiarch/ifunc-impl-list.c
19007         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19008         * benchtests/bench-wcsrchr.c: New File.
19009         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19011         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19012         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19013         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19014         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19015         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19016         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19018         wcschrnul functions.
19019         * sysdeps/s390/multiarch/ifunc-impl-list.c
19020         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19021         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19022         * string/test-strchr.c: Add wcschrnul support.
19023         * wcsmbs/test-wcschrnul.c: New File.
19024         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19025         * benchtests/bench-strchr.c: Add wcschrnul support.
19026         * benchtests/bench-wcschrnul.c: New File.
19027         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19029         * sysdeps/s390/multiarch/strchr-c.c: New File.
19030         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19031         * sysdeps/s390/multiarch/strchr.c: Likewise.
19032         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19033         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19034         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19035         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19036         wcschr functions.
19037         * sysdeps/s390/multiarch/ifunc-impl-list.c
19038         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19039         * string/strchr.c (STRCHR): Define and use macro.
19040         * benchtests/bench-wcschr.c: New File.
19041         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19043         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19044         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19045         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19046         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19047         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19048         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19049         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19050         wcsncmp functions.
19051         * sysdeps/s390/multiarch/ifunc-impl-list.c
19052         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19053         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19054         * benchtests/bench-strncmp.c: Add wcsncmp support.
19055         * benchtests/bench-wcsncmp.c: New File.
19056         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19058         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19059         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19060         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19061         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19062         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19063         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19064         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19066         wcscmp functions.
19067         * sysdeps/s390/multiarch/ifunc-impl-list.c
19068         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19069         * string/strcmp.c (STRCMP): Define and use macro.
19070         * benchtests/bench-wcscmp.c: New File.
19071         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19072         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19073         instead of _HAVE_STRING_ARCH_memchr.
19075         * sysdeps/s390/multiarch/strncat-c.c: New File.
19076         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19077         * sysdeps/s390/multiarch/strncat.c: Likewise.
19078         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19079         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19080         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19081         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19082         wcsncat functions.
19083         * sysdeps/s390/multiarch/ifunc-impl-list.c
19084         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19085         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19086         * string/test-strncat.c: Add wcsncat support.
19087         * wcsmbs/test-wcsncat.c: New File.
19088         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19089         * benchtests/bench-strncat.c: Add wcsncat support.
19090         * benchtests/bench-wcsncat.c: New File.
19091         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19093         * sysdeps/s390/multiarch/strcat-c.c: New File.
19094         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19095         * sysdeps/s390/multiarch/strcat.c: Likewise.
19096         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19097         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19098         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19099         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19100         wcscat functions.
19101         * sysdeps/s390/multiarch/ifunc-impl-list.c
19102         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19103         * string/strcat.c (STRCAT): Define and use macro.
19104         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19105         * string/test-strcat.c: Add wcscat support.
19106         * wcsmbs/test-wcscat.c: New File.
19107         * wcsmbs/Makefile (strop-tests): Add wcscat.
19108         * benchtests/bench-strcat.c: Add wcscat support.
19109         * benchtests/bench-wcscat.c: New File.
19110         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19112         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19113         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19114         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19115         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19116         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19117         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19118         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19119         wcpncpy functions.
19120         * sysdeps/s390/multiarch/ifunc-impl-list.c
19121         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19122         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19123         * string/test-stpncpy.c: Add wcpncpy support.
19124         * wcsmbs/test-wcpncpy.c: New File.
19125         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19126         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19127         * benchtests/bench-wcpncpy.c: New File.
19128         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19130         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19131         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19132         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19133         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19134         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19135         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19136         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19137         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19138         wcsncpy functions.
19139         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19140         * sysdeps/s390/multiarch/ifunc-impl-list.c
19141         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19142         * string/test-strncpy.c: Add wcsncpy support.
19143         * wcsmbs/test-wcsncpy.c: New File.
19144         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19145         * benchtests/bench-strncpy.c: Add wcsncpy support.
19146         * benchtests/bench-wcsncpy.c: New File.
19147         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19149         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19150         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19151         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19152         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19153         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19154         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19155         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19156         wcpcpy functions.
19157         * string/stpcpy.c: Use STPCPY if defined.
19158         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19159         * sysdeps/s390/multiarch/ifunc-impl-list.c
19160         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19161         * string/test-stpcpy.c: Add wcpcpy support.
19162         * wcsmbs/test-wcpcpy.c: New File.
19163         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19164         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19165         * benchtests/bench-wcpcpy.c: New File.
19166         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19168         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19169         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19170         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19171         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19172         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19173         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19174         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19175         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19176         wcscpy functions.
19177         * sysdeps/s390/multiarch/ifunc-impl-list.c
19178         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19179         * benchtests/bench-wcscpy.c: New File.
19180         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19182         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19183         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19184         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19185         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19186         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19187         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19188         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19189         wcsnlen functions.
19190         * sysdeps/s390/multiarch/ifunc-impl-list.c
19191         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19192         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19193         * string/test-strnlen.c: Add wcsnlen support.
19194         * wcsmbs/test-wcsnlen.c: New File.
19195         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19196         * benchtests/bench-strnlen.c: Add wcsnlen support.
19197         * benchtests/bench-wcsnlen.c: New File.
19198         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19200         * sysdeps/s390/multiarch/Makefile: New File.
19201         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19202         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19203         * sysdeps/s390/multiarch/strlen.c: Likewise.
19204         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19205         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19206         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19207         * string/strlen.c (STRLEN): Define and use macro.
19208         * sysdeps/s390/multiarch/ifunc-impl-list.c
19209         (IFUNC_VX_IMPL): New macro function.
19210         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19211         * benchtests/Makefile (wcsmbs-bench): New variable.
19212         (string-bench-all): Added wcsmbs-bench.
19213         * benchtests/bench-wcslen.c: New File.
19215         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19216         s390_vx_libc_ifunc2): New macro function.
19218         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19219         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19220         assembler support.
19221         * sysdeps/s390/configure: Regenerated.
19223         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19224         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19226         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19227         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19228         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19230         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19231         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19232         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19233         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19234         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19235         (memcmp, bcmp): Use __memcmp_default as alias source.
19236         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19237         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19238         Rename to __memcmp_default.
19239         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19240         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19241         (memcpy): Use __memcpy_default as alias source.
19242         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19243         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19244         Rename to __memcpy_default.
19245         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19246         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19247         (memset): Use __memset_default as alias source.
19248         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19249         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19250         Rename to __memset_default.
19251         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19252         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19253         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19254         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19255         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19256         (memcmp, bcmp): Use __memcmp_default as alias source.
19257         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19258         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19259         Rename to __memcmp_default.
19260         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19261         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19262         (memcpy): Use __memcpy_default as alias source.
19263         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19264         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19265         Rename to __memcpy_default.
19266         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19267         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19268         (memset): Use __memset_default as alias source.
19269         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19270         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19271         Rename to __memset_default.
19272         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19273         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19275         [BZ #18610]
19276         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19277         __ieee_instruction_pointer to __unused.
19278         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19279         __ieee_instruction_pointer.
19280         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19281         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19282         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19283         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19284         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19285         Mark dxc-field as reserved.
19287 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19289         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19290         if the weak reference is not null.
19292 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19294         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19296         [BZ #11214]
19297         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19299 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19301         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19302         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19303         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19304         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19305         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19306         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19307         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19308         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19309         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19310         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19311         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19312         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19313         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19314         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19315         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19316         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19317         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19318         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19320 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19322         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19323         register other than r0 for tabort, it has special meaning.
19324         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19325         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19326         transaction before starting syscall.
19328 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19330         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19332 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19334         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19336         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19337         * sysdeps/x86_64/rtld-memset.S: Likewise.
19338         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19339         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19340         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19341         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19343         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19345 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19347         * debug/strcpy_chk.c: Improve performance.
19348         * debug/stpcpy_chk.c: Likewise.
19349         * sysdeps/x86_64/strcpy_chk.S: Remove.
19350         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19352         [BZ #18240]
19353         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19355 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19357         [BZ #15128]
19358         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19359         ifuncmain8.
19360         (modules-names): Add ifuncmod8.
19361         ($(objpfx)ifuncmain8): New rule.
19362         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19363         <cpuid.h>.
19364         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19365         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19366         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19367         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19368         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19369         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19370         * sysdeps/x86_64/ifuncmain8.c: New file.
19371         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19372         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19373         Removed.
19374         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19375         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19376         Change rtld_savespace_sse to __glibc_unused2.
19377         (RTLD_CHECK_FOREIGN_CALL): Removed.
19378         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19379         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19380         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19382 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19384         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19386 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19388         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19389         Unconditionally set __fpcr to avoid uninialized warning.
19390         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19392 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19394         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19395         is corrupt.
19397         * malloc/arena.c (arena_get2): Drop unused argument.
19398         (arena_lock): Adjust.
19399         (arena_get_retry): Likewise.
19401 2015-08-24  Andreas Schwab  <schwab@suse.de>
19403         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19404         Don't define.
19405         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19406         (__ASSUME_IPC64): Don't undef.
19407         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19408         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19409         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19410         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19411         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19412         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19413         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19414         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19415         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19416         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19417         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19418         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19419         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19420         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19421         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19422         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19423         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19424         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19425         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19426         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19427         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19429 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19431         * manual/Makefile (install): Only build manual when perl is available.
19433 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19435         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19436         '#undef memcpy' by '#undef memchr'.
19438 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19440         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19441         memchr not point to the internal __GI_memchr implementation.
19443 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19445         * timezone/Makefile (CFLAGS-zdump.c): Remove
19446         -Wno-strict-prototypes.
19447         (CFLAGS-zic.c): Likewise.
19448         (CFLAGS-ialloc.c): Likewise.
19449         (CFLAGS-scheck.c): Likewise.
19451         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19452         -Wno-error=undef.
19454 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19456         * i386/i686/multiarch/strcasestr-c.c: Removed.
19457         * x86_64/multiarch/strcasestr.c: Likewise.
19458         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19459         Remove strcasestr.
19461 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19463         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19465         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19466         variables for high and low parts before possibly modifying them.
19468 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19470         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19471         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19472         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19473         of "multiarch/init-arch.h".
19474         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19475         * sysdeps/x86/init-arch.h: This.
19477 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19479         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19480         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19482 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19484         [BZ #17787]
19485         * manual/macros.texi: Add twoexp macro.
19486         * manual/filesys.texi: Fix exponents.
19487         * manual/llio.texi: Likewise.
19488         * manual/stdio.texi: Likewise.
19490 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19492         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19493         incorrect use.
19495 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19497         [BZ #18370]
19498         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19499         whose real or imaginary part has small absolute value.
19500         * math/s_csqrtf.c (__csqrtf): Likewise.
19501         * math/s_csqrtl.c (__csqrtl): Likewise.
19502         * math/auto-libm-test-in: Add more tests of csqrt.
19503         * math/auto-libm-test-out: Regenerated.
19504         * sysdeps/i386/fpu/libm-test-ulps: Update.
19506 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19508         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19509         __ppc_set_ppr_very_low): New functions.
19510         * manual/platform.texi: Add documentation about
19511         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19513 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19515         * string/stpncpy.c (stpncpy): Improve performance using
19516         __strnlen/memcpy/memset.
19518 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19520         [BZ #18796]
19521         * scripts/test-installation.pl: Don't add -lmvec to build options if
19522         libmvec wasn't built.
19524 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19526         [BZ #14341]
19527         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19528         case when there is a gap between DT_REL and DT_JMPREL sections.
19529         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19530         (LDFLAGS-tst-split-dynreloc): New.
19531         (tst-split-dynreloc-ENV): Likewise.
19532         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19533         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19535 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19537         [BZ #18822]
19538         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19539         attribute_hidden.
19540         (__xstat64_conv): Likewise.
19541         (__xstat32_conv): Likewise.
19543 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19545         [BZ #18822]
19546         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19547         Don't load %ebx when calling __setcontext.  Call __setcontext
19548         with HIDDEN_JUMPTARGET.
19549         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19550         libc_hidden_def.
19552 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19554         * sysdeps/i386/i686/Makefile
19555         [$(subdir) == string] (sysdep_routines): Moved to ...
19556         * sysdeps/i386/Makefile: Here.
19557         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19558         * sysdeps/i386/cacheinfo.c: Here.
19559         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19560         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19561         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19562         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19564 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19566         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19567         __i586__ is defined.
19568         (HAS_I686): Defined to 1 if __i686__ is defined.
19570 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19572         * elf/Makefile [$(have-z-execstack) = yes]
19573         (CPPFLAGS-tst-execstack.c): New variable.
19575         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19576         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19577         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19578         UTMPX || _HAVE_UT_TV].
19579         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19580         UTMPX || _HAVE_UT_TV - 0].
19582 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19584         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19585         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19586         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19588 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19590         * sysdeps/powerpc/dl-procinfo.c:
19591         (_dl_powerpc_cap_flags): Added missing strings for some
19592         hwcap features.
19593         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19595 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19597         Port the 0x7efe...feff pattern to GCC 6.
19598         See Steve Ellcey's bug report in:
19599         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19600         * string/memrchr.c (MEMRCHR):
19601         * string/rawmemchr.c (RAWMEMCHR):
19602         * string/strchr.c (strchr):
19603         * string/strchrnul.c (STRCHRNUL):
19604         Rewrite code to avoid issues with signed shift overflow.
19606 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19608         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19609         whether cpuid is available only if HAS_CPUID is 0.
19610         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19611         (HAS_I586): Likewise.
19612         (HAS_I686): Likewise.
19614 2015-08-18  Zack Weinberg  <zackw@panix.com>
19616         * misc/Versions (libc): Add GLIBC_2.23.
19618 2015-08-18  Alan Modra  <amodra@gmail.com>
19620         [BZ #18421]
19621         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19622         .Lp__global.
19623         (_start): Load %dp via .Lp__global.
19624         [!SHARED]: Use .section .rodata.
19626 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19628         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19629         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19631 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19633         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19634         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19636 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19638         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19639         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19641 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19643         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19644         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19646 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19648         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19649         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19651 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19653         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19654         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19656 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19658         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19660 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19662         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19663         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19664         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19665         (__ASSUME_LWS_CAS): Delete.
19667 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19669         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19670         * sysdeps/hppa/configure: Regenerated.
19671         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19672         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19673         * sysdeps/hppa/nptl/tls.h: Likewise.
19675 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19677         [BZ #18823]
19678         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19679         for scaling up small arguments.
19680         * math/s_csqrtf.c (__csqrtf): Likewise.
19681         * math/s_csqrtl.c (__csqrtl): Likewise.
19682         * math/auto-libm-test-in: Add more tests of csqrt.
19683         * math/auto-libm-test-out: Regenerated.
19685 2015-08-17  Andreas Schwab  <schwab@suse.de>
19687         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19688         version set GLIBC_2.19.
19690 2015-08-16  Zack Weinberg  <zackw@panix.com>
19692         [BZ #18681]
19693         * misc/regexp.h: This interface is no longer supported.
19694         Remove all contents, leaving only an #error directive.
19695         * misc/regexp.c (loc1, loc2, locs, step, advance):
19696         Demote to compatibility symbols.
19698 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19700         [BZ #18084]
19701         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19702         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19703         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19704         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19705         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19706         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19707         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19708         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19709         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19711 2015-08-15  Zack Weinberg  <zackw@panix.com>
19713         [BZ #18795]
19714         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19715         buffer length is known to be too large, not if it's known to be
19716         small enough.
19717         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19718         overflow at runtime, involving a length parameter, twice: once
19719         with a compile-time constant length parameter, once without.
19721 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19723         [BZ #18824]
19724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19725         scaling x * y up instead of down.
19726         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19727         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19728         * math/auto-libm-test-in: Add more tests of fma.
19729         * math/auto-libm-test-out: Regenerated.
19731 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19735 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19737         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19738         unnecessary movq.
19739         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19740         Likewise.
19742 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19744         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19745         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19746         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19747         and tgamma.
19748         * math/auto-libm-test-out: Regenerated.
19749         * sysdeps/i386/fpu/libm-test-ulps: Update.
19750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19752         [BZ #16520]
19753         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19754         (__tanh): Force underflow exception for arguments with small
19755         absolute value.
19756         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19757         (__tanhf): Force underflow exception for arguments with small
19758         absolute value.
19759         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19760         (__tanhl): Force underflow exception for arguments with small
19761         absolute value.
19762         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19763         (__tanhl): Force underflow exception for arguments with small
19764         absolute value.
19765         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19766         (__tanhl): Force underflow exception for arguments with small
19767         absolute value.
19768         * math/auto-libm-test-in: Add more tests of tanh.
19769         * math/auto-libm-test-out: Regenerated.
19770         * sysdeps/i386/fpu/libm-test-ulps: Update.
19772 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19774         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19775         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19777 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19779         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19780         <cpuid.h>.
19782 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19784         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19785         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19787 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19789         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19790         Remove $(objpfx)init-arch.o.
19791         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19792         init-arch.
19793         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19794         (INIT_ARCH_EXT): Defined as empty.
19795         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19796         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19797         __init_cpu_features call.  Replace HAS_XXX with
19798         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19799         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
19800         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
19801         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
19802         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
19803         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19804         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
19805         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
19806         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19807         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
19808         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
19809         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19810         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
19811         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
19812         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19813         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
19814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
19815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19816         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19817         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
19818         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
19819         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19820         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
19821         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
19822         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19823         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
19824         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
19825         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19826         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
19827         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
19828         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19829         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
19830         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
19831         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19832         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
19833         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
19835 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19837         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
19838         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19839         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19840         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19841         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
19842         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
19843         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
19844         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
19845         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
19846         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
19847         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
19848         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
19849         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19850         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19851         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19852         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19853         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19854         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19855         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19856         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19857         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19858         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19859         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19860         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19861         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19862         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19863         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19864         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19865         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19866         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19867         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19868         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19869         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19870         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19871         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19872         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19873         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19874         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19875         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19876         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19877         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19878         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19879         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19881 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19883         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
19884         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19885         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19886         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19887         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19888         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19889         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19890         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
19891         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19892         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19893         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19894         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
19895         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
19896         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
19897         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
19898         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19899         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
19900         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
19901         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
19902         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
19903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19904         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
19905         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
19906         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19907         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19908         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
19909         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
19910         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
19911         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19912         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19913         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19914         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19915         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19916         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19917         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19918         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19919         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19920         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19921         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19922         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19923         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19924         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19925         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19927 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19929         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
19930         (dl_platform_init): Call init_cpu_features.
19931         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
19932         * sysdeps/i386/i686/cacheinfo.c
19933         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
19934         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
19935         * sysdeps/i386/i686/multiarch/Versions: Removed.
19936         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
19937         Removed.
19938         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
19939         * sysdeps/unix/sysv/linux/x86/Makefile
19940         (libpthread-sysdep_routines): Remove init-arch.
19941         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
19942         <sysdeps/x86_64/dl-procinfo.c> instead of
19943         sysdeps/generic/dl-procinfo.c>.
19944         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
19945         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
19946         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
19947         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
19948         [$(subdir) == elf] (tests-static): Add
19949         tst-get-cpu-features-static.
19950         * sysdeps/x86/Versions: New file.
19951         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
19952         * sysdeps/x86/cpu-features.c: Likewise.
19953         * sysdeps/x86/cpu-features.h: Likewise.
19954         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
19955         * sysdeps/x86/libc-start.c: Likewise.
19956         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19957         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
19958         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
19959         * sysdeps/x86_64/dl-procinfo.c: Likewise.
19960         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
19961         Assume USE_MULTIARCH is defined and don't check it.
19962         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
19963         (is_amd): Likewise.
19964         (max_cpuid): Likewise.
19965         (intel_check_word): Likewise.
19966         (__cache_sysconf): Don't call __init_cpu_features.
19967         (__x86_preferred_memory_instruction): Removed.
19968         (init_cacheinfo): Don't call __init_cpu_features. Replace
19969         __cpu_features with GLRO(dl_x86_cpu_features).
19970         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
19971         (dl_platform_init): Call init_cpu_features.
19972         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
19973         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
19974         * sysdeps/x86_64/multiarch/Versions: Removed.
19975         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
19976         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19977         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19978         Removed.
19979         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19981 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19983         [BZ #18820]
19984         * libio/Makefile (test-fmemopen-mem): New test.
19985         * libio/test-fmemopen.c (do_bz18820): New test.
19986         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19987         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19989 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19991         [BZ #16734]
19992         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19993         (FREE_BUF): Delete.
19994         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19995         * libio/genops.c (_IO_setb): Use malloc and free directly.
19996         (_IO_default_doallocate, _IO_default_finish): Likewise.
19997         ( _IO_unbuffer_all): Likewise.
19998         ( libc_freeres_fn): Likewise.
19999         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20000         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20001         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20002         (_IO_wdefault_doallocate): Likewise.
20004 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20006         [BZ #18086]
20007         * sysdeps/posix/nice.c (nice): Restore old errno.
20008         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20010 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20012         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20014 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20016         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20017         __bcopy and add a weak_alias to bcopy.
20018         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20019         for static build.
20021         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20022         cleanup macro usage.
20023         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20024         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20025         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20026         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20027         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20028         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20029         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20030         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20031         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20032         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20033         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20034         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20035         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20036         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20038         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20039         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20040         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20041         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20043         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20044         libc_hidden_def.
20045         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20047         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20048         (sysdep_routines): Add strstr-ppc64.
20049         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20051 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20053         [BZ #18778]
20054         * elf/Makefile (tests): Add Add tst-nodelete2.
20055         (modules-names): Add tst-nodelete2mod.
20056         (tst-nodelete2mod.so-no-z-defs): New.
20057         ($(objpfx)tst-nodelete2): Likewise.
20058         ($(objpfx)tst-nodelete2.out): Likewise.
20059         (LDFLAGS-tst-nodelete2): Likewise.
20060         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20061         out of loop through all loaded libraries.
20062         * elf/tst-nodelete2.c: New file.
20063         * elf/tst-nodelete2mod.c: Likewise.
20064         * elf/tst-znodelete-zlib.cc: Delete.
20066 2015-08-11  Andreas Schwab  <schwab@suse.de>
20068         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20069         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20070         (__openat64_nocancel): Likewise.
20072 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20074         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20075         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20076         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20077         * math/auto-libm-test-out: Regenerated.
20078         * sysdeps/i386/fpu/libm-test-ulps: Update.
20079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20081 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20083         [BZ #18790]
20084         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20085         threshold for returning +/- 1.
20086         * math/auto-libm-test-in: Add more tests of tanh.
20087         * math/auto-libm-test-out: Regenerated.
20088         * sysdeps/i386/fpu/libm-test-ulps: Update.
20090 2015-08-10  Andreas Schwab  <schwab@suse.de>
20092         [BZ #18781]
20093         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20094         MORE_OFLAGS to oflag.
20095         * io/test-lfs.c (do_test): Test openat64.
20097 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20099         [BZ #18789]
20100         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20101         smaller threshold for returning the argument.
20102         * math/auto-libm-test-in: Add more tests of sinh.
20103         * math/auto-libm-test-out: Regenerated.
20104         * sysdeps/i386/fpu/libm-test-ulps: Update.
20106 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20108         [BZ #18674]
20109         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20110         break.
20112 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20114         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20115         (generated): Don't add $(addprefix z.,$(tzfiles)).
20117 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20119         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20120         * scripts/sysd-rules.awk: Likewise.
20122 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20124         * iconvdata/tst-tables.sh: Change echo -n to printf.
20125         * nss/db-Makefile: Likewise.
20126         * posix/tst-getconf.sh: Likewise.
20127         * stdio-common/tst-unbputc.sh: Likewise.
20129 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20131         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20132         MADV_*_PAGES defines behind this feature check.
20134 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20136         [BZ #18480]
20137         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20138         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20139         Define.
20140         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20141         LOAD_REGS_5, LOAD_REGS_6): Update.
20142         (INTERNAL_SYSCALL): Update using new LOAD defines.
20143         (INTERNAL_SYSCALL_NCS): Likewise.
20144         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20146 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20148         [BZ #16734]
20149         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20151 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20153         [BZ #17905]
20154         * catgets/Makefile (tst-catgets-mem): New test.
20155         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20156         * catgets/open_catalog.c (__open_catalog): Likewise.
20157         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20159 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20161         [BZ #18787]
20162         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20163         clobber registers.
20164         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20165         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20166         Cast return to __typeof (oldval).
20168 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20170         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20171         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20172         and delete sys/syscall.h include.
20174 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20176         [BZ #16517]
20177         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20178         (tan): Force underflow exception for arguments with small absolute
20179         value.
20180         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20181         (__kernel_tanf): Force underflow exception for arguments with
20182         small absolute value.
20183         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20184         (__kernel_tanl): Force underflow exception for arguments with
20185         small absolute value.
20186         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20187         (__kernel_tanl): Force underflow exception for arguments with
20188         small absolute value.
20189         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20190         (__kernel_tanl): Force underflow exception for arguments with
20191         small absolute value.
20192         * math/auto-libm-test-in: Add more tests of tan.
20193         * math/auto-libm-test-out: Regenerated.
20195 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20197         Fix sysdeps/i386/fpu/s_scalbn.S build
20199         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20201 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20203         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20205 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20207         Fix gcrt0.o compilation
20209         When static-start-installed-name is different from
20210         start-installed-name, we must not use the shared objects.
20212         * csu/Makefile
20213         (extra-objs): Add gmon-start.o when building shared library and
20214         $(static-start-installed-name) is different from
20215         $(start-installed-name).
20216         $(objpfx)g$(static-start-installed-name): When building shared
20217         library and $(static-start-installed-name) is different from
20218         $(static-start-installed-name), revert to non-shared rule,
20219         i.e. using $(objpfx)% and gmon-start.o.
20221 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20223         [BZ #16519]
20224         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20225         (__ieee754_sinh): Force underflow exception for arguments with
20226         small absolute value.
20227         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20228         (__ieee754_sinhf): Force underflow exception for arguments with
20229         small absolute value.
20230         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20231         (__ieee754_sinhl): Force underflow exception for arguments with
20232         small absolute value.
20233         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20234         (__ieee754_sinhl): Force underflow exception for arguments with
20235         small absolute value.
20236         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20237         (__ieee754_sinhl): Force underflow exception for arguments with
20238         small absolute value.
20239         * math/auto-libm-test-in: Add more tests of sinh.
20240         * math/auto-libm-test-out: Regenerated.
20241         * sysdeps/i386/fpu/libm-test-ulps: Update.
20243 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20245         * libio/oldfileops.c: Include unistd.h.
20247 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20249         * stdlib/isomac.c: Include ctype.h.
20251 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20253         * dirent/tst-seekdir.c (main): Converted to ...
20254         (do_test): ... this.
20255         (TEST_FUNCTION): New macro.
20256         Include test-skeleton.c.
20257         * elf/tst-dlmodcount.c (main): Converted to ...
20258         (do_test): ... this.
20259         (TEST_FUNCTION): New macro.
20260         Include test-skeleton.c.
20261         * elf/tst-order-main.c (main): Converted to ...
20262         (do_test): ... this.
20263         (TEST_FUNCTION): New macro.
20264         Include test-skeleton.c.
20265         * elf/tst-pie2.c (main): Converted to ...
20266         (do_test): ... this.
20267         (TEST_FUNCTION): New macro.
20268         Include test-skeleton.c.
20269         * inet/tst-ether_aton.c (main): Converted to ...
20270         (do_test): ... this.
20271         (TEST_FUNCTION): New macro.
20272         Include test-skeleton.c.
20273         * misc/tst-mntent.c (main): Converted to ...
20274         (do_test): ... this.
20275         (TEST_FUNCTION): New macro.
20276         Include test-skeleton.c.
20277         * misc/tst-tsearch.c (main): Converted to ...
20278         (do_test): ... this.
20279         (TEST_FUNCTION): New macro.
20280         Include test-skeleton.c.
20281         * posix/tst-regexloc.c (main): Converted to ...
20282         (do_test): ... this.
20283         (TEST_FUNCTION): New macro.
20284         Include test-skeleton.c.
20285         * resolv/tst-aton.c (main): Converted to ...
20286         (do_test): ... this.
20287         (TEST_FUNCTION): New macro.
20288         Include test-skeleton.c.
20289         * stdio-common/test-fwrite.c (main): Converted to ...
20290         (do_test): ... this.
20291         (TEST_FUNCTION): New macro.
20292         Include test-skeleton.c.
20293         * stdio-common/tst-ferror.c (main): Converted to ...
20294         (do_test): ... this.
20295         (TEST_FUNCTION): New macro.
20296         Include test-skeleton.c.
20297         * stdio-common/tst-printf.c (main): Converted to ...
20298         (do_test): ... this.
20299         (TEST_FUNCTION): New macro.
20300         Include test-skeleton.c.
20301         * stdio-common/tst-printfsz.c (main): Converted to ...
20302         (do_test): ... this.
20303         (TEST_FUNCTION): New macro.
20304         Include test-skeleton.c.
20305         * stdlib/tst-strtod.c (main): Converted to ...
20306         (do_test): ... this.
20307         (TEST_FUNCTION): New macro.
20308         Include test-skeleton.c.
20309         * string/tst-strlen.c (main): Converted to ...
20310         (do_test): ... this.
20311         (TEST_FUNCTION): New macro.
20312         Include test-skeleton.c.
20313         * string/tst-svc.c (main): Converted to ...
20314         (do_test): ... this.
20315         (TEST_FUNCTION): New macro.
20316         Include test-skeleton.c.
20317         * time/tst-strptime.c (main): Converted to ...
20318         (do_test): ... this.
20319         (TEST_FUNCTION): New macro.
20320         Include test-skeleton.c.
20321         * timezone/tst-timezone.c (main): Converted to ...
20322         (do_test): ... this.
20323         (TEST_FUNCTION): New macro.
20324         Include test-skeleton.c.
20326 2015-08-05  Zack Weinberg  <zackw@panix.com>
20328         * misc/regexp.h: Update comments.
20330 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20332         [BZ #18635]
20333         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20334         before return label.
20336 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20338         [BZ #18661]
20339         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20340         when calling __errno_location.
20341         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20342         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20344 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20346         [BZ #18661]
20347         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20348         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20349         __gettimeofday.
20351 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20353         [BZ #18661]
20354         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20355         (__start_context): Don't use pop to restore %rdi so that stack
20356         is aligned to 16 bytes when calling __setcontext.
20358 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20360         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20361         only for libc.
20362         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20364 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20366         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20367         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20368         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20370 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20372         * string/memccpy.c (memccpy):
20373         Improve performance by using memchr/memcpy/__mempcpy.
20375 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20377         * string/strncpy.c (strncpy):
20378         Improve performance by using __strnlen/memcpy.
20380 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20382         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20383         Optimize to avoid an unnecessary FPCR read.
20385 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20387         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20388         Optimize to reduce FPCR/FPSR accesses.
20390 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20392         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20393         dead->data[category] != NULL.
20395 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20397         [BZ #18647]
20398         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20399         and |x| close to 1, use absolute value of x when computing log.
20400         * math/auto-libm-test-in: Add more tests of pow.
20401         * math/auto-libm-test-out: Regenerated.
20403 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20405         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20406         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20407         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20409 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20411         [BZ #18525]
20412         * locales/km_KH: Remove timezone definition.
20413         * locales/lo_LA: Likewise.
20414         * locales/my_MM: Likewise.
20415         * locales/nan_TW@latin: Likewise.
20416         * locales/th_TH: Likewise.
20417         * locales/uk_UA: Likewise.
20419 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20421         [BZ #18265]
20422         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20423         (wcsncat): Likewise.
20424         (wcscmp): Likewise.
20425         (wcsncmp): Likewise.
20427 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20429         * test-skeleton.c (usage): New function.
20430         (main): Call usage when opt is '?'.
20432 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20434         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20435         before first use.
20437 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20439         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20440         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20441         in there too.
20443 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20445         * version.h (RELEASE): Set to "development".
20446         (VERSION): Set to "2.22.90"
20448         * version.h (RELEASE): Set to "stable".
20449         (VERSION): Set to "2.22"
20450         * include/features.h (__GLIBC_MINOR__): Set to 22.
20452 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20454         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20455         Restructure macro to avoid "value computed is not used" warning.
20456         (atomic_compare_and_exchange_val_acq): Likewise.
20458 2015-08-04  Andreas Schwab  <schwab@suse.de>
20460         [BZ #18635]
20461         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20462         ret.
20463         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20465 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20467         * po/pl.po: Updated translation.
20468         * po/uk.po: Likewise.
20469         * po/fi.po: Likewise.
20470         * po/ko.po: Likewise.
20471         * po/ru.po: Likewise.
20472         * po/vi.po: Likewise.
20474 2015-07-31  Zack Weinberg  <zackw@panix.com>
20476         [BZ #18681]
20477         * regexp.h: Add unconditional #warning stating that this header
20478         will be removed soon.  Revise banner comment to match.
20479         (compile): Consistently use ERROR instead of RETURN to report
20480         errors (partial fix for bz#18681).
20481         * regexp.c: Don't include regexp.h. Remove some unnecessary
20482         declarations.
20484 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20486         * po/libc.pot: Regenerated.
20488 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20490         [BZ #18740]
20491         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20492         float-vlen4-arch-ext-cflags): Removed.
20493         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20494         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20496 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20498         [BZ #14113]
20499         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20500         aligned to __aligned__.
20501         (pthread_cond_t, pthread_rwlock_t): Likewise.
20503 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20505         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20507 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20509         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20510         (struct sigaction): Change sa_flags from a long to an int, and add
20511         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20513 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20515         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20516         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20517         sysdeps/generic/sysdep.h include.
20518         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20519         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20520         sysdeps/hppa/sysdep.h.
20521         (ENTRY, PSEUDO): Undefine before defining.
20523 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20525         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20526         from scratch to use INTERNAL_SYSCALL.
20528 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20530         [BZ #18078]
20531         * scripts/check-localplt.awk: Support alternate relocations.
20532         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20533         sections.
20534         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20535         malloc entries with + REL R_386_GLOB_DAT.
20536         * sysdeps/x86_64/localplt.data: New file.
20538 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20540         [BZ #18731]
20541         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20542         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20543         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20545 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20547         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20549 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20551         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20552         directly in terms of __sync_fetch_and_add and delete (int) cast.
20554 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20556         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20557         the -D_ASM_IA64_CURRENT_H flag.
20559 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20561         [BZ #18641]
20562         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20564 2015-07-27  Andreas Schwab  <schwab@suse.de>
20566         * conform/conformtest.pl (checknamespace): Filter out string
20567         literals while tokenizing.
20569 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20571         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20572         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20573         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20575 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20577         * nptl/tst-join7mod.c: Add #include <string.h>.
20579 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20581         * sysdeps/nios2/libm-test-ulps: Update.
20583 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20585         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20586         Fix order of arguments to the rt_sigprocmask syscall.
20587         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20588         Likewise.
20590 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20592         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20594 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20596         [BZ #18457]
20597         * nptl/Makefile (tests): New test case tst-join7.
20598         (modules-names): New test case module tst-join7mod.
20599         * nptl/tst-join7.c: New file.
20600         * nptl/tst-join7mod.c: New file.
20601         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20602         all translation units in libc.so, libpthread.so and rtld.
20604 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20608 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20610         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20611         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20612         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20613         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20614         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20615         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20616         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20617         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20618         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20619         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20620         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20621         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20622         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20623         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20624         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20625         implementation.
20627 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20629         [BZ #17711]
20630         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20631         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20632         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20633         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20634         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20635         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20637 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20639         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20640         instead of just saying load lock in the comments.
20642 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20644         * sysdeps/unix/Subdirs: Moved ...
20645         * sysdeps/posix/Subdirs: ... here.
20646         * login/pty.h (struct termios, struct winsize): Add forward decls.
20647         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20648         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20649         * sysdeps/arm/nacl/libc.abilist: Updated.
20650         * sysdeps/nacl/libutil.abilist: New file.
20652         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20653         (SIGWINCH): New macro.
20655         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20656         * sysdeps/arm/nacl/libc.abilist: Add it.
20658 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20660         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20662 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20664         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20665         Swap __glibc_reserved0 and sa_flags order.
20667 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20669         [BZ #18657]
20670         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20671         are pending TLS destructor calls.
20672         * include/link.h (struct link_map): Add concurrency note for
20673         L_TLS_DTOR_COUNT.
20674         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20675         Don't touch the link map flag.  Atomically increment
20676         l_tls_dtor_count.
20677         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20678         Avoid taking the load lock and don't touch the link map flag.
20679         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20680         * stdlib/Makefile (tests): Use it.
20681         * stdlib/tst-tls-atexit.c (do_test): dlopen
20682         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20683         to allow tst-tls-atexit-nodelete test case to use it.
20685 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20687         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20688         to bits/types.h.
20689         (msgqnum_t): New typedef.
20690         (msglen_t): Likewise.
20691         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20692         and msg_qbytes type to msglen_t.
20694 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20696         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20697         pad0 to __glibc_reserved0.
20698         (struct stat64): Likewise.
20700 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20702         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20703         Change sa_flags from a long to an int and add __glibc_reserved0 before
20704         it for padding.
20706 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20708         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20709         anonymous by deleting "siginfo" name.
20711 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20713         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20714         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20715         rather than __nacl_irt_filename.
20716         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20718         * NEWS: New item for arm-nacl port.
20719         * sysdeps/arm/nacl/libc.abilist: New file.
20720         * sysdeps/nacl/ld.abilist: New file.
20721         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20722         * sysdeps/nacl/libanl.abilist: New file.
20723         * sysdeps/nacl/libcrypt.abilist: New file.
20724         * sysdeps/nacl/libdl.abilist: New file.
20725         * sysdeps/nacl/libm.abilist: New file.
20726         * sysdeps/nacl/libpthread.abilist: New file.
20727         * sysdeps/nacl/libresolv.abilist: New file.
20728         * sysdeps/nacl/librt.abilist: New file.
20730 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20732         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20733         __startcontext to initialize the new context.
20734         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20735         up CFI directive to forbid further backtracing.
20737 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20739         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20740         reference.
20741         * charmaps/ANSI_X3.4-1968: Likewise.
20742         * charmaps/BS_4730: Likewise.
20743         * charmaps/BS_VIEWDATA: Likewise.
20744         * charmaps/CP1250: Likewise.
20745         * charmaps/CP1251: Likewise.
20746         * charmaps/CP1252: Likewise.
20747         * charmaps/CP1253: Likewise.
20748         * charmaps/CP1254: Likewise.
20749         * charmaps/CP1255: Likewise.
20750         * charmaps/CP1256: Likewise.
20751         * charmaps/CSN_369103: Likewise.
20752         * charmaps/EBCDIC-DK-NO: Likewise.
20753         * charmaps/GB_1988-80: Likewise.
20754         * charmaps/GREEK-CCITT: Likewise.
20755         * charmaps/GREEK7: Likewise.
20756         * charmaps/INIS-8: Likewise.
20757         * charmaps/ISIRI-3342: Likewise.
20758         * charmaps/ISO_2033-1983: Likewise.
20759         * charmaps/ISO_5427-EXT: Likewise.
20760         * locales/POSIX: Likewise.
20761         * locales/ar_SA: Likewise.
20762         * locales/be_BY: Likewise.
20763         * locales/be_BY@latin: Likewise.
20764         * locales/ca_ES: Likewise.
20765         * locales/cs_CZ: Likewise.
20766         * locales/da_DK: Likewise.
20767         * locales/de_BE: Likewise.
20768         * locales/de_CH: Likewise.
20769         * locales/de_LU: Likewise.
20770         * locales/en_AU: Likewise.
20771         * locales/en_BW: Likewise.
20772         * locales/en_CA: Likewise.
20773         * locales/en_DK: Likewise.
20774         * locales/en_GB: Likewise.
20775         * locales/en_IE: Likewise.
20776         * locales/en_NZ: Likewise.
20777         * locales/en_ZA: Likewise.
20778         * locales/en_ZW: Likewise.
20779         * locales/es_AR: Likewise.
20780         * locales/es_BO: Likewise.
20781         * locales/es_CL: Likewise.
20782         * locales/es_CO: Likewise.
20783         * locales/es_DO: Likewise.
20784         * locales/es_EC: Likewise.
20785         * locales/es_ES: Likewise.
20786         * locales/es_HN: Likewise.
20787         * locales/es_MX: Likewise.
20788         * locales/es_PA: Likewise.
20789         * locales/es_PE: Likewise.
20790         * locales/es_PY: Likewise.
20791         * locales/es_SV: Likewise.
20792         * locales/es_US: Likewise.
20793         * locales/es_UY: Likewise.
20794         * locales/es_VE: Likewise.
20795         * locales/et_EE: Likewise.
20796         * locales/fa_IR: Likewise.
20797         * locales/fo_FO: Likewise.
20798         * locales/fr_CA: Likewise.
20799         * locales/fr_CH: Likewise.
20800         * locales/gv_GB: Likewise.
20801         * locales/he_IL: Likewise.
20802         * locales/hr_HR: Likewise.
20803         * locales/id_ID: Likewise.
20804         * locales/is_IS: Likewise.
20805         * locales/it_CH: Likewise.
20806         * locales/iw_IL: Likewise.
20807         * locales/kl_GL: Likewise.
20808         * locales/ko_KR: Likewise.
20809         * locales/kw_GB: Likewise.
20810         * locales/lg_UG: Likewise.
20811         * locales/lt_LT: Likewise.
20812         * locales/lv_LV: Likewise.
20813         * locales/mi_NZ: Likewise.
20814         * locales/nhn_MX: Likewise.
20815         * locales/nl_BE: Likewise.
20816         * locales/pl_PL: Likewise.
20817         * locales/sk_SK: Likewise.
20818         * locales/sl_SI: Likewise.
20819         * locales/sv_FI: Likewise.
20820         * locales/tl_PH: Likewise.
20821         * locales/tr_TR: Likewise.
20822         * locales/vi_VN: Likewise.
20824 2015-07-21  Khem Raj  <raj.khem@gmail.com>
20826         [BZ #17475]
20827         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
20828         of tu_IN and bh_IN.
20830 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
20832         [BZ #18694]
20833         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
20834         bits/wordsize.h.
20835         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
20837 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20839         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
20840         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
20841         (spawn_thread): New function.
20842         (load): Rename to reg_dtor_and_close.  Move dlopen to...
20843         (do_test): ... here.  Use IS_LOADED to test for its
20844         availability.
20846 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
20848         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20850 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
20852         [BZ #18696]
20853         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
20854         si_addr_bnd.
20855         (si_lower): New.
20856         (si_upper): Likewise.
20858 2015-07-16  David S. Miller  <davem@davemloft.net>
20860         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
20862 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20864         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20865         buffer.
20866         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
20867         fail output information.
20869 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
20872         and strstr-ppc64..
20873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20874         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
20875         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
20876         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
20877         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
20879 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20881         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20882         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20883         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20884         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20886 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20888         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20889         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
20890         rtld_hidden_proto.
20891         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
20893 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20895         * tst-nodelete-opened.c (do_test): Add comment to clarify how
20896         the test can fail.
20898         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
20900         [BZ #18676]
20901         * elf/tst-nodelete-opened.c: New test case.
20902         * elf/tst-nodelete-opened-lib.c: New test case module.
20903         * elf/Makefile (tests, modules-names): Use them.
20904         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
20905         early.
20907 2015-07-15  David S. Miller  <davem@davemloft.net>
20909         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
20910         futex-intenal.h
20911         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
20912         * sysdeps/sparc/sparc64/Makefile: Likewise.
20913         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20914         Remove space from macro define.
20915         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
20917 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
20919         [BZ #17475]
20920         * locale/iso-639.def: Update Bhili and Tulu language codes as
20921         per iso639-3.
20923 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
20925         * elf/tst-leaks1.c (main): Converted to ...
20926         (do_test): ... this.
20927         (TEST_FUNCTION): New macro.
20928         Include test-skeleton.c.
20929         * localedata/tst-langinfo.c (main): Converted to ...
20930         (do_test): ... this.
20931         (TEST_FUNCTION): New macro.
20932         Include test-skeleton.c.
20933         * math/test-fpucw.c (main): Converted to ...
20934         (do_test): ... this.
20935         (TEST_FUNCTION): New macro.
20936         Include test-skeleton.c.
20937         * math/test-tgmath.c (main): Converted to ...
20938         (do_test): ... this.
20939         (TEST_FUNCTION): New macro.
20940         Include test-skeleton.c.
20941         * math/test-tgmath2.c (main): Converted to ...
20942         (do_test): ... this.
20943         (TEST_FUNCTION): New macro.
20944         Include test-skeleton.c.
20945         * setjmp/tst-setjmp.c (main): Converted to ...
20946         (do_test): ... this.
20947         (TEST_FUNCTION): New macro.
20948         Include test-skeleton.c.
20949         * stdio-common/tst-sscanf.c (main): Converted to ...
20950         (do_test): ... this.
20951         (TEST_FUNCTION): New macro.
20952         Include test-skeleton.c.
20953         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
20954         (do_test): ... this.
20955         (TEST_FUNCTION): New macro.
20956         Include test-skeleton.c.
20958         * elf/tst-audit9.c (main): Converted to ...
20959         (do_test): ... this.
20960         (TEST_FUNCTION): New macro.
20961         Include test-skeleton.c.
20963 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
20965         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
20967 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20969         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
20970         New variable.
20972 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20974         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20976 2015-07-14  Roland McGrath  <roland@hack.frob.com>
20978         * sysdeps/generic/dl-fileid.h: New file.
20979         * sysdeps/posix/dl-fileid.h: New file.
20980         * sysdeps/nacl/dl-fileid.h: New file.
20981         * include/link.h: Include <dl-fileid.h>.
20982         (struct link_map): Replace l_dev and l_ino with l_file_id.
20983         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20984         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20985         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20987 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20989         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20991 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20993         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20994         Add iff $CXX is set.
20995         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20996         Likewise.
20997         (tst-nodelete-zmodiff): Likewise.
20998         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21000 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21002         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21004 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21006         * sysdeps/aarch64/fpu/math_private.h
21007         (define math_opt_barrier): Add AArch64 version.
21008         (math_force_eval): Likewise.
21010 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21012         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21014 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21016         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21017         %ld with %jd and cast to intmax_t.
21018         (do_test_length_zero): Likewise.
21020 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21022         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21024 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21026         * sysdeps/tile/libm-test-ulps: Regenerated.
21028         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21029         Comment out the whole function, not just its body.
21031 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21033         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21034         locks.
21036         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21038 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21040         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21041         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21043 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21045         * sysdeps/nptl/futex-internal.h: New file.
21046         * sysdeps/nacl/futex-internal.h: New file.
21047         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21048         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21049         error checking.
21050         (setxid_unmark_thread): Likewise.
21051         (__nptl_setxid): Likewise.
21052         (__wait_lookup_done): Likewise.
21053         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21054         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21055         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21056         * nptl/pthread_once.c (clear_once_control): Likewise.
21057         (__pthread_once_slow): Likewise.
21058         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21059         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21060         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21061         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21062         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21063         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21064         Likewise.
21065         (__pthread_rwlock_rdlock): Likewise.
21066         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21067         Likewise.
21068         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21069         Likewise.
21070         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21071         Likewise.
21072         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21073         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21074         Likewise.
21075         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21076         __ASSUME_PRIVATE_FUTEX check.
21077         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21078         Check that shared futexes are supported.
21079         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21080         wrappers with error checking.
21081         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21082         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21083         * nptl/pthread_barrierattr_setpshared.c
21084         (pthread_barrierattr_setpshared): Check that shared futexes are
21085         supported.
21086         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21087         Likewise.
21088         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21089         Likewise.
21090         * nptl/sem_init.c (futex_private_if_supported): Remove.
21091         (__new_sem_init): Adapt and check that shared futexes are supported.
21092         * nptl/sem_open.c (sem_open): Likewise.
21093         * nptl/sem_post.c (futex_wake): Remove.
21094         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21095         (do_futex_wait): Use futex wrappers with error checking.
21096         * nptl/sem_wait.c: Include lowlevellock.h.
21097         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21098         Use futex_supports_pshared.
21099         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21100         Use futex wrappers with error checking.
21101         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21102         Likewise.
21103         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21104         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21105         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21106         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21107         (futex_wake): Likewise.
21108         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21109         (do_futex_wait): Use futex wrappers with error checking.
21110         (__new_sem_wait_slow): Update EINTR handling.
21111         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21113 2015-07-09  Martin Sebor  <msebor@redhat.com>
21115         [BZ #18435]
21116         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21117         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21118         * nptl/Makefile (test-xfail-tst-once5): Define.
21120 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21122         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21123         * elf/dl-minimal.c: For readability, reorder some definitions and
21124         introduce more page breaks.  Include <stdio.h>.
21125         (__libc_fatal): New function.
21127         * include/unistd.h: Add rtld_hidden_proto for _exit.
21128         * posix/_exit.c: Add rtld_hidden_def.
21129         * sysdeps/mach/hurd/_exit.c: Likewise.
21130         * sysdeps/nacl/_exit.c: Likewise.
21131         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21132         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21134 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21136         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21137         bndmov encoding with zero displacement.
21139 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21140             H.J. Lu  <hongjiu.lu@intel.com>
21142         [BZ #18134]
21143         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21144         * sysdeps/i386/configure: Regenerated.
21145         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21146         (_dl_runtime_profile): Save and restore Intel MPX return bound
21147         registers when calling _dl_call_pltexit.  Add
21148         PRESERVE_BND_REGS_PREFIX before return.
21149         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21150         (LRV_BND1_OFFSET): Likewise.
21151         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21152         lrv_bnd1.
21153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21154         typo in bndmov encoding.
21155         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21156         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21157         branch instructions to preserve bounds.
21159 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21162         [GLIBC_2.22]: Add fmemopen.
21164 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21166         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21167         returns an error, also try to use host port from __mach_host_self for
21168         the __vm_wire call.
21169         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21171 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21173         [BZ #18400]
21174         [BZ #18648]
21175         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21176         Fix pr_uid and pr_gid members.
21177         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21178         definition to elf_greg_t.
21180 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21182         [BZ #18383]
21183         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21184         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21185         * sysdeps/arm/configure: Regenerated.
21186         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21187         (test-xfail-tst-tlsalign-static): Variable removed.
21189         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21190         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21191         rather than explicit 'ln -s'.
21193         * resolv/rpc/netdb.h: New file.
21194         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21196 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21198         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21199         length buffers.
21200         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21201         test-skeleton.c.
21203         [BZ #6544]
21204         [BZ #11216]
21205         [BZ #12836]
21206         [BZ #13151]
21207         [BZ #13152]
21208         [BZ #14292]
21209         * include/stdio.h (fmemopen): Remove hidden prototype.
21210         (__fmemopen): Add new hidden prototype.
21211         * libio/Makefile: Add oldfmemopen object.
21212         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21213         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21214         compliance.
21215         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21216         symbol compatibility.
21217         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21218         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21219         fmemopen.
21220         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21221         on append and read mode.
21222         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21223         fmemopen.
21224         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21225         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21226         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21227         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21228         Likewise.
21229         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21230         [GLIBC_2.22]: Likewise.
21231         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21232         Likewise.
21233         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21234         Likewise.
21235         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21236         [GLIBC_2.22]: Likewise.
21237         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21238         [GLIBC_2.22]: Likewise.
21239         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21240         [GLIBC_2.22]: Likewise.
21241         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21242         [GLIBC_2.22]: Likewise.
21243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21244         [GLIBC_2.22]: Likewise.
21245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21246         [GLIBC_2.22]: Likewise.
21247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21248         [GLIBC_2.22]: Likewise.
21249         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21250         Likewise.
21251         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21252         Likewise.
21253         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21254         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21255         [GLIBC_2.22]: Likewise.
21256         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21257         [GLIBC_2.22]: Likewise.
21258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21259         [GLIBC_2.22]: Likewise.
21260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21261         [GLIBC_2.22]: Likewise.
21262         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21263         Likewise.
21264         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21265         Likewise.
21266         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21267         Likewise.
21268         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21269         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21271 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21273         [BZ #18643]
21274         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21275         IPV6_PATHMTU, and IPV6_DONTFRAG.
21277 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21279         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21280         and _IO_UNBUFFERED.
21281         * libio/oldfileops.c: Likewise.
21282         * libio/wfileops.c: Likewise.
21284 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21286         * nscd/selinux.c: Delete selinux/flask.h include.
21288 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21290         [BZ #18641]
21291         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21292         (putpwent): Likewise.
21293         (getpwnam): Likewise.
21294         (getpwent_r): Likewise.
21295         (getpwuid_r): Likewise.
21296         (getpwnam_r): Likewise.
21297         (fgetpwent_r): Likewise.
21299 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21301         [BZ #18557]
21302         * inet/rcmd.c (__validuser2_sa): Check user first to
21303         short-circuit host check.
21305 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21306             Mikhail Ilin  <m.ilin@samsung.com>
21308         [BZ #17833]
21309         * elf/Makefile (tests): Add tst-nodelete.
21310         (modules-names): Add tst-nodelete-uniquemod.
21311         (tst-nodelete-uniquemod.so-no-z-defs): New.
21312         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21313         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21314         ($(objpfx)tst-nodelete): Likewise.
21315         ($(objpfx)tst-nodelete.out): Likewise.
21316         (LDFLAGS-tst-nodelete): Likewise.
21317         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21318         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21319         implement forced object deletion.
21320         (_dl_close): Pass false to _dl_close_worker.
21321         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21322         * elf/tst-nodelete.cc: New file.
21323         * elf/tst-nodeletelib.cc: Likewise.
21324         * elf/tst-znodeletelib.cc: Likewise.
21325         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21327 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21329         [BZ #18508]
21330         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21331         Depend on $(libdl).
21332         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21333         is not called infinitely times.
21334         (backtrace_helper): New function.
21335         (trace_arg): New struct.
21336         (st1): Enlarge stack size.
21337         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21338         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21339         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21340         Likewise.
21342 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21344         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21346 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21348         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21349         Include sys/types.h instead of bits/types.h.
21350         Remove inclusion of bits/wordsize.h.
21352 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21354         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21355         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21356         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21357         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21358         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21359         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21361 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21363         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21364         link-defines.sym.
21365         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21366         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21367         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21368         and LR_SIZE.
21369         * sysdeps/i386/link-defines.sym: New file.
21371 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21373         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21374         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21375         ($(objpfx)tst-audit3): New rule.
21376         ($(objpfx)tst-audit3.out): Likewise.
21377         * sysdeps/i386/tst-audit3.c: New file.
21378         * sysdeps/i386/tst-audit3.h: Likewise.
21379         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21380         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21382 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21384         [BZ #18633]
21385         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21386         pointer in C code.
21387         (__strcat_c): Likewise.
21388         (__strcat_g): Likewise.
21390 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21392         [BZ #18592]
21393         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21395 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21397         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21398         New function.  (__ieee754_sqrtf): New function.
21399         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21400         New function.
21401         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21402         New function.
21404 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21406         * sysdeps/ieee754/support.c: Remove unused file.
21408 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21410         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21411         registers instead of d ones so the layout is kernel abi compatible.
21412         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21413         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21414         Likewise.
21416 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21418         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21420 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21422         [BZ #18619]
21423         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21424         and return argument in case of subnormal argument.
21426 2015-07-01  Martin Sebor  <msebor@redhat.com>
21428         [BZ #18435]
21429         * nptl/Makefile: Add tst-once5.cc.
21430         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21431         Remove macro redefinitions.
21432         * nptl/tst-once5.cc: New test.
21434 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21436         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21438         * sysdeps/arm/libm-test-ulps: Regenerated.
21440         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21441         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21443 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21445         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21446         lll_lock_wait_private and lll_futex_wake probes.
21448         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21449         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21450         Likewise.
21451         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21452         atomic_spin_nop.
21453         * sysdeps/x86_64/bits/atomic.h: Likewise.
21454         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21455         to atomic_spin_nop and move ...
21456         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21457         ... here and ...
21458         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21459         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21460         atomic_spin_nop instead of BUSY_WAIT_NOP.
21461         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21462         Likewise.
21463         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21464         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21465         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21466         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21467         instead of atomic_delay.
21469 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21471         [BZ #18613]
21472         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21473         X_ADJ not X when adjusting exponent.
21474         (__ieee754_gamma_r): Do intermediate computations in
21475         round-to-nearest then adjust overflowing and underflowing results
21476         as needed.
21477         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21478         of X_ADJ not X when adjusting exponent.
21479         (__ieee754_gammaf_r): Do intermediate computations in
21480         round-to-nearest then adjust overflowing and underflowing results
21481         as needed.
21482         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21483         log of X_ADJ not X when adjusting exponent.
21484         (__ieee754_gammal_r): Do intermediate computations in
21485         round-to-nearest then adjust overflowing and underflowing results
21486         as needed.  Use 1.0L not 1.0f as numerator of division.
21487         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21488         log of X_ADJ not X when adjusting exponent.
21489         (__ieee754_gammal_r): Do intermediate computations in
21490         round-to-nearest then adjust overflowing and underflowing results
21491         as needed.  Use 1.0L not 1.0f as numerator of division.
21492         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21493         of X_ADJ not X when adjusting exponent.
21494         (__ieee754_gammal_r): Do intermediate computations in
21495         round-to-nearest then adjust overflowing and underflowing results
21496         as needed.  Use 1.0L not 1.0f as numerator of division.
21497         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21498         to auto-libm-test-in.
21499         (tgamma_test): Use ALL_RM_TEST.
21500         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21501         tests of tgamma with spurious-overflow.
21502         * math/auto-libm-test-out: Regenerated.
21503         * math/gen-libm-have-vector-test.sh: Do not check for START.
21504         * sysdeps/i386/fpu/libm-test-ulps: Update.
21505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21507         [BZ #18612]
21508         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21509         arguments, just return 0.5 times the argument, with underflow
21510         forced as needed.
21511         * math/auto-libm-test-in: Add more tests of j1.
21512         * math/auto-libm-test-out: Regenerated.
21514         [BZ #16559]
21515         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21516         (__ieee754_j1): Force underflow exception for small results.
21517         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21518         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21519         (__ieee754_j1f): Force underflow exception for small results.
21520         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21521         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21522         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21523         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21524         (__ieee754_j1l): Force underflow exception for small results.
21525         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21526         * math/auto-libm-test-in: Add more tests of j1 and jn.
21527         * math/auto-libm-test-out: Regenerated.
21529         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21530         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21531         (PF_MPLS): Likewise.
21532         (AF_IB): Likewise.
21533         (AF_MPLS): Likewise.
21534         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21535         value and macro.
21536         (MS_RMT_MASK): Include MS_LAZYTIME.
21538 2015-06-26  Mel Gorman  <mgorman@suse.de>
21540         [BZ #18502]
21541         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21542         already minimal.
21544 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21546         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21547         (DT_MIPS_NUM): Update.
21548         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21549         DT_MIPS_RLD_MAP_REL.
21551 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21553         [BZ #16559]
21554         [BZ #18602]
21555         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21556         round-to-nearest internally then recompute results that
21557         underflowed to zero in the original rounding mode.
21558         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21559         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21560         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21561         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21562         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21563         * sysdeps/i386/fpu/libm-test-ulps: Update.
21564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21566 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21568         * NEWS: Fixed description of link with vector math library.
21570 2015-06-25  Andreas Schwab  <schwab@suse.de>
21572         [BZ #18549]
21573         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21574         * libio/test-fmemopen.c (do_test): Add test for it.
21576 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21578         [BZ #17841]
21579         * Makeconfig (no-pie-ldflag): New.
21580         (+link): Set to $(+link-pie) if default to PIE.
21581         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21582         * config.make.in (build-pie-default): New.
21583         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21584         is default.  AC_SUBST.
21585         * configure: Regenerated.
21586         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21588 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21590         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21591         to 'unsigned int'.
21593         * resolv/gai_misc.h (struct waitlist): Change type of field
21594         counterp to 'volatile unsigned int *'.
21595         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21596         FUTEXADDR and OLDVAL.
21597         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21598         Give local variable TOTAL type 'volatile unsigned int'.
21599         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21600         * resolv/gai_suspend.c (gai_suspend):
21601         Give local variable CNTR type 'unsigned int'.
21603         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21604         counterp to 'volatile unsigned int *'.
21605         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21606         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21607         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21608         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21609         Give local variable TOTAL type 'volatile unsigned int'.
21610         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21612 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21614         [BZ #18383]
21615         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21616         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21617         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21618         comment for i386/x86-64.
21619         (test-xfail-tst-tlsalign-extern-static): Removed.
21621 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21623         * math/test-double.h: New file.
21624         * math/test-float.h: Likewise.
21625         * math/test-ldouble.h: Likewise.
21626         * math/test-math-inline.h: Likewise.
21627         * math/test-math-no-inline.h: Likewise.
21628         * math/test-math-scalar.h: Likewise.
21629         * math/test-math-vector.h: Likewise.
21630         * math/test-vec-loop.h: Remove file.  Contents moved into
21631         test-math-vector.h.
21632         * math/libm-test.inc (MATHCONST): Do not document macro.
21633         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21634         and test-math-scalar.h.
21635         (FUNC): Remove macro.
21636         (FUNC_TEST): Likewise.
21637         (FLOAT): Likewise.
21638         (MATHCONST): Likewise.
21639         (PRINTF_EXPR): Likewise.
21640         (PRINTF_XEXPR): Likewise.
21641         (PRINTF_NEXPR): Likewise.
21642         (TEST_DOUBLE): Likewise.
21643         (TEST_MATHVEC): Likewise.
21644         (__NO_MATH_INLINES): Likewise.
21645         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21646         and test-math-scalar.h.
21647         (FUNC): Remove macro.
21648         (FUNC_TEST): Likewise.
21649         (FLOAT): Likewise.
21650         (MATHCONST): Likewise.
21651         (PRINTF_EXPR): Likewise.
21652         (PRINTF_XEXPR): Likewise.
21653         (PRINTF_NEXPR): Likewise.
21654         (TEST_FLOAT): Likewise.
21655         (TEST_MATHVEC): Likewise.
21656         (__NO_MATH_INLINES): Likewise.
21657         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21658         and test-math-scalar.h.
21659         (FUNC): Remove macro.
21660         (FUNC_TEST): Likewise.
21661         (FLOAT): Likewise.
21662         (MATHCONST): Likewise.
21663         (PRINTF_EXPR): Likewise.
21664         (PRINTF_XEXPR): Likewise.
21665         (PRINTF_NEXPR): Likewise.
21666         (TEST_DOUBLE): Likewise.
21667         (TEST_MATHVEC): Likewise.
21668         (TEST_INLINE): Likewise.
21669         (__NO_MATH_INLINES): Likewise.
21670         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21671         test-math-scalar.h.
21672         (FUNC): Remove macro.
21673         (FUNC_TEST): Likewise.
21674         (FLOAT): Likewise.
21675         (MATHCONST): Likewise.
21676         (PRINTF_EXPR): Likewise.
21677         (PRINTF_XEXPR): Likewise.
21678         (PRINTF_NEXPR): Likewise.
21679         (TEST_FLOAT): Likewise.
21680         (TEST_MATHVEC): Likewise.
21681         (TEST_INLINE): Likewise.
21682         (__NO_MATH_INLINES): Likewise.
21683         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21684         and test-math-scalar.h.
21685         (FUNC): Remove macro.
21686         (FUNC_TEST): Likewise.
21687         (FLOAT): Likewise.
21688         (MATHCONST): Likewise.
21689         (PRINTF_EXPR): Likewise.
21690         (PRINTF_XEXPR): Likewise.
21691         (PRINTF_NEXPR): Likewise.
21692         (TEST_LDOUBLE): Likewise.
21693         (TEST_MATHVEC): Likewise.
21694         (TEST_INLINE): Likewise.
21695         (__NO_MATH_INLINES): Likewise.
21696         * math/test-ldouble.c: Include test-ldouble.h,
21697         test-math-no-inline.h and test-math-scalar.h.
21698         (FUNC): Remove macro.
21699         (FUNC_TEST): Likewise.
21700         (FLOAT): Likewise.
21701         (MATHCONST): Likewise.
21702         (PRINTF_EXPR): Likewise.
21703         (PRINTF_XEXPR): Likewise.
21704         (PRINTF_NEXPR): Likewise.
21705         (TEST_LDOUBLE): Likewise.
21706         (TEST_MATHVEC): Likewise.
21707         (__NO_MATH_INLINES): Likewise.
21708         * math/test-double-vlen2.h: Include test-double.h,
21709         test-math-no-inline.h and test-math-vector.h.
21710         (FLOAT): Remove macro.
21711         (FUNC): Likewise.
21712         (MATHCONST): Likewise.
21713         (PRINTF_EXPR): Likewise.
21714         (PRINTF_XEXPR): Likewise.
21715         (PRINTF_NEXPR): Likewise.
21716         (TEST_DOUBLE): Likewise.
21717         (TEST_MATHVEC): Likewise.
21718         (__NO_MATH_INLINES): Likewise.
21719         (CNCT): Likewise.
21720         (CONCAT): Likewise.
21721         (WRAPPER_NAME): Likewise.
21722         (WRAPPER_DECL): Likewise.
21723         (WRAPPER_DECL_ff): Likewise.
21724         (WRAPPER_DECL_fFF): Likewise.
21725         (VECTOR_WRAPPER): Likewise.
21726         (VECTOR_WRAPPER_ff): Likewise.
21727         (VECTOR_WRAPPER_fFF): Likewise.
21728         (VEC_LEN): New macro.
21729         * math/test-double-vlen4.h: Include test-double.h,
21730         test-math-no-inline.h and test-math-vector.h.
21731         (FLOAT): Remove macro.
21732         (FUNC): Likewise.
21733         (MATHCONST): Likewise.
21734         (PRINTF_EXPR): Likewise.
21735         (PRINTF_XEXPR): Likewise.
21736         (PRINTF_NEXPR): Likewise.
21737         (TEST_DOUBLE): Likewise.
21738         (TEST_MATHVEC): Likewise.
21739         (__NO_MATH_INLINES): Likewise.
21740         (CNCT): Likewise.
21741         (CONCAT): Likewise.
21742         (WRAPPER_NAME): Likewise.
21743         (WRAPPER_DECL): Likewise.
21744         (WRAPPER_DECL_ff): Likewise.
21745         (WRAPPER_DECL_fFF): Likewise.
21746         (VECTOR_WRAPPER): Likewise.
21747         (VECTOR_WRAPPER_ff): Likewise.
21748         (VECTOR_WRAPPER_fFF): Likewise.
21749         (VEC_LEN): New macro.
21750         * math/test-double-vlen8.h: Include test-double.h,
21751         test-math-no-inline.h and test-math-vector.h.
21752         (FLOAT): Remove macro.
21753         (FUNC): Likewise.
21754         (MATHCONST): Likewise.
21755         (PRINTF_EXPR): Likewise.
21756         (PRINTF_XEXPR): Likewise.
21757         (PRINTF_NEXPR): Likewise.
21758         (TEST_DOUBLE): Likewise.
21759         (TEST_MATHVEC): Likewise.
21760         (__NO_MATH_INLINES): Likewise.
21761         (CNCT): Likewise.
21762         (CONCAT): Likewise.
21763         (WRAPPER_NAME): Likewise.
21764         (WRAPPER_DECL): Likewise.
21765         (WRAPPER_DECL_ff): Likewise.
21766         (WRAPPER_DECL_fFF): Likewise.
21767         (VECTOR_WRAPPER): Likewise.
21768         (VECTOR_WRAPPER_ff): Likewise.
21769         (VECTOR_WRAPPER_fFF): Likewise.
21770         (VEC_LEN): New macro.
21771         * math/test-float-vlen4.h: Include test-float.h,
21772         test-math-no-inline.h and test-math-vector.h.
21773         (FLOAT): Remove macro.
21774         (FUNC): Likewise.
21775         (MATHCONST): Likewise.
21776         (PRINTF_EXPR): Likewise.
21777         (PRINTF_XEXPR): Likewise.
21778         (PRINTF_NEXPR): Likewise.
21779         (TEST_FLOAT): Likewise.
21780         (TEST_MATHVEC): Likewise.
21781         (__NO_MATH_INLINES): Likewise.
21782         (CNCT): Likewise.
21783         (CONCAT): Likewise.
21784         (WRAPPER_NAME): Likewise.
21785         (WRAPPER_DECL): Likewise.
21786         (WRAPPER_DECL_ff): Likewise.
21787         (WRAPPER_DECL_fFF): Likewise.
21788         (VECTOR_WRAPPER): Likewise.
21789         (VECTOR_WRAPPER_ff): Likewise.
21790         (VECTOR_WRAPPER_fFF): Likewise.
21791         (VEC_LEN): New macro.
21792         * math/test-float-vlen8.h: Include test-float.h,
21793         test-math-no-inline.h and test-math-vector.h.
21794         (FLOAT): Remove macro.
21795         (FUNC): Likewise.
21796         (MATHCONST): Likewise.
21797         (PRINTF_EXPR): Likewise.
21798         (PRINTF_XEXPR): Likewise.
21799         (PRINTF_NEXPR): Likewise.
21800         (TEST_FLOAT): Likewise.
21801         (TEST_MATHVEC): Likewise.
21802         (__NO_MATH_INLINES): Likewise.
21803         (CNCT): Likewise.
21804         (CONCAT): Likewise.
21805         (WRAPPER_NAME): Likewise.
21806         (WRAPPER_DECL): Likewise.
21807         (WRAPPER_DECL_ff): Likewise.
21808         (WRAPPER_DECL_fFF): Likewise.
21809         (VECTOR_WRAPPER): Likewise.
21810         (VECTOR_WRAPPER_ff): Likewise.
21811         (VECTOR_WRAPPER_fFF): Likewise.
21812         (VEC_LEN): New macro.
21813         * math/test-float-vlen16.h: Include test-float.h,
21814         test-math-no-inline.h and test-math-vector.h.
21815         (FLOAT): Remove macro.
21816         (FUNC): Likewise.
21817         (MATHCONST): Likewise.
21818         (PRINTF_EXPR): Likewise.
21819         (PRINTF_XEXPR): Likewise.
21820         (PRINTF_NEXPR): Likewise.
21821         (TEST_FLOAT): Likewise.
21822         (TEST_MATHVEC): Likewise.
21823         (__NO_MATH_INLINES): Likewise.
21824         (CNCT): Likewise.
21825         (CONCAT): Likewise.
21826         (WRAPPER_NAME): Likewise.
21827         (WRAPPER_DECL): Likewise.
21828         (WRAPPER_DECL_ff): Likewise.
21829         (WRAPPER_DECL_fFF): Likewise.
21830         (VECTOR_WRAPPER): Likewise.
21831         (VECTOR_WRAPPER_ff): Likewise.
21832         (VECTOR_WRAPPER_fFF): Likewise.
21833         (VEC_LEN): New macro.
21834         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
21835         test-vec-loop.h.
21836         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21837         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21838         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21839         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21840         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21841         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21842         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21844 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21846         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
21847         (__getlogin_r): ... this.
21849 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21851         [BZ #18594]
21852         * math/s_ccosh.c (__ccosh): Compare with least normal value
21853         instead of comparing class with FP_SUBNORMAL.
21854         * math/s_ccoshf.c (__ccoshf): Likewise.
21855         * math/s_ccoshl.c (__ccoshl): Likewise.
21856         * math/s_cexp.c (__cexp): Likewise.
21857         * math/s_cexpf.c (__cexpf): Likewise.
21858         * math/s_cexpl.c (__cexpl): Likewise.
21859         * math/s_csin.c (__csin): Likewise.
21860         * math/s_csinf.c (__csinf): Likewise.
21861         * math/s_csinh.c (__csinh): Likewise.
21862         * math/s_csinhf.c (__csinhf): Likewise.
21863         * math/s_csinhl.c (__csinhl): Likewise.
21864         * math/s_csinl.c (__csinl): Likewise.
21865         * math/s_ctan.c (__ctan): Likewise.
21866         * math/s_ctanf.c (__ctanf): Likewise.
21867         * math/s_ctanh.c (__ctanh): Likewise.
21868         * math/s_ctanhf.c (__ctanhf): Likewise.
21869         * math/s_ctanhl.c (__ctanhl): Likewise.
21870         * math/s_ctanl.c (__ctanl): Likewise.
21871         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
21872         csin, csinh, ctan and ctanh.
21873         * math/auto-libm-test-out: Regenerated.
21874         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
21875         * sysdeps/i386/fpu/libm-test-ulps: Update.
21876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21878 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21880         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
21881         return value is wrong, print the expected value too.
21883 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21885         [BZ #18585]
21886         * elf/readlib.c (is_gdb_python_file): New.
21887         (process_file): Don't issue errors on filenames with -gdb.py
21888         suffix.
21890 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21892         * math/auto-libm-test-in: Add more tests of csin and csinh.
21893         * math/auto-libm-test-out: Regenerated.
21894         * math/libm-test.inc (csin_test_data): Remove tests moved to
21895         auto-libm-test-in.
21896         (csinh_test_data): Likewise.
21898         [BZ #18593]
21899         * math/s_csin.c (__csin): Negate before rather than after possibly
21900         overflowing multiplication.
21901         * math/s_csinf.c (__csinf): Likewise.
21902         * math/s_csinh.c (__csinh): Likewise.
21903         * math/s_csinhf.c (__csinhf): Likewise.
21904         * math/s_csinhl.c (__csinhl): Likewise.
21905         * math/s_csinl.c (__csinl): Likewise.
21906         * math/auto-libm-test-in: Add some tests of csin and csinh.
21907         * math/auto-libm-test-out: Regenerated.
21908         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
21909         (csinh_test_data): Likewise.
21910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21912         [BZ #18586]
21913         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
21914         underflow exception for small results.
21916 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21918         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21919         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
21920         variable and included header.
21921         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
21922         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
21923         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
21924         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
21925         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
21926         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
21927         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
21928         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
21929         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21930         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
21931         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
21932         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
21933         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
21934         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
21935         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
21936         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
21938 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21940         [BZ #16526]
21941         [BZ #16538]
21942         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
21943         (__sin): Force underflow exception for arguments with small
21944         absolute value.
21945         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
21946         (__kernel_sinf): Force underflow exception for arguments with
21947         small absolute value.
21948         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
21949         (__kernel_sincosl): Force underflow exception for arguments with
21950         small absolute value.
21951         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
21952         (__kernel_sinl): Force underflow exception for arguments with
21953         small absolute value.
21954         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
21955         (__kernel_sincosl): Force underflow exception for arguments with
21956         small absolute value.
21957         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
21958         (__kernel_sinl): Force underflow exception for arguments with
21959         small absolute value.
21960         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
21961         (__kernel_sinl): Force underflow exception for arguments with
21962         small absolute value.
21963         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
21964         (__kernel_sinf): Force underflow exception for arguments with
21965         small absolute value.
21966         * math/auto-libm-test-in: Add more tests of sin and sincos.
21967         * math/auto-libm-test-out: Regenerated.
21969         [BZ #18245]
21970         [BZ #18583]
21971         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
21972         (__kernel_standard_l): Use feholdexcept and fesetenv around
21973         conversion to double instead of special-casing overflow and
21974         underflow.
21975         * math/libm-test.inc (fmod_test_data): Add more tests.
21976         (remainder_test_data): Likewise.
21977         (sqrt_test_data): Likewise.
21979 2015-06-23  Torvald Riegel  <triegel@redhat.com>
21981         [BZ #17403]
21982         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21983         atomic_read_barrier, atomic_write_barrier): Define.
21984         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21985         atomic_read_barrier, atomic_write_barrier): Define.
21987 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21989         * math/Makefile [$(PERL) != no]
21990         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21991         dependency on libm-test.stmp below the inclusion of Rules.
21993 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21995         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21996         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21997         and included header.
21998         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21999         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22000         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22001         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22002         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22003         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22004         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22005         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22006         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22007         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22008         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22009         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22010         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22011         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22012         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22013         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22014         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22015         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22016         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22018 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22020         [BZ #18371]
22021         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22022         intermediate but not final result might underflow.
22023         * math/s_csqrtf.c (__csqrtf): Likewise.
22024         * math/s_csqrtl.c (__csqrtl): Likewise.
22025         * math/auto-libm-test-in: Add more tests of csqrt.
22026         * math/auto-libm-test-out: Regenerated.
22027         * sysdeps/i386/fpu/libm-test-ulps: Update.
22029         [BZ #18219]
22030         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22031         threshold on absolute value of exponent for which scaling is used.
22032         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22033         * math/auto-libm-test-in: Add more tests of exp2.
22034         * math/auto-libm-test-out: Regenerated.
22036 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22038         [BZ #17977]
22039         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22040         when initializing interface list, based on the bug analysis
22041         and the patch proposed by Eric Newton.
22042         * resolv/tst-res_hconf_reorder.c: New test.
22043         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22044         tst-res_hconf_reorder.
22045         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22046         and $(shared-thread-library).
22047         (tst-res_hconf_reorder-ENV): New variable.
22049         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22050         in comment.
22052 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22054         [BZ #16353]
22055         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22056         (__expm1): Force underflow exception for arguments with small
22057         absolute value.
22058         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22059         (__expm1f): Force underflow exception for arguments with small
22060         absolute value.
22061         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22062         (__expm1): Force underflow exception for arguments with small
22063         absolute value.
22064         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22065         (__expm1f): Force underflow exception for arguments with small
22066         absolute value.
22067         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22068         Check for small arguments before calling __expm1.
22069         * math/auto-libm-test-in: Do not mark underflow exceptions as
22070         possibly missing for bug 16353.
22071         * math/auto-libm-test-out: Regenerated.
22073 2015-06-22  Andreas Schwab  <schwab@suse.de>
22075         [BZ #18513]
22076         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22077         PTR queries.
22079 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22081         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22083         * string/strcoll_l.c: Remove unused struct element idxnow.
22085 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22087         [BZ #18569]
22088         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22089         underflow and return argument in case of subnormal argument.
22090         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22091         Likewise.
22092         * math/auto-libm-test-in: Add more tests of expm1.
22093         * math/auto-libm-test-out: Regenerated.
22095         [BZ #16361]
22096         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22097         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22098         tiny results.
22099         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22100         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22101         tiny results.
22102         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22103         mark underflow exceptions as possibly missing for bug 16361.
22104         * math/auto-libm-test-out: Regenerated.
22106 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22108         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22109         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22110         Remove variable.
22111         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22112         (test-xfail-XOPEN2K8/utmpx.h/conform).
22114         * conform/conformtest.pl ($xerrors): New variable.
22115         (note_error): New function.
22116         (compiletest): New argument $xfail.  Use not_error.
22117         (runtest): Likewise.
22118         (top level): Handle xfail- lines.  Update calls to compiletest and
22119         runtest.  Handle xfail- and optional- in headers listed with
22120         allow-header.
22121         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22122         (O_EXEC): Likewise.
22123         (O_SEARCH): Likewise.
22124         * conform/data/stropts.h-data (ioctl): Likewise.
22125         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22126         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22127         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22128         (msghdr.msg_controllen): Likewise.
22129         (cmsghdr.cmsg_len): Likewise.
22130         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22131         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22132         variable.
22133         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22134         (test-xfail-XPG4/stropts.h/conform): Likewise.
22135         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22136         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22137         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22138         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22139         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22140         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22141         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22142         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22143         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22144         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22145         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22146         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22147         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22148         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22149         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22150         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22151         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22152         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22153         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22155 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22157         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22158         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22159         definitions for proper unfolding of __MATHDECL_VEC.
22161 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22163         * benchtests/bench-strcoll.c:
22164         Include string.h.
22165         (main): Remove unused variable res.
22167 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22169         * timezone/Makefile (%/UTC %/Universal):
22170         Generate test-result files for UTC and Universal.
22172 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22174         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22176 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22178         [BZ #16350]
22179         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22180         for arguments with small absolute value.
22181         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22182         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22183         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22184         (__asinh): Force underflow exception for arguments with small
22185         absolute value.
22186         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22187         (__asinhf): Force underflow exception for arguments with small
22188         absolute value.
22189         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22190         (__asinhl): Force underflow exception for arguments with small
22191         absolute value.
22192         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22193         (__asinhl): Force underflow exception for arguments with small
22194         absolute value.
22195         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22196         (__asinhl): Force underflow exception for arguments with small
22197         absolute value.
22198         * math/auto-libm-test-in: Do not mark underflow exceptions as
22199         possibly missing for bug 16350.
22200         * math/auto-libm-test-out: Regenerated.
22202         * include/bits/ipc.h: Remove file.
22203         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22204         variable.
22205         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22206         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22207         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22208         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22209         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22210         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22211         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22212         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22213         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22215         * math/auto-libm-test-in: Remove spurious underflow allowance for
22216         tests of cexp.
22217         * math/auto-libm-test-out: Regenerated.
22219         [BZ #18558]
22220         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22221         unconditional definition.
22222         (MCAST_BLOCK_SOURCE): Likewise.
22223         (MCAST_UNBLOCK_SOURCE): Likewise.
22224         (MCAST_LEAVE_GROUP): Likewise.
22225         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22226         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22227         (MCAST_MSFILTER): Likewise.
22228         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22229         Remove variable.
22230         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22231         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22232         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22233         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22234         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22236 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22238         * NEWS: Mention addition of x86_64 vector sincosf.
22239         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22240         * math/test-float-vlen4.h: Likewise.
22241         * math/test-float-vlen8.h: Likewise.
22242         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22243         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22244         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22245         * sysdeps/x86_64/fpu/Versions: New versions added.
22246         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22247         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22248         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22249         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22250         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22251         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22252         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22253         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22255         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22256         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22257         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22258         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22259         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22260         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22261         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22262         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22263         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22264         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22265         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22266         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22267         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22268         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22269         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22271         * NEWS: Mention addition of x86_64 vector sincos.
22272         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22273         * math/math.h (__MATHDECL_VEC): New macro.
22274         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22275         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22276         declaration under condition.
22277         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22278         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22279         TEST_VEC_LOOP change.
22280         * math/test-double-vlen4.h: Likewise.
22281         * math/test-double-vlen8.h: Likewise.
22282         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22283         * math/test-float-vlen4.h: Likewise.
22284         * math/test-float-vlen8.h: Likewise.
22285         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22286         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22287         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22288         * sysdeps/x86_64/fpu/Versions: New versions added.
22289         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22290         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22291         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22292         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22293         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22294         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22295         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22296         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22297         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22298         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22299         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22300         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22301         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22302         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22303         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22304         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22305         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22306         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22307         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22308         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22309         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22310         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22311         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22312         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22314         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22315         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22316         redirections for powf.
22317         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22318         * sysdeps/x86_64/fpu/Versions: New versions added.
22319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22320         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22321         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22322         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22323         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22324         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22325         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22326         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22327         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22328         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22329         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22330         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22331         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22332         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22333         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22334         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22335         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22336         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22337         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22338         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22339         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22340         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22341         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22342         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22343         * math/test-float-vlen16.h: Fixed 2 argument macro.
22344         * math/test-float-vlen4.h: Likewise.
22345         * math/test-float-vlen8.h: Likewise.
22346         * NEWS: Mention addition of x86_64 vector powf.
22348 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22350         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22351         and redefine.
22352         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22353         and redefine.
22354         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22355         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22356         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22358         [BZ #18553]
22359         * resource/getpriority.c (getpriority): Rename to __getpriority
22360         and define as weak alias of __getpriority.
22361         * resource/setpriority.c (setpriority): Rename to __setpriority
22362         and define as weak alias of __setpriority.
22363         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22364         __getpriority and define as weak alias of __getpriority.
22365         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22366         __setpriority and define as weak alias of __setpriority.
22367         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22368         strong name.
22369         (setpriority): Use __setpriority as strong name.
22370         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22371         __getpriority and define as weak alias of __getpriority.
22372         * include/sys/resource.h (__getpriority): Declare.  Use
22373         libc_hidden_proto.
22374         (__setpriority): Likewise.
22375         (getpriority): Don't use libc_hidden_proto.
22376         (setpriority): Likewise.
22377         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22378         getpriority.  Call __setpriority instead of setpriority.
22379         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22380         Remove variable.
22382         [BZ #18547]
22383         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22384         as weak alias of __getttynam.  Use prototype function definition.
22385         Call __setttyent, __getttyent and __endttyent instead of
22386         setttyent, getttyent and endttyent.
22387         (getttyent): Rename to __getttyent and define as weak alias of
22388         __getttyent.  Call __setttyent instead of setttyent.  Call
22389         __fgets_unlocked instead of fgets_unlocked.
22390         (setttyent): Rename to __setttyent and define as weak alias of
22391         __setttyent.
22392         (endttyent): Rename to __endttyent and define as weak alias of
22393         __endttyent.
22394         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22395         (__setttyent): Likewise.
22396         (__endttyent): Likewise.
22397         (getttyent): Don't use libc_hidden_proto.
22398         (setttyent): Likewise.
22399         (endttyent): Likewise.
22400         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22401         __endttyent instead of setttyent, getttyent and endttyent.
22402         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22403         Remove variable.
22405         [BZ #18546]
22406         * socket/recv.c (__recv): Use libc_hidden_def.
22407         * socket/socket.c (__socket): Likewise.
22408         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22409         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22410         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22411         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22412         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22413         libc_hidden_def.
22414         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22415         libc_hidden_weak.
22416         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22417         Use libc_hidden_proto.
22418         (__recv): Likewise.
22419         * socket/Versions (libc): Export __recv and __socket at version
22420         GLIBC_PRIVATE.
22421         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22422         instead of recv.
22423         (init_mq_netlink): Call __socket instead of socket.
22424         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22425         Remove variable.
22427         [BZ #18545]
22428         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22429         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22430         hidden_weak.
22431         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22432         define as alias of __mq_timedsend.  Use hidden_weak.
22433         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22434         __mq_timedsend as strong name.
22435         (mq_timedreceive): Use __mq_timedreceive as strong name.
22436         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22437         (__mq_timedreceive): Likewise.
22438         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22439         __mq_timedreceive instead of mq_timedreceive.
22440         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22441         instead of mq_timedsend.
22442         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22443         Remove variable.
22445         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22446         hidden_def and hidden_weak instead of libc_hidden_def and
22447         libc_hidden_weak.
22448         (top level): Refer to hidden_def in comment.
22449         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22450         macro.  Use it instead of libc_hidden_def.
22451         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22452         specify __GI_* name explicitly.
22453         (mq_timedreceive): Likewise.
22454         (mq_setattr): Likewise.
22456         [BZ #18544]
22457         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22458         __pthread_barrier_init and define as weak alias of
22459         __pthread_barrier_init.
22460         * sysdeps/sparc/nptl/pthread_barrier_init.c
22461         (pthread_barrier_init): Likewise.
22462         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22463         __pthread_barrier_wait and define as weak alias of
22464         __pthread_barrier_wait.
22465         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22466         (pthread_barrier_wait): Likewise.
22467         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22468         (pthread_barrier_wait): Likewise.
22469         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22470         (pthread_barrier_wait): Likewise.
22471         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22472         (pthread_barrier_wait): Likewise.
22473         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22474         __pthread_barrier_wait at version GLIBC_PRIVATE.
22475         * include/pthread.h (__pthread_barrier_init): Declare.
22476         (__pthread_barrier_wait): Likewise.
22477         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22478         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22479         (helper_thread): Likewise.
22480         (init_mq_netlink): Call __pthread_barrier_init instead of
22481         pthread_barrier_init.
22483         [BZ #18542]
22484         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22485         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22486         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22487         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22488         vswscanf.
22489         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22490         Remove variable.
22492         [BZ #18540]
22493         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22494         strong alias of _IO_fflush.  Use libc_hidden_def.
22495         * libio/iofflush_u.c (fflush_unlocked): Rename to
22496         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22497         Use libc_hidden_weak.
22498         * include/stdio.h (__fflush_unlocked): Declare.  Use
22499         libc_hidden_proto.
22500         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22501         fflush_unlocked.
22502         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22503         Remove variable.
22505         [BZ #18539]
22506         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22507         define as weak alias of __addseverity.
22508         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22509         Remove variable.
22510         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22511         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22512         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22514         [BZ #18536]
22515         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22516         (__tfind): Likewise.
22517         (__tdelete): Likewise.
22518         (__twalk): Likewise.
22519         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22520         __twalk to GLIBC_PRIVATE.
22521         * include/search.h (__tsearch): Use libc_hidden_proto.
22522         (__tfind): Likewise.
22523         (__tdelete): Likewise.
22524         (__twalk): Likewise.
22525         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22526         Call __tdelete instead of tdelete.
22527         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22528         tfind.  Call __tsearch instead of tsearch.
22529         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22530         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22531         Remove variable.
22532         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22534         [BZ #18534]
22535         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22536         (dprintf): Define as a weak alias of __dprintf, not a strong
22537         alias.
22538         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22539         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22540         dprintf.
22541         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22542         Remove variable.
22543         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22544         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22546         [BZ #18533]
22547         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22548         not a strong alias.
22549         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22550         Remove variable.
22552         [BZ #18532]
22553         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22554         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22555         (in6addr_loopback): Rename to __in6addr_loopback and define as
22556         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22557         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22558         libc_hidden_proto.
22559         (__in6addr_any): Likewise.
22560         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22561         in6addr_any.
22562         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22563         variable.
22564         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22566 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22568         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22569         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22570         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22571         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22572         redirections for pow.
22573         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22574         * sysdeps/x86_64/fpu/Versions: New versions added.
22575         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22576         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22577         build of SSE, AVX2 and AVX512 IFUNC versions.
22578         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22579         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22580         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22581         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22582         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22583         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22584         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22585         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22586         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22587         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22588         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22589         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22590         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22591         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22592         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22593         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22594         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22595         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22596         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22597         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22598         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22599         * NEWS: Mention addition of x86_64 vector pow.
22601         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22602         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22603         redirections for expf.
22604         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22605         * sysdeps/x86_64/fpu/Versions: New versions added.
22606         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22607         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22608         build of SSE, AVX2 and AVX512 IFUNC versions.
22609         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22610         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22611         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22612         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22613         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22614         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22615         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22616         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22617         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22618         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22619         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22620         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22621         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22622         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22623         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22624         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22625         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22626         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22627         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22628         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22629         * NEWS: Mention addition of x86_64 vector expf.
22631         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22632         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22633         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22634         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22635         redirections for exp.
22636         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22637         * sysdeps/x86_64/fpu/Versions: New versions added.
22638         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22639         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22640         build of SSE, AVX2 and AVX512 IFUNC versions.
22641         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22642         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22643         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22644         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22645         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22646         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22647         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22648         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22649         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22650         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22651         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22652         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22653         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22654         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22655         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22656         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22657         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22658         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22659         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22660         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22661         * NEWS: Mention addition of x86_64 vector exp.
22663         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22664         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22665         redirections for logf.
22666         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22667         * sysdeps/x86_64/fpu/Versions: New versions added.
22668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22669         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22670         build of SSE, AVX2 and AVX512 IFUNC versions.
22671         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22672         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22673         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22674         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22675         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22676         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22677         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22678         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22679         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22680         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22681         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22682         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22683         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22684         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22685         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22686         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22687         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22688         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22689         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22690         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22691         * NEWS: Mention addition of x86_64 vector logf.
22693         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22694         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22695         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22696         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22697         redirections for log.
22698         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22699         * sysdeps/x86_64/fpu/Versions: New versions added.
22700         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22701         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22702         build of SSE, AVX2 and AVX512 IFUNC versions.
22703         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22704         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22705         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22706         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22707         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22708         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22709         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22710         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22711         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22712         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22713         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22714         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22715         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22716         test.
22717         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22718         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22719         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22720         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22721         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22722         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22723         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22724         * NEWS: Mention addition of x86_64 vector log.
22726 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22728         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22729         cfi_adjust_cfa_offset argument.
22730         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22731         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22733         [BZ #18034]
22734         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22735         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22736         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22737         ordering using ldar.
22738         (_dl_tlsdesc_dynamic): Likewise.
22739         (_dl_tlsdesc_return_lazy): Likewise.
22740         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22741         relaxed atomics instead of volatile and synchronize with release store.
22742         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22743         volatile.
22744         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22746 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22748         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22749         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22750         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22751         * sysdeps/x86_64/fpu/Versions: New versions added.
22752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22753         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22754         build of SSE, AVX2 and AVX512 IFUNC versions.
22755         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22756         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22757         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22758         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22759         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22760         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22761         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22762         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22763         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22764         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22765         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22766         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22767         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22768         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22769         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22770         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22771         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22772         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22773         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22774         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22775         * NEWS: Mention addition of x86_64 vector sinf.
22777 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22779         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22780         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22781         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22782         Remove variable.
22783         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22784         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22786 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22788         [BZ #18530]
22789         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22790         strong alias of _IO_fputs.  Use libc_hidden_def.
22791         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22792         and define as weak alias of __fputs_unlocked.  Use
22793         libc_hidden_weak.
22794         * include/stdio.h (__fputs_unlocked): Declare.  Use
22795         libc_hidden_proto.
22796         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22797         fputs_unlocked.
22799         [BZ #18529]
22800         * resolv/netdb.h [__USE_POSIX]: Change condition to
22801         [__USE_XOPEN2K].
22802         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
22803         not expect.
22804         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
22805         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
22806         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
22807         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
22808         [XPG4 || UNIX98] (AI_ALL): Likewise.
22809         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
22810         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
22811         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
22812         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
22813         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
22814         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
22815         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
22816         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
22817         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22818         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
22819         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
22820         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
22821         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
22822         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
22823         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
22824         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22825         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22826         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
22827         [XPG4 || UNIX98] (gai_strerror): Likewise.
22828         [XPG4 || UNIX98] (getaddrinfo): Likewise.
22829         [XPG4 || UNIX98] (getnameinfo): Likewise.
22831         [BZ #18528]
22832         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
22833         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
22834         __USE_XOPEN2K8].
22835         (getgrent): Likewise.
22836         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
22837         expect.
22838         [XPG3 || POSIX2008] (endgrent): Likewise.
22839         [XPG3] (setgrent): Likewise.
22840         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
22841         variable.
22842         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22844         [BZ #18527]
22845         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
22846         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
22847         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
22848         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
22849         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22850         * include/unistd.h (__getlogin_r): Declare.  Use
22851         libc_hidden_proto.
22852         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
22853         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
22854         variable.
22855         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22856         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22857         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22859 2015-06-12  Martin Sebor  <msebor@redhat.com>
22861         [BZ #18512]
22862         * Makerules (check-install-supported): New target.
22863         (install): Add check-install-supported as a dependency.
22864         * manual/install.texi (Installing the C Library): Document
22865         that overriding prefix and exec_prefix is not supported.
22866         Mention DESTDIR.
22867         * INSTALL: Regenerate from the above.
22869 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22871         [BZ #18519]
22872         * posix/Versions (libc): Export __libc_pread at version
22873         GLIBC_PRIVATE.
22874         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
22875         instead of pread.
22876         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
22877         variable.
22879         [BZ #18522]
22880         * misc/efgcvt_r.c
22881         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
22882         (cvt_symbol): Use weak_alias instead of strong_alias.
22883         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
22884         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
22885         Remove variable.
22886         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22887         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22889         [BZ #18520]
22890         * inet/herrno.c (h_errno): Rename to __h_errno.
22891         (__libc_h_errno): Define as alias of __h_errno not h_errno.
22892         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
22893         to __h_errno instead of h_errno.
22894         * nptl/herrno.c (h_errno): Rename to __h_errno.
22895         (__h_errno_location): Refer to __h_errno not h_errno.
22896         * resolv/Versions (h_errno): Rename to __h_errno.
22897         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
22898         Remove variable.
22899         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22901 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
22903         * configure.ac: More strict check for AVX512 assembler support.
22904         * configure: Regenerated.
22906         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
22907         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
22908         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22909         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
22910         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22911         * sysdeps/x86_64/fpu/Versions: New versions added.
22912         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22913         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22914         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22915         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
22916         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
22917         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
22918         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
22919         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
22920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
22921         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22922         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
22923         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
22924         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
22925         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
22926         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
22927         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
22928         test.
22929         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22930         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22931         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22932         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22933         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22934         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22935         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22936         * NEWS: Mention addition of x86_64 vector sin.
22938 2015-06-11  Florian Weimer  <fweimer@redhat.com>
22940         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
22941         comment.
22943 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22945         [BZ #18479]
22946         * nptl/pt-interp.c: New file.
22947         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
22948         Add pt-interp.
22949         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
22950         $(common-objpfx)runtime-linker.h.
22952 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
22954         * Makeconfig (+interp): Remove unused variable.
22955         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
22956         only.  Depend on $(common-objpfx)runtime-linker.h instead of
22957         $(elf-objpfx)runtime-linker.h.
22958         ($(elf-objpfx)runtime-linker.h): Rename to
22959         $(common-objpfx)runtime-linker.h and move ...
22960         * Makerules [$(build-shared) = yes]: ... here.
22961         * elf/interp.c: Include <runtime-linker.h> instead of
22962         <elf/runtime-linker.h>.
22964 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22966         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
22967         (__gettimeofday_syscall): Remove vsyscall fallback.
22968         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
22969         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
22970         Add syscall fallback function.
22971         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
22972         if vDSO is not present.
22973         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
22974         fallback function.
22975         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
22976         present.
22977         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22978         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22980 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
22982         [BZ #18497]
22983         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22984         of wcscmp.
22985         (wcscmp): Define as weak alias of WCSCMP.
22986         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22987         wcscoll.
22988         (USE_HIDDEN_DEF): Define.
22989         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22990         __wcscoll.  Don't use libc_hidden_weak.
22991         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22992         wcscmp.
22993         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22994         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22995         __GI_wcscmp.
22996         (weak_alias): Undefine and redefine.
22997         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22998         __wcscmp and define as weak alias of __wcscmp.
22999         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23000         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23001         (__wcscoll): Likewise.
23002         (wcscmp): Don't use libc_hidden_proto.
23003         (wcscoll): Likewise.
23004         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23005         wcscoll.
23006         * posix/regexec.c (check_node_accept_bytes): Likewise.
23007         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23008         variable.
23009         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23010         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23012         [BZ #18507]
23013         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23014         __fstatvfs and define as weak alias of __fstatvfs.  Use
23015         libc_hidden_weak.
23016         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23017         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23018         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23019         Define as alias of __fstatvfs, not fstatvfs.
23020         (fstatvfs64): Likewise.
23021         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23022         Define as alias of __statvfs, not statvfs.
23023         (statvfs64): Likewise.
23024         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23025         Remove variable.
23027 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23030         (HAVE_GETCPU_VSYSCALL): Define.
23031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23032         (HAVE_GETCPU_VSYSCALL): Likewise.
23033         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23034         * sysdeps/unix/sysv/linux/sched_getcpu.c
23035         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23036         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23037         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23038         prototype.
23039         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23040         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23041         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23042         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23043         Define.
23044         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23045         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23046         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23047         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23049 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23051         * sysdeps/x86_64/fpu/Makefile: New file.
23052         * sysdeps/x86_64/fpu/Versions: New file.
23053         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23054         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23055         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23056         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23057         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23058         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23059         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23060         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23061         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23062         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23063         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23064         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23065         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23066         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23067         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23068         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23069         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23070         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23071         * sysdeps/x86_64/configure: Regenerated.
23072         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23073         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23074         * manual/install.texi (Configuring and compiling): Document
23075         --disable-mathvec.
23076         * INSTALL: Regenerated.
23077         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23079         * math/Makefile: Added rules for vector tests.
23080         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23081         declaration under condition.
23082         * math/test-double-vlen2.h: New file.
23083         * math/test-double-vlen4.h: New file.
23084         * math/test-double-vlen8.h: New file.
23085         * math/test-vec-loop.h: Added initialization macro.
23086         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23088         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23089         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23090         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23091         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23092         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23093         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23094         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23095         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23096         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23098         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23099         * sysdeps/x86_64/fpu/Versions: New versions added.
23100         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23101         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23102         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23103         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23104         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23105         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23106         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23107         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23108         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23109         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23110         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23111         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23112         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23113         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23114         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23115         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23116         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23117         * NEWS: Mention addition of x86_64 vector cosf.
23119         * math/Makefile: Added CFLAGS for new tests.
23120         * math/test-float-vlen16.h: New file.
23121         * math/test-float-vlen4.h: New file.
23122         * math/test-float-vlen8.h: New file.
23123         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23124         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23125         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23126         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23127         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23128         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23129         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23130         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23131         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23132         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23133         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23135 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23137         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23138         * locale/programs/ld-ctype.c: Likewise.
23140 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23142         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23143         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23144         bit_ZMM16_31_state): New macro.
23145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23146         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23148 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23150         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23152 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23154         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23156 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23158         [BZ #18498]
23159         * libio/memstream.c (open_memstream): Rename to __open_memstream
23160         and define as weak alias of __open_memstream.
23161         * include/stdio.h (__open_memstream): Declare.  Use
23162         libc_hidden_proto.
23163         (open_memstream): Don't use libc_hidden_proto.
23164         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23165         open_memstream.
23166         * posix/getopt.c (_getopt_internal_r): Likewise.
23167         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23168         variable.
23169         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23170         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23171         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23173         [BZ #18496]
23174         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23175         instead of wcrtomb.
23177         [BZ #18483]
23178         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23179         [__USE_XOPEN2K8].  Remove redundant #endif.
23180         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23181         Remove redundant #if.
23182         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23183         Remove variable.
23184         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23185         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23187         [BZ #18495]
23188         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23189         (__iswlower): Likewise.
23190         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23191         (__iswlower): Likewise.
23192         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23193         instead of towlower.
23194         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23195         instead of iswlower.  Call __towupper instead of towupper.
23196         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23197         instead of iswalnum.
23199 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23201         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23202         errors to stderr.
23204 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23206         [BZ #15661]
23207         [BZ #17322]
23208         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23209         Check for overflow properly.  Check for O_APPEND.  Ignore large
23210         file system block sizes.  Add comments about problems.
23211         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23212         * manual/filesys.texi (Storage Allocation): New node.
23214 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23216         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23217         cancellable syscalls.
23218         (SYS_ify): Add guard to no redefine it.
23219         (INLINE_SYSCALL): Likewise.
23220         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23221         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23222         SYSCALL_CANCEL instead.
23223         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23224         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23225         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23226         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23227         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23228         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23229         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23230         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23231         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23232         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23233         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23234         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23235         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23236         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23237         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23238         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23239         Likewise.
23240         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23241         (__libc_pread64): Likewise.
23242         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23243         (__libc_preadv): Likewise.
23244         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23245         (__libc_readv64): Likewise.
23246         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23247         (__libc_pwrite): Likewise.
23248         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23249         (__libc_pwrite64): Likewise.
23250         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23251         (__libc_pwritev): Likewise.
23252         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23253         (__libc_pwritev64): Likewise.
23254         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23255         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23256         (sync_file_range): Likewise.
23257         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23258         Likewise.
23259         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23260         Likewise.
23261         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23262         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23263         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23264         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23265         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23266         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23267         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23268         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23270         Likewise.
23271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23272         (__libc_read64): Likewise.
23273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23274         Likewise.
23275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23276         Likewise.
23277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23278         Likewise.
23279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23280         Likewise.
23281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23282         (__libc_pread64): Likewise.
23283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23284         Likewise.
23285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23286         (__libc_pwrite64): Likewise.
23287         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23288         (sync_file_range): Likewise.
23289         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23290         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23291         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23292         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23293         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23294         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23295         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23296         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23297         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23298         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23299         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23300         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23301         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23302         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23303         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23304         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23305         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23306         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23307         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23308         Likewise.
23309         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23310         Likewise.
23311         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23312         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23313         Likewise.
23314         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23315         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23316         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23317         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23318         Likewise.
23319         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23320         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23321         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23322         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23323         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23325 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23327         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23328         Include dl-vdso.
23329         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23330         Use VDSO routines for gettimeofday, clock_gettime if
23331         available.
23332         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23333         Declare VDSO symbols.
23334         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23335         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23336         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23337         * sysdeps/unix/sysv/linux/arm/Versions: Add
23338         __vdso_clock_gettime.
23340 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23342         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23343         be an inline implementation regardless of library is built within.
23344         (open_not_cancel_2): Likewise.
23345         (__read_nocancel): Likewise.
23346         (__write_nocancel): Likewise.
23347         (openat_not_cancel): Likewise.
23348         (openat_not_cancel_3): Likewise.
23349         (openat64_not_cancel): Likewise.
23350         (openat64_not_cancel_3): Likewise.
23351         (__close_nocancel): Likewise.
23352         (pause_not_cancel): Likewise.
23353         (nanosleep_not_cancel): Likewise.
23354         (sigsuspend_not_cancel): Likewise.
23356 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23358         [BZ #14958]
23359         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23360         wake-up.
23361         (__pthread_rwlock_rdlock_slow): Likewise.
23362         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23363         Likewise.
23364         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23365         Likewise.
23366         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23367         * nptl/tst-rwlock16.c: New file.
23368         * nptl/Makefile (tests): Add new test.
23370 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23372         [BZ #18324]
23373         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23374         missing wake-up of readers.
23375         * nptl/tst-rwlock15.c: New file.
23376         * nptl/Makefile (tests): Add new test.
23378 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23380         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23381         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23382         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23383         and __nacl_supply_interface_rtld.
23384         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23385         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23386         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23387         Add __nacl_supply_interface_rtld.
23388         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23390 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23392         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23393         isfinite.
23394         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23395         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23397 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23399         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23400         __signbit* with standard C99 macros.
23401         * math/e_exp10l.c: Likewise.
23402         * math/e_exp2l.c: Likewise.
23403         * math/e_scalb.c: Likewise.
23404         * math/e_scalbf.c: Likewise.
23405         * math/e_scalbl.c: Likewise.
23406         * math/s_ldexp.c: Likewise.
23407         * math/s_ldexpf.c: Likewise.
23408         * math/s_ldexpl.c: Likewise.
23409         * math/w_atan2.c: Likewise.
23410         * math/w_atan2f.c: Likewise.
23411         * math/w_atan2l.c: Likewise.
23412         * math/w_cosh.c: Likewise.
23413         * math/w_coshf.c: Likewise.
23414         * math/w_coshl.c: Likewise.
23415         * math/w_exp10.c: Likewise.
23416         * math/w_exp10f.c: Likewise.
23417         * math/w_exp10l.c: Likewise.
23418         * math/w_exp2.c: Likewise.
23419         * math/w_exp2f.c: Likewise.
23420         * math/w_exp2l.c: Likewise.
23421         * math/w_fmod.c: Likewise.
23422         * math/w_fmodf.c: Likewise.
23423         * math/w_fmodl.c: Likewise.
23424         * math/w_hypot.c: Likewise.
23425         * math/w_hypotf.c: Likewise.
23426         * math/w_hypotl.c: Likewise.
23427         * math/w_jnl.c: Likewise.
23428         * math/w_lgamma.c: Likewise.
23429         * math/w_lgamma_r.c: Likewise.
23430         * math/w_lgammaf.c: Likewise.
23431         * math/w_lgammaf_r.c: Likewise.
23432         * math/w_lgammal.c: Likewise.
23433         * math/w_lgammal_r.c: Likewise.
23434         * math/w_pow.c: Likewise.
23435         * math/w_powf.c: Likewise.
23436         * math/w_powl.c: Likewise.
23437         * math/w_remainder.c: Likewise.
23438         * math/w_remainderf.c: Likewise.
23439         * math/w_remainderl.c: Likewise.
23440         * math/w_scalb.c: Likewise.
23441         * math/w_scalbf.c: Likewise.
23442         * math/w_scalbl.c: Likewise.
23443         * math/w_scalbln.c: Likewise.
23444         * math/w_scalblnf.c: Likewise.
23445         * math/w_scalblnl.c: Likewise.
23446         * math/w_sinh.c: Likewise.
23447         * math/w_sinhf.c: Likewise.
23448         * math/w_sinhl.c: Likewise.
23449         * math/w_tgamma.c: Likewise.
23450         * math/w_tgammaf.c: Likewise.
23451         * math/w_tgammal.c: Likewise.
23452         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23453         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23454         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23455         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23456         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23457         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23458         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23459         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23460         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23461         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23462         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23463         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23464         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23465         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23466         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23467         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23468         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23469         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23470         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23471         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23472         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23473         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23474         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23475         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23476         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23477         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23478         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23479         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23480         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23481         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23482         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23483         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23484         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23485         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23486         * stdio-common/printf_fp.c: Likewise.
23487         * stdio-common/printf_fphex.c: Likewise.
23488         * stdio-common/printf_size.c: Likewise.
23490 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23492         [BZ #18470]
23493         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23494         strnlen.
23495         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23496         Remove variable.
23497         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23498         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23499         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23500         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23501         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23502         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23503         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23504         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23505         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23506         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23508         [BZ #18468]
23509         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23510         weak alias of __wmemchr.  Use libc_hidden_weak.
23511         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23512         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23513         instead of wmemchr.
23515 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23517         [BZ #18383]
23518         * elf/tst-tlsalign-extern.c: New file.
23519         * elf/tst-tlsalign-extern-static.c: New file.
23520         * elf/tst-tlsalign-vars.c: New file.
23521         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23522         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23523         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23524         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23525         (test-xfail-tst-tlsalign-extern-static): New variable.
23527 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23529         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23530         Use variable name _sc_err instead of err.
23531         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23532         instead of ret.
23533         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23534         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23535         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23536         (INLINE_SYSCALL): Likewise.
23538         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23539         * include/string.h (__strnlen): Use libc_hidden_proto.
23540         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23541         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23542         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23543         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23544         (libc_hidden_def): Undefine and redefine.
23545         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23546         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23547         __GI_strnlen.
23548         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23549         libc_hidden_def.
23550         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23552         [BZ #18469]
23553         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23554         weak alias of __towlower.  Use libc_hidden_weak.
23555         (towupper): Rename to __towupper and define as weak alias of
23556         __towupper.  Use libc_hidden_weak.
23557         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23558         (__towupper): Likewise.
23559         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23560         __towlower instead of towlower.
23562 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23564         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23565         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23567 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23569         * sysdeps/aarch64/libm-test-ulps: Update.
23571 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23573         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23574         Define.
23575         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23576         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23577         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23578         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23579         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23580         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23581         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23583 2015-06-01  Martin Sebor  <msebor@redhat.com>
23585         [BZ #18116]
23586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23587         (__setcontext): Use extended four-operand version of mtsf whenever
23588         possible.
23589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23590         (__novec_swapcontext): Likewise.
23592 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23594         * benchtests/scripts/compare_bench.py: New file.
23595         * benchtests/scripts/import_bench.py (mean): New function.
23596         (split_list): Likewise.
23597         (do_for_all_timings): Likewise.
23598         (compress_timings): Likewise.
23600         * benchtests/scripts/import_bench.py: New file.
23601         * benchtests/scripts/validate_benchout.py: Import import_bench
23602         instead of jsonschema.
23603         (validate_bench): Remove function.
23604         (main): Use import_bench.
23606 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23608         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23609         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23611 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23615 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23617         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23618         set THREAD_SELF->tid to a magic value and futex-wake it.
23619         Pass its address to the thread_exit system call.
23620         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23621         bit is clear.
23622         * sysdeps/nacl/lowlevellock.h: New file.
23623         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23625         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23626         Add TIMEOUT to current time, don't subtract it.
23628 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23630         [BZ #2981]
23631         [BZ #18422]
23632         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23633         ($(objpfx)tst-audit2.out): Also depend on
23634         $(objpfx)tst-auditmod9b.so.
23635         * elf/tst-audit2.c: Include <dlfcn.h>.
23636         (calloc_called): New.
23637         (calloc): Allow to be called more than once.
23638         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23640 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23642         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23643         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23645 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23647         * stdlib/monetary.h: Fix comment.
23649 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23651         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23652         Avoid using variables in #defines that might cause shadowing.
23653         (INTERNAL_VSYSCALL_CALL): Likewise.
23655 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23657         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23659         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23660         * nptl/lll_timedlock_wait.c: ... to this new file.
23661         * nptl/Makefile (libpthread-routines): Add it.
23662         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23663         * nptl/lll_timedwait_tid.c: ... to this new file.
23664         * nptl/Makefile (libpthread-routines): Add it.
23665         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23666         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23667         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23668         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23669         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23670         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23671         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23672         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23673         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23674         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23676 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23678         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23679         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23680         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23681         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23682         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23683         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23684         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23685         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23686         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23687         * sysdeps/unix/sysv/linux/tile/sysdep.h
23688         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23689         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23690         using vDSO syscall macro.
23692 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23694         [BZ #17293]
23695         * uk_UA: Fix sorting order for Ukrainian locale
23697 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23699         * stdlib/monetary.h: Fix comment.
23701 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23703         [BZ #18234]
23704         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23705         st_mtim and st_ctim members.
23706         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23707         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23708         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23709         (struct stat64): Likewise.
23710         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23711         (struct stat64): Likewise.
23712         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23713         (struct stat64): Likewise.
23715 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23717         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23718         Define and include sysdep-vdso.h.
23719         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23720         Likewise.
23721         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23722         Likewise.
23723         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23724         Define with VDSO_SYMBOL and use PTR_MANGLE.
23725         (__vdso_clock_gettime): Likewise.
23726         (__vdso_clock_getres): Likewise.
23727         (_libc_vdso_platform_setup): Likewise.
23728         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23729         Likewise.
23730         (_libc_vdso_platform_setup): Likewise.
23731         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23732         Likewise.
23733         (__vdso_clock_gettime): Likewise.
23734         (__vdso_clock_getres): Likewise.
23735         (__vdso_get_tbfreq): Likewise.
23736         (__vdso_getcpu): Likewise.
23737         (__vdso_time): Likewise.
23738         (__vdso_sigtramp_rt64): Likewise.
23739         (__vdso_signtramp32): Likewise.
23740         (__vdso_sigtramp_rt32): Likewise.
23741         (_libc_vdso_platform_setup): Likewise.
23742         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23743         Likewise.
23744         (__vdso_clock_gettime): Likewise.
23745         (__vdso_clock_getres): Likewise.
23746         (_libc_vdso_platform_setup): Likewise.
23747         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23748         Likewise.
23749         (__vdso_clock_gettime): Likewise.
23750         (_libc_vdso_platform_setup): Likewise.
23751         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23752         Likewise.
23753         (__vdso_getcpu): Likewise.
23754         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23755         Use VDSO_SYMBOL macro to define.
23756         (__vdso_clock_gettime): Likewise.
23757         (__vdso_clock_getres): Likewise.
23758         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23759         Likewise.
23760         (__vdso_clock_gettime): Likewise.
23761         (__vdso_clock_getres): Likewise.
23762         (__vdso_get_tbfreq): Likewise.
23763         (__vdso_getcpu): Likewise.
23764         (__vdso_time): Likewise.
23765         (__vdso_sigtramp_rt64): Likewise.
23766         (__vdso_signtramp32): Likewise.
23767         (__vdso_sigtramp_rt32): Likewise.
23768         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23769         Likewise.
23770         (__vdso_clock_gettime): Likewise.
23771         (__vdso_clock_getres): Likewise.
23772         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23773         Likewise.
23774         (__vdso_clock_gettime): Likewise.
23775         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23776         Likewise.
23777         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23778         macro.
23779         (INTERNAL_VSYSCALL): Likewise.
23780         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23781         Remove macro.
23782         (INTERNAL_VSYSCALL): Likewise.
23783         (INTERNAL_VSYSCALL_NCS): Likewise.
23784         (INTERNAL_VSYSCALL_CALL): New macro.
23785         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23787         Likewise.
23788         (INTERNAL_VSYSCALL): Likewise.
23789         (INTERNAL_VSYSCALL_NCS): Likewise.
23790         (INTERNAL_VSYSCALL_CALL): New macro.
23791         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23793         (INLINE_VSYSCALL): Remove macro.
23794         (INTERNAL_VSYSCALL): Remove macro.
23795         (INTERNAL_VSYSCALL_NCS): Remove macro.
23796         (INTERNAL_VSYSCALL_CALL): New macro.
23797         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
23798         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
23799         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23800         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
23801         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23803         (INLINE_VSYSCALL): Remove macro.
23804         (INTERNAL_VSYSCALL): Likewise.
23805         (INTERNAL_VSYSCALL_NCS): Likewise.
23806         (INTERNAL_VSYSCALL_CALL): New macro.
23807         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
23808         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
23809         PTR_DEMANGLE on vDSO pointer.
23810         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23811         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
23812         macro.
23813         (INTERNAL_SYSCALL): Likewise.
23814         (INTERNAL_VSYSCALL_NCS): Remove macro.
23815         (INTERNAL_VSYSCALL_CALL): New macro.
23816         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
23817         Remove macro.
23818         (INTERNAL_VSYSCALL): Likewise.
23819         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
23820         sysdep-vdso.h instead of libc-vdso.h.
23821         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
23822         definition.
23823         (INLINE_VSYSCALL): Likewise.
23824         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
23825         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
23826         definition.
23827         (INLINE_VSYSCALL): Likewise.
23828         (INTERNAL_VSYSCALL): Likewise.
23829         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23830         * sysdeps/unix/sysv/linux/timespec_get.c
23831         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23832         (timespec_get): Use ANSI prototype.
23833         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
23834         and definition for Linux.
23836 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23838         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
23839         * include/libc-symbols.h: libmvec_hidden_* macro series added.
23841 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23843         [BZ #2981]
23844         [BZ #18410]
23845         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
23846         for missing DT_PLTRELSZ.
23848 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23850         Remove obsolete aliases that broke 'locale -a'
23851         [BZ #18412]
23852         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
23853         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
23854         breaking some applications that use 'locale -a' output.
23855         Change the encoding of this file from Latin-1 to ASCII to avoid
23856         other potential problems with people grepping this file.
23858 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23860         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
23861         -fasynchronous-unwind-tables.
23862         (CFLAGS-sendto.c): Likewise.
23863         (CFLAGS-sendmsg.c): Likewise.
23864         (CFLAGS-connect.c): Likewise.
23865         (CFLAGS-recvmsg.c): Likewise.
23866         (CFLAGS-recvfrom.c): Likewise.
23867         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
23868         (SOCKETCALL): New macro: non-cancellable socketcall.
23869         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
23870         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
23871         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
23872         * sysdeps/unix/sysv/linux/accept.c: New file.
23873         * sysdeps/unix/sysv/linux/bind.c: Likewise.
23874         * sysdeps/unix/sysv/linux/connect.c: Likewise.
23875         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
23876         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
23877         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
23878         * sysdeps/unix/sysv/linux/listen.c: Likewise.
23879         * sysdeps/unix/sysv/linux/recv.c: Likewise.
23880         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
23881         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
23882         * sysdeps/unix/sysv/linux/send.c: Likewise.
23883         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
23884         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
23885         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
23886         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
23887         * sysdeps/unix/sysv/linux/socket.c: Likewise.
23888         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
23889         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
23890         prototype.
23891         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
23892         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23893         instead of __internal_xxx function.
23894         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
23895         prototype.
23896         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
23897         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23898         instead of __internal_xxx function.
23899         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
23900         prototype.
23901         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
23902         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23903         instead of __internal_xxx function.
23904         * sysdeps/unix/sysv/linux/accept.S: Remove file.
23905         * sysdeps/unix/sysv/linux/bind.S: Likewise.
23906         * sysdeps/unix/sysv/linux/connect.S: Likewise.
23907         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
23908         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
23909         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
23910         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
23911         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
23912         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
23913         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
23914         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
23915         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23916         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
23917         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
23918         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
23919         * sysdeps/unix/sysv/linux/listen.S: Likewise.
23920         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
23921         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
23922         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
23923         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
23924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
23925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
23926         * sysdeps/unix/sysv/linux/recv.S: Likewise.
23927         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
23928         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
23929         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
23930         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23931         * sysdeps/unix/sysv/linux/send.S: Likewise.
23932         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
23933         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
23934         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
23935         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
23936         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
23937         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
23938         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
23939         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
23940         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
23941         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
23942         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
23943         socketcall is implemented in GLIBC.
23945 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23947         * soft-fp/fmadf4.c: Include <libc-internal.h>.
23948         (__fma): Ignore uninitialized warnings around packing.
23949         * soft-fp/fmasf4.c: Include <libc-internal.h>.
23950         (__fmaf): Ignore uninitialized warnings around packing.
23951         * soft-fp/fmatf4.c: Include <libc-internal.h>.
23952         (__fmal): Ignore uninitialized warnings around packing.
23954         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
23955         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23956         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
23957         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23959         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
23960         switch statement into default case.
23961         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
23963         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
23964         a conditional in forcing "inexact".
23965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23966         Likewise.
23968 2015-05-22  Roland McGrath  <roland@hack.frob.com>
23970         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23971         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
23972         for each INTERNAL_SYSCALL use.
23974 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23976         [BZ #438]
23977         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23978         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23979         variable.
23981         [BZ #18444]
23982         * string/basename.c (basename): Rename to __basename and define as
23983         weak alias of __basename.  Use libc_hidden_weak.
23984         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23985         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23986         __basename instead of basename.
23987         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23988         Remove variable.
23989         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23991 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23993         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23994         (_IO_JUMPS_FILE_plus): New.
23995         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23996         _IO_CAST_FIELD_ACCESS.
23997         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23998         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23999         * libio/freopen.c (freopen): Likewise.
24000         * libio/freopen64.c (freopen64): Likewise.
24001         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24002         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24003         * libio/iofwide.c (_IO_fwide): Likewise.
24004         * libio/memstream.c (open_memstream): Likewise.
24005         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24006         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24007         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24009 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24011         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24012         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24013         NADJ.
24014         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24015         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24016         NADJ.
24017         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24018         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24019         NADJ.
24021         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24022         (p == 4) case.
24024         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24025         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24026         Remove variable.
24027         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24028         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24029         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24031 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24033         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24034         Adjust jump table label generation macros.
24036 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24038         * stdio-common/vfprintf.c (vfprintf): Move local variables
24039         args_malloced, specs, specs_malloced, and the code after
24040         do_positional to the printf_positional function.
24041         (printf_positional): New function.
24043 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24045         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24046         function.
24047         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24048         STEP4_TABLE, process_arg): Move macro definitions
24049         out of the vfprintf function.  (Cosmetic change only.)
24051 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24053         * benchtests/Makefile (stdio-common-bench): Define.
24054         (benchset): Add stdio-common-bench.
24055         * sprintf-inputs: New file.
24056         * sprintf-source.c: New file.
24058 2015-05-21  Andreas Schwab  <schwab@suse.de>
24060         [BZ #13028]
24061         [BZ #17053]
24062         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24063         of struct __res_state.
24064         * resolv/res_send.c (__libc_res_nsend): Likewise.
24065         (get_nsaddr): New function.
24066         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24067         statp directly.
24069 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24071         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24072         -D_POSIX_C_SOURCE=199506L.
24074         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24076         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24077         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24078         Do not mention otherwise.
24079         [POSIX] (_XOPEN_VERSION): Do not expect.
24080         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24081         [POSIX] (_POSIX2_C_BIND): Likewise.
24082         [POSIX] (_POSIX2_VERSION): Likewise.
24083         [POSIX] (_XOPEN_XPG2): Likewise.
24084         [POSIX] (_XOPEN_XPG3): Likewise.
24085         [POSIX] (_XOPEN_XPG4): Likewise.
24086         [POSIX] (_XOPEN_UNIX): Likewise.
24087         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24088         [POSIX] (_POSIX_BARRIERS): Likewise.
24089         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24090         [POSIX] (_POSIX_CPUTIME): Likewise.
24091         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24092         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24093         [POSIX] (_POSIX_SHELL): Likewise.
24094         [POSIX] (_POSIX_SPAWN): Likewise.
24095         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24096         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24097         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24098         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24099         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24100         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24101         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24102         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24103         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24104         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24105         [POSIX] (_POSIX2_PBS): Likewise.
24106         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24107         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24108         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24109         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24110         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24111         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24112         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24113         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24114         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24115         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24116         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24117         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24118         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24119         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24120         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24121         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24122         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24123         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24124         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24125         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24126         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24127         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24128         [POSIX] (_SC_2_C_BIND): Likewise.
24129         [POSIX] (_SC_2_C_VERSION): Likewise.
24130         [POSIX] (_SC_2_PBS): Likewise.
24131         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24132         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24133         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24134         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24135         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24136         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24137         [POSIX] (_SC_BARRIERS): Likewise.
24138         [POSIX] (_SC_BASE): Likewise.
24139         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24140         [POSIX] (_SC_DEVICE_IO): Likewise.
24141         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24142         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24143         [POSIX] (_SC_FD_MGMT): Likewise.
24144         [POSIX] (_SC_FIFO): Likewise.
24145         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24146         [POSIX] (_SC_FILE_LOCKING): Likewise.
24147         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24148         [POSIX] (_SC_IOV_MAX): Likewise.
24149         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24150         [POSIX] (_SC_NETWORKING): Likewise.
24151         [POSIX] (_SC_PAGE_SIZE): Likewise.
24152         [POSIX] (_SC_PASS_MAX): Likewise.
24153         [POSIX] (_SC_PIPE): Likewise.
24154         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24155         [POSIX] (_SC_REGEXP): Likewise.
24156         [POSIX] (_SC_SHELL): Likewise.
24157         [POSIX] (_SC_SIGNALS): Likewise.
24158         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24159         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24160         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24161         [POSIX] (_SC_USER_GROUPS): Likewise.
24162         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24163         [POSIX] (_SC_STREAMS): Likewise.
24164         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24165         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24166         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24167         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24168         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24169         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24170         [POSIX] (_PC_FILESIZEBITS): Likewise.
24171         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24172         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24173         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24174         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24175         [POSIX] (uid_t): Likewise.
24176         [POSIX] (gid_t): Likewise.
24177         [POSIX] (off_t): Likewise.
24178         [POSIX] (pid_t): Likewise.
24179         [POSIX] (cuserid): Allow.
24180         (_SC_2_CHAR_TERM): Require constant.
24181         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24182         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24183         variable.
24185 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24187         * sysdeps/nacl/pthread-pids.h: New file.
24188         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24189         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24191         * nptl/pthread-pids.h: New file.
24192         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24193         * nptl/nptl-init.c: Include <pthread-pids.h>.
24194         (__pthread_initialize_minimal_internal):
24195         Call __pthread_initialize_pids instead of set_tid_address syscall.
24197         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24198         * sysdeps/posix/usleep.c: ... here.
24200 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24202         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24203         call_pselect6 object.
24204         [$(subdir) = io]: Remove call_sync_file_range object.
24205         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24206         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24207         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24208         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24210 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24212         * math/s_cproj.c: Add include "math_private.h".
24213         * math/s_cprojf.c: Likewise.
24214         * math/s_cprojl.c: Likewise.
24216 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24218         [BZ #18244]
24219         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24220         high mantissa bit when testing whether P is a NaN.
24221         * math/libm-test.inc (remainder_test_data): Add more tests.
24222         (remquo_test_data): Likewise.
24224         [BZ #18049]
24225         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24226         below -32, return the argument, with underflow if subnormal.
24227         * math/auto-libm-test-in: Add more tests of atanh.
24228         * math/auto-libm-test-out: Regenerated.
24230 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24232         [BZ #18434]
24233         * nptl/tst-sem15.c: New file.
24234         * nptl/Makefile (tests): Add it.
24235         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24236         s/<</>>/ to fix typo in EOVERFLOW check.
24237         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24239 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24241         * manual/strings.texi (envz_remove): Fix typo in safety
24242         annotations.
24244 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24245             Steve Ellcey  <sellcey@imgtec.com>
24247         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24248         in order to avoid strict alias warnings.
24249         (iruserok_af): Ditto for ra.
24251 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24253         [BZ #17581]
24254         * malloc/hooks.c
24255         (magicbyte): Convert to a function and avoid returning 0x01.
24256         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24257         (mem2chunk_check): Fix unsigned comparisons to zero.
24258         Hoist defs of sz and magic.
24260 2015-05-19  Richard Henderson  <rth@redhat.com>
24262         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24264         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24266 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24268         [BZ #16159]
24269         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24270         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24271         (reused_arena): Find a non-corrupt arena.
24272         (heap_trim): Pass arena to unlink.
24273         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24274         malloc_printerr.
24275         (top_check): Likewise.
24276         (free_check): Likewise.
24277         (realloc_check): Likewise.
24278         * malloc/malloc.c (malloc_printerr): Add arena argument.
24279         (unlink): Likewise.
24280         (munmap_chunk): Adjust.
24281         (ARENA_CORRUPTION_BIT): New macro.
24282         (arena_is_corrupt): Likewise.
24283         (set_arena_corrupt): Likewise.
24284         (sysmalloc): Use mmap if there are no usable arenas.
24285         (_int_malloc): Likewise.
24286         (__libc_malloc): Don't fail if arena_get returns NULL.
24287         (_mid_memalign): Likewise.
24288         (__libc_calloc): Likewise.
24289         (__libc_realloc): Adjust for additional argument to
24290         malloc_printerr.
24291         (_int_free): Likewise.
24292         (malloc_consolidate): Likewise.
24293         (_int_realloc): Likewise.
24294         (_int_memalign): Don't touch corrupt arenas.
24295         * malloc/tst-malloc-backtrace.c: New test case.
24297         * Makefile (summarize-tests): Fix return value on success.
24299         * manual/string.texi (Envz Functions): Add envz_remove.
24301 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24303         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24304         (invalid_name): New function, broken out of ...
24305         (__opendirat): ... here.  Call it.
24306         (need_isdir_precheck): New function, broken out of ...
24307         (__opendirat): ... here.  Call it.
24308         Use __fxstatat64, not __xstatat64.
24309         (opendir_oflags): New function, broken out of ...
24310         (__opendirat): ... here.  Call it.
24311         (opendir_tail): New function, broken out of ...
24312         (__opendirat): ... here.  Call it.
24313         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24314         opendir_tail, rather than punting to __opendirat.
24315         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24317 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24319         * .gitignore: Ignore generated *.pyc.
24321 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24323         * include/stdio.h: Define __need_wint_t.
24324         * test-skeleton.c: Avoid `for' loop initial declaration.
24325         * nptl/tst-initializers1.c: Use test-skeleton.c.
24327 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24329         [BZ #18418]
24330         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24332 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24334         [BZ #16352]
24335         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24336         (__ieee754_atanh): Force underflow exception for results with
24337         small absolute value.
24338         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24339         (__ieee754_atanhf): Force underflow exception for results with
24340         small absolute value.
24341         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24342         (__ieee754_atanh): Force underflow exception for results with
24343         small absolute value.
24344         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24345         (__ieee754_atanhf): Force underflow exception for results with
24346         small absolute value.
24347         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24348         (__ieee754_atanhl): Force underflow exception for results with
24349         small absolute value.
24350         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24351         (__ieee754_atanhl): Force underflow exception for results with
24352         small absolute value.
24353         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24354         (__ieee754_atanhl): Force underflow exception for results with
24355         small absolute value.
24356         * math/auto-libm-test-in: Do not allow missing underflow
24357         exceptions from atanh.
24358         * math/auto-libm-test-out: Regenerated.
24360         [BZ #18221]
24361         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24362         2**-28 as threshold for returning x or +/- 1/x.
24363         * math/auto-libm-test-in: Add more tests of tan.
24364         * math/auto-libm-test-out: Regenerated.
24366         [BZ #18220]
24367         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24368         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24369         * math/auto-libm-test-in: Add another test of lgamma.
24370         * math/auto-libm-test-out: Regenerated.
24372 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24374         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24375         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24376         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24377         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24378         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24379         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24380         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24381         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24382         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24383         (log1): Use fabs.  (my_log2): Use fabs.
24384         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24385         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24386         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24387         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24388         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24389         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24390         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24391         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24392         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24393         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24394         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24396 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24398         [BZ #18217]
24399         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24400         as threshold for returning 1 - x.
24401         * math/auto-libm-test-in: Add more tests of erfc.
24402         * math/auto-libm-test-out: Regenerated.
24404 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24406         [BZ #18196]
24407         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24408         threshold for large arguments.
24409         * math/auto-libm-test-in: Add another test of atan.
24410         * math/auto-libm-test-out: Regenerated.
24412         [BZ #16339]
24413         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24414         (__log1p): Force underflow exception for results with small
24415         absolute value.
24416         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24417         (__log1pf): Force underflow exception for results with small
24418         absolute value.
24419         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24420         (__log1p): Force underflow exception for results with small
24421         absolute value.
24422         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24423         (__log1pf): Force underflow exception for results with small
24424         absolute value.
24425         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24426         (__log1pl): Force underflow exception for results with small
24427         absolute value.
24428         * math/auto-libm-test-in: Do not allow missing underflow
24429         exceptions from log1p.
24430         * math/auto-libm-test-out: Regenerated.
24432 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24433             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24435         [BZ #16704]
24436         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24438 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24440         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24441         (libmvec): New variable.
24442         * configure.ac: Added option for mathvec build.
24443         * configure: Regenerated.
24444         * mathvec/Depend: New file.
24445         * mathvec/Makefile: New file.
24446         * shlib-versions: Added libmvec.
24447         * math/Makefile: Added rule for libm.so installation.
24449         * bits/math-vector.h: New file.
24450         * bits/libm-simd-decl-stubs.h: New header.
24451         * math/Makefile (headers): Added new header
24452         libm-simd-decl-stubs.h.
24453         * math/math.h (__MATHCALL_VEC): New macro.
24455         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24456         for conditions in testing functions.
24457         * math/Makefile: Added call of libm-have-vector-test.sh.
24458         * math/libm-test.inc (HAVE_VECTOR): New macros.
24460         * math/libm-test.inc: START refactored.
24461         * math/test-double.c (TEST_MATHVEC): Add define.
24462         * math/test-float.c: Likewise.
24463         * math/test-idouble.c: Likewise.
24464         * math/test-ifloat.c: Likewise.
24465         * math/test-ildoubl.c: Likewise.
24466         * math/test-ldouble.c: Likewise.
24467         * sysdeps/generic/math-tests-arch.h
24468         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24469         architecture check.
24471         * math/test-double.c (FUNC_TEST): New macro.
24472         * math/test-float.c: Likewise.
24473         * math/test-idouble.c: Likewise.
24474         * math/test-ifloat.c: Likewise.
24475         * math/test-ildoubl.c: Likewise.
24476         * math/test-ldouble.c: Likewise.
24477         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24479 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24481         * sysdeps/nacl/fdopendir.c: New file.
24483         * dirent/scandir-tail.c: New file.
24484         * dirent/scandir64-tail.c: New file.
24485         * dirent/Makefile (routines): Add them.
24486         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24487         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24488         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24489         [!SCANDIR] (SCANDIR_TAIL): New macro.
24490         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24491         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24492         (SCANDIRAT): Macro removed.
24493         (SCANDIR_TAIL): New macro.
24494         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24495         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24496         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24497         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24498         (READDIR): Macro removed.
24499         (SCANDIR_TAIL): New macro.
24500         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24501         (SCANDIR_TAIL): New macro.
24503         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24504         * dirent/scandir-cancel.c: ... to this new file.
24505         * dirent/Makefile (routines): Add it.
24506         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24507         * sysdeps/unix/sysv/linux/i386/scandir64.c
24508         (SKIP_SCANDIR_CANCEL): Macro removed.
24509         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24511         * dirent/tst-scandir.c: New file.
24512         * dirent/tst-scandir64.c: New file.
24513         * dirent/Makefile (tests): Add them.
24515 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24517         [BZ #18409]
24518         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24520 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24522         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24523         list.
24525 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24527         * benchtests/bench-strcoll.c: New benchmark.
24528         * benchtests/Makefile: Generate locales and run benchmark.
24529         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24530         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24531         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24532         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24533         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24534         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24535         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24536         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24537         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24538         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24539         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24540         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24541         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24542         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24543         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24544         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24545         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24546         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24547         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24548         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24549         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24550         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24551         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24552         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24554 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24556         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24557         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24559 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24561         * posix/uname-values.h: New file.
24562         * posix/uname.c: Include that instead of <config-name.h>.
24563         * sysdeps/nacl/uname-values.h: New file.
24564         * sysdeps/arm/nacl/uname-values.h: New file.
24566 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24568         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24569         splitting into fields.
24571 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24573         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24574         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24575         * locale/localeinfo.h: Add enum collation_encoding_type.
24576         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24577         * programs/ld-collate.c (collate_output): Add encoding type info.
24578         * string/strcoll_l.c (STRDIFF): New function.
24579         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24580         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24582 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24584         [BZ #18397]
24585         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24586         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24587         <fpu_control.h> instead of <math/fpu_control.c>.
24588         * sysdeps/mips/mips32/fpu/Makefile: New file.
24590 2015-05-11  Andreas Schwab  <schwab@suse.de>
24592         [BZ #18007]
24593         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24594         nss_endgrent.
24595         (_nss_compat_endgrent): Call nss_endgrent.
24596         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24597         nss_endpwent.
24598         (_nss_compat_endpwent): Call nss_endpwent.
24599         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24600         needent, call nss_setspent only if non-zero.
24601         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24602         (internal_endspent): Don't call nss_endspent.
24603         (_nss_compat_endspent): Call nss_endspent.
24604         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24605         Remove.  All uses removed.
24606         (internal_setent): Remove parameter stayopen, add parameter
24607         stream.  Use it instead of global variable.
24608         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24609         (internal_endent, internal_getent): Add parameter stream.  Use it
24610         instead of global variable.
24611         (CONCAT(_nss_files_end,ENTNAME))
24612         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24613         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24614         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24615         uses removed.
24616         (internal_setent, internal_endent): Add parameter stream.  Use it
24617         instead of global variable.
24618         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24619         stream.
24620         (get_next_alias): Add parameter stream.
24621         (_nss_files_getaliasent_r): Pass global stream.
24622         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24623         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24624         (_nss_files_gethostbyname4_r): Pass local stream to
24625         internal_setent, internal_getent and internal_endent.  Remove
24626         locking.
24628 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24630         * tst-strfmon1.c (tests): Update expected currency symbol.
24632 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24634         * sysdeps/nacl/gethostname.c: New file.
24636 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24638         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24639         and sinh.
24640         * math/auto-libm-test-out: Regenerated.
24641         * sysdeps/i386/fpu/libm-test-ulps: Update.
24642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24644 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24646         [BZ #18125]
24647         * stdlib/tst-setcontext3.c: New file.
24648         * stdlib/tst-setcontext3.sh: New file.
24649         * stdlib/Makefile (tests): Add tst-setcontext3.
24650         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24651         to verify test program created output file.
24652         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24653         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24654         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24655         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24657 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24659         [BZ #18383]
24660         * elf/tst-tlsalign.c: New file.
24661         * elf/tst-tlsalign-static.c: New file.
24662         * elf/tst-tlsalign-lib.c: New file.
24663         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24664         (tests-static): Add tst-tlsalign-static.
24665         (modules-names): Add tst-tlsalign-lib.
24666         (test-xfail-tst-tlsalign): New variable.
24667         (test-xfail-tst-tlsalign-static): New variable.
24669         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24670         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24672 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24674         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24675         csqrt, erfc, sin and sincos.
24676         * math/auto-libm-test-out: Regenerated.
24677         * sysdeps/i386/fpu/libm-test-ulps: Update.
24678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24680 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24682         * sysdeps/aarch64/libm-test-ulps: Update.
24684 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24686         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24687         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24688         * math/auto-libm-test-out: Regenerated.
24689         * sysdeps/i386/fpu/libm-test-ulps: Update.
24690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24692 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24694         [BZ #18265]
24695         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24696         (wcsncpy): Likewise.
24698 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24700         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24701         Assume __ASSUME_FALLOCATE is always true.
24702         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24703         (__posix_fallocate64_l64): Likweise.
24704         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24705         (posix_fallocate): Likewise.
24706         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24707         (__posix_fallocate64_l64): Likewise.
24708         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24709         [!__ASSUME_FALLOCATE]: Add comment.
24711 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24713         * sysdeps/unix/sysv/linux/i386/Makefile
24714         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24715         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24716         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24717         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24718         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24719         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24720         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24722 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24724         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24725         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24726         tgamma.
24727         * math/auto-libm-test-out: Regenerated.
24728         * sysdeps/i386/fpu/libm-test-ulps: Update.
24729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24731 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24733         * math/auto-libm-test-in: Add more tests of tgamma.
24734         * math/auto-libm-test-out: Regenerated.
24735         * sysdeps/i386/fpu/libm-test-ulps: Update.
24736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24738         * math/auto-libm-test-in: Add more tests of tanh.
24739         * math/auto-libm-test-out: Regenerated.
24740         * sysdeps/i386/fpu/libm-test-ulps: Update.
24741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743         * math/auto-libm-test-in: Add more tests of tan.
24744         * math/auto-libm-test-out: Regenerated.
24745         * sysdeps/i386/fpu/libm-test-ulps: Update.
24746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24748         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24749         * math/auto-libm-test-out: Regenerated.
24750         * sysdeps/i386/fpu/libm-test-ulps: Update.
24751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24753         * math/auto-libm-test-in: Add another test of pow.
24754         * math/auto-libm-test-out: Regenerated.
24755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24757         * math/auto-libm-test-in: Add more tests of lgamma.
24758         * math/auto-libm-test-out: Regenerated.
24759         * sysdeps/i386/fpu/libm-test-ulps: Update.
24760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24762         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24763         log1p.
24764         * math/auto-libm-test-out: Regenerated.
24765         * sysdeps/i386/fpu/libm-test-ulps: Update.
24766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24768 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24770         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24771         Elf64_Chdr structs and ELFCOMPRESS constants.
24773 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24775         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24776         expm1.
24777         * math/auto-libm-test-out: Regenerated.
24778         * sysdeps/i386/fpu/libm-test-ulps: Update.
24779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24781         * math/auto-libm-test-in: Add more tests of erf and erfc.
24782         * math/auto-libm-test-out: Regenerated.
24783         * sysdeps/i386/fpu/libm-test-ulps: Update.
24784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24786 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24788         * config.h.in (HAVE_AARCH64_BE): Add.
24790 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24792         * math/auto-libm-test-in: Add more tests of csqrt.
24793         * math/auto-libm-test-out: Regenerated.
24794         * sysdeps/i386/fpu/libm-test-ulps: Update.
24795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24797         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24798         * math/auto-libm-test-out: Regenerated.
24799         * sysdeps/i386/fpu/libm-test-ulps: Update.
24800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24802         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
24804 2015-04-29  Roland McGrath  <roland@hack.frob.com>
24806         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
24807         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
24809         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
24810         (euidaccess, eaccess): Define as weak aliases.
24812         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
24813         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
24814         but __suseconds_t is often 'long int' so some sources assume that
24815         type is being used (e.g. they use %ld to print tv_usec).
24817 2015-04-29  Florian Weimer  <fweimer@redhat.com>
24819         [BZ #18007]
24820         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
24821         (CVE-2014-8121)
24822         * nss/tst-nss-getpwent.c: New file.
24823         * nss/Makefile (tests): Add new test.
24825 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
24827         [BZ #18346]
24828         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
24829         exponents less than 48 as cases where high part of mantissa needs
24830         examining to determine whether argument is integral.
24831         * math/libm-test.inc (round_test_data): Add more tests.
24833 2015-04-28  Mark Wielaard  <mjw@redhat.com>
24835         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
24837 2015-04-27  David S. Miller  <davem@davemloft.net>
24839         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
24840         __tls_get_addr.
24841         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24843 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
24845         [BZ#18333]
24846         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
24848 2015-04-27  Florian Weimer  <fweimer@redhat.com>
24850         [BZ#18333]
24851         * time/tzset.c (parse_tzname): Return error on memory allocation
24852         failure.
24853         * test-skeleton.c (struct temp_name_list): Change type of name
24854         member to non-const.
24855         (add_temp_file): Create a copy of the file name.
24856         (delete_temp_files): Deallocate memory.
24857         (create_temp_file): Add comment.
24859 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24861         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
24862         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
24864 2015-04-24  Roland McGrath  <roland@hack.frob.com>
24866         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
24867         * sysdeps/arm/configure: Regenerated.
24869 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24871         [BZ #17715]
24872         * time/tzfile.c (__tzfile_read): Check for large values of
24873         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
24874         * time/tzset.c (__tzstring_len): New function, based on the old
24875         __tzstring function.
24876         (__tzstring): Call __tzstring_len.
24877         (parse_tzname): New helper function extracted from
24878         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
24879         the input string.
24880         (parse_offset): New helper function extracted from
24881         __tzset_parse_tz.  Replace switch with fallthrough with
24882         initialization before sscanf.
24883         (parse_rule): Likewise.
24884         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
24885         new-style function definition.
24886         * timezone/Makefile (tests): Add tst-tzset.
24887         (tst-tzset.out): Dependencies on time zone files.
24888         (tst-tzset-ENV): Set TZDIR.
24889         (testdata/XT%): Copy crafted time zone files.
24890         * timezone/README: Mention crafted time zone files.
24891         * timezone/testdata/XT1, timezone/testdata/XT2,
24892         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
24893         files.
24894         * timezone/tst-tzset.c: New test.
24896 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24898         * Makeconfig (+gccwarn): Remove -Winline.
24900 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24902         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
24904 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24906         * NEWS: Mention sysconf() cache information support for s390.
24907         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
24909 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
24911         * math/k_casinh.c (__kernel_casinh): Use __copysign.
24912         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
24913         (__nearbyint): Likewise.
24914         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
24915         (copysignl): Likewise.
24917 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
24919         [BZ #18287]
24920         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
24921         based on padding.  (CVE-2015-1781)
24923 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24925         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
24926         libc-vdso.h.
24927         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
24928         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
24929         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
24930         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24931         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24932         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
24933         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
24934         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24935         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24936         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
24937         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24938         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24939         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24940         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
24941         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24942         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
24943         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
24944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
24945         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
24946         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
24947         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
24948         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
24949         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
24951 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
24953         * stdlib/setenv.c (__add_to_environ):
24954         Dump core quickly if setenv (..., NULL, ...) is called.
24955         This time, do it the right way, and pacify GCC with a pragma.
24957 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24959         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
24960         IMAP->l_prev cannot be null, and #if out the code for the contrary
24961         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
24962         believe that NS (&_dl_ns[NSID]) could point outside the array.
24964         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
24965         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
24966         before using NSID as an index.
24968 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
24970         [BZ #17825]
24971         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
24972         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
24973         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24975 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24977         Add preliminary port to Google Native Client on ARM.
24978         * abi-tags (.*-.*-nacl.*): New entry.
24979         * sysdeps/arm/nacl: New directory.
24980         * sysdeps/nacl: New directory.
24982 2015-04-16  David S. Miller  <davem@davemloft.net>
24984         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24985         lowlevellock-futex.h
24987 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24989         * sysdeps/tile/configure.ac: New file.
24990         * sysdeps/tile/configure: Regenerated.
24992 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24994         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24995         conditionals for weak_alias and libc_hidden_weak.
24996         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24997         libc_hidden_weak and weak_alias.
24998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24999         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25000         and weak_alias for static one.
25002 2015-04-15  David S. Miller  <davem@davemloft.net>
25004         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25006 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25008         [BZ #18206]
25009         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25010           Use signed comparision instead of substraction to avoid
25011           overflow bug.
25012         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25013           Take the sign of ret.
25014         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25015           Do not expect precise return values. Only the sign matters.
25016         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25017         * wcsmbs/test-wcsncmp.c: New File.
25018         * string/test-strncmp.c: Add wcsncmp support.
25020 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25022         [BZ #6792]
25023         * math/w_log1p.c: New file.
25024         * math/w_log1pf.c: Likewise.
25025         * math/w_log1pl.c: Likewise.
25026         * math/Makefile (libm-calls): Add w_log1p.
25027         * math/s_log1pl.c (log1pl): Remove weak_alias.
25028         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25029         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25030         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25031         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25032         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25033         [NO_LONG_DOUBLE] (log1pl): Likewise.
25034         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25035         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25036         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25037         (log1p): Remove long_double_symbol.
25038         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25039         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25040         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25041         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25042         remove weak_alias for corresponding log1p function.
25043         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25044         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25045         * sysdeps/ia64/fpu/w_log1p.c: New file.
25046         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25047         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25048         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25050 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25052         [BZ #18247]
25053         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25054         decimal exponent by 1.
25055         * stdlib/tst-strtod-round-data: Add more tests.
25056         * stdlib/tst-strtod-round.c (tests): Regenerated.
25058 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25060         * math/auto-libm-test-in: Add more tests of clog and clog10.
25061         * math/auto-libm-test-out: Regenerated.
25062         * sysdeps/i386/fpu/libm-test-ulps: Update.
25063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25065 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25067         * Makeconfig (module-cppflags): Exclude all .v.i files.
25068         (skip-module-cppflags): Variable removed.
25070         * configure.ac (libc_config_ok): Initialize before reading
25071         preconfigure scripts, not after.
25072         * configure: Regenerated.
25074         * test-skeleton.c (TIMEOUT): Move #define to top level.
25075         (main): Grok environment variable TEST_DIRECT.  If set, print
25076         test expectation details into that file and then behave as if
25077         given --direct.
25079 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25081         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25082         warning on 32-bit.
25084 2015-04-08  David S. Miller  <davem@davemloft.net>
25086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25088 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25090         * math/auto-libm-test-in: Add more tests of atanh.
25091         * math/auto-libm-test-out: Regenerated.
25092         * sysdeps/i386/fpu/libm-test-ulps: Update.
25093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25095         * math/auto-libm-test-in: Add more tests of atan.
25096         * math/auto-libm-test-out: Regenerated.
25097         * sysdeps/i386/fpu/libm-test-ulps: Update.
25098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25100 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25102         * elf/pldd.c (main): Rewrite to use struct
25103         scratch_buffer instead of extend_alloca.
25104         * elf/pldd-xx.c (find_maps): Likewise.
25105         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25106         <alloca.h>.
25107         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25108         scratch_buffer instead of extend_alloca.
25109         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25110         grp/compat-initgroups.c.
25111         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25112         Rewrite to use struct scratch_buffer instead of extend_alloca.
25113         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25114         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25116 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25118         * math/auto-libm-test-in: Add more tests of cbrt.
25119         * math/auto-libm-test-out: Regenerated.
25120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25122         * math/auto-libm-test-in: Add more tests of cabs.
25123         * math/auto-libm-test-out: Regenerated.
25124         * sysdeps/i386/fpu/libm-test-ulps: Update.
25125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25127         [BZ #18210]
25128         [BZ #18211]
25129         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25130         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25131         computations.
25132         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25133         clog10.
25134         * math/auto-libm-test-out: Regenerated.
25135         * sysdeps/i386/fpu/libm-test-ulps: Update.
25136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25138         [BZ #18197]
25139         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25140         (atan): Set FE_TONEAREST mode for internal computations.
25141         * math/auto-libm-test-in: Add more tests of atan.
25142         * math/auto-libm-test-out: Regenerated.
25144 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25146         [BZ #17930]
25147         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25149 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25151         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25153 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25155         * include/scratch_buffer.h: New file.
25156         * malloc/scratch_buffer_grow.c: Likewise.
25157         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25158         * malloc/scratch_buffer_set_array_size.c: Likewise.
25159         * malloc/tst-scratch_buffer.c: Likewise.
25160         * malloc/Makefile (routines): Add scratch_buffer_grow.
25161         (tests): Add test case.
25162         * malloc/Versions (GLIBC_PRIVATE): Export
25163         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25164         __libc_scratch_buffer_set_array_size.
25166 2015-04-06  Richard Henderson  <rth@redhat.com>
25168         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25169         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25171         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25172         unsigned int before printing.
25174 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25176         [BZ #17596]
25177         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25178         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25180 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25182         * include/libc-internal.h (libc_max_align_t): Define.
25184 2015-04-02  Andreas Schwab  <schwab@suse.de>
25186         [BZ #16850]
25187         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25189 2015-04-02  Mel Gorman  <mgorman@suse.de>
25191         [BZ #17195]
25192         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25193         as well as the main arena.
25195 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25197         [BZ #18185]
25198         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25199         sharing L2 cache to 2 for Silvermont/Knights Landing.
25201 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25203         [BZ #17711]
25204         * config.make.in (have-protected-data): New.
25205         * configure.ac: Check linker support for protected data symbol.
25206         * configure: Regenerated.
25207         * elf/Makefile (modules-names): Add tst-protected1moda and
25208         tst-protected1modb if $(have-protected-data) is yes.
25209         (tests): Add tst-protected1a and tst-protected1b if
25210         $(have-protected-data) is yes.
25211         ($(objpfx)tst-protected1a): New.
25212         ($(objpfx)tst-protected1b): Likewise.
25213         (tst-protected1modb.so-no-z-defs): Likewise.
25214         * elf/tst-protected1a.c: New file.
25215         * elf/tst-protected1b.c: Likewise.
25216         * elf/tst-protected1mod.h: Likewise.
25217         * elf/tst-protected1moda.c: Likewise.
25218         * elf/tst-protected1modb.c: Likewise.
25220 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25222         [BZ #17711]
25223         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25224         indicates it is called from do_lookup_x on relocation against
25225         protected data, skip the data definion in the executable from
25226         copy reloc.
25227         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25228         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25229         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25230         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25231         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25232         otherwise to 0.
25233         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25234         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25235         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25236         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25237         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25238         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25240 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25242         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25243         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25245 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25247         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25248         THREAD_SETMEM_NC.
25249         * sysdeps/x86_64/nptl/tls.h: Ditto.
25251 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25253         * dlfcn/tststatic.c (main): Converted to ...
25254         (do_test): ... this.
25255         (TEST_FUNCTION): New macro.
25256         Include test-skeleton.c.
25258 2015-03-26  Alan Modra  <amodra@gmail.com>
25260         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25261         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25262         zero for undefined weak.
25263         (elf_machine_plt_conflict): Similarly.
25265 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25267         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25268         atanh.
25269         * math/auto-libm-test-out: Regenerated.
25270         * sysdeps/i386/fpu/libm-test-ulps: Update.
25271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25273         * math/auto-libm-test-in: Add another test of asin.
25274         * math/auto-libm-test-out: Regenerated.
25275         * sysdeps/i386/fpu/libm-test-ulps: Update.
25276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25278         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25279         Remove macro.
25280         (LLL_EBX_REG): Likewise.
25281         (LLL_ENTER_KERNEL): Likewise.
25283         * math/auto-libm-test-in: Add more tests of asin.
25284         * math/auto-libm-test-out: Regenerated.
25285         * sysdeps/i386/fpu/libm-test-ulps: Update.
25286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25288         [BZ #18138]
25289         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25290         libc_do_syscall_args): New structure.
25291         (INTERNAL_SYSCALL_MAIN_0): New macro.
25292         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25293         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25294         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25295         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25296         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25297         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25298         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25299         Replace conditional definitions by conditional definitions of ....
25300         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25301         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25302         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25303         (libpthread-sysdep_routines): Add libc-do-syscall.
25304         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25305         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25306         to __NR_futex not 240.
25308 2015-03-25  Alan Modra  <amodra@gmail.com>
25310         * NEWS: Advertise TLS optimization.
25311         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25312         (DT_PPC_NUM): Increment.
25313         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25314         (CHECK_STATIC_TLS): Use here.
25315         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25316         TLS descriptors.
25317         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25318         * sysdeps/powerpc/dl-tls.c: New file.
25319         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25320         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25321         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25322         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25327 2015-03-25  Alan Modra  <amodra@gmail.com>
25329         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25330         for overlapping .opd entries" to "support...".
25331         * sysdeps/powerpc/powerpc64/configure: Regenerate
25333 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25335         * math/auto-libm-test-in: Add more tests of acos.
25336         * math/auto-libm-test-out: Regenerated.
25337         * sysdeps/i386/fpu/libm-test-ulps: Update.
25338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25340         * math/auto-libm-test-in: Add more tests of expm1.
25341         * math/auto-libm-test-out: Regenerated.
25342         * sysdeps/i386/fpu/libm-test-ulps: Update.
25343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25345 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25347         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25348         * math/auto-libm-test-out: Regenerated.
25349         * sysdeps/i386/fpu/libm-test-ulps: Update.
25350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25352         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25355         * math/auto-libm-test-in: Add more tests of log2.
25356         * math/auto-libm-test-out: Regenerated.
25357         * sysdeps/i386/fpu/libm-test-ulps: Update.
25358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25360 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25362         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25363         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25364         _IO_IS_APPENDING bit in READ_WRITE instead.
25366 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25368         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25369         (__determine_cpumask_size): Replace extend_alloca with a
25370         variable-length array.  Do not treat res == 0 as an error.
25372 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25374         [BZ #18100]
25375         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25376         and integer overflow.
25377         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25378         (main): Add integer overflow tests.
25379         * manual/pattern.texi (Calling Wordexp): Document additional use
25380         for WRDE_SYNTAX.
25382 2015-03-23  Alan Modra  <amodra@gmail.com>
25384         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25385         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25386         and false branch of conditional.
25387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25388         Likewise.
25390 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25392         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25393         libc-modules.h
25394         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25395         unused declaration of _hurd_intr_rpc_msg_in_trap.
25396         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25397         defined instead of whether it is non-zero.
25398         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25399         input constraint instead of both input and output constraint.  Use ecx
25400         clobber instead of %ecx.
25401         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25402         mutex_unlock): Use a statement expression instead of an expression list.
25403         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25404         type to vm_size_t instead of vm_address_t.
25405         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25406         defined instead of whether it is non-zero.
25407         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25408         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25409         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25410         comparisons with mapaddr.
25411         * nscd/nscd-client.h: Include <time.h>.
25412         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25413         9th parameter to __vm_region instead of int.
25414         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25415         * scripts/check-local-headers.sh (exclude): Add device/,
25416         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25417         cthreads.h.
25419 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25421         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25422         to account for alignment padding.
25423         * sysdeps/arm/memmove.S: Likewise.
25425 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25427         * sysdeps/unix/sysv/linux/generic/README: New file.
25429 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25431         [BZ #18138]
25432         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25433         (futex_abstimed_wait)
25434         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25435         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25436         of lll_futex_timed_wait.
25438 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25440         [BZ #17542]
25441         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25443 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25445         [BZ #17090]
25446         [BZ #17620]
25447         [BZ #17621]
25448         [BZ #17628]
25449         * NEWS: Update.
25450         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25451         entries with Static TLS too.  Skip entries past the end of the
25452         allocated DTV, from Alan Modra.
25453         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25454         Static TLS DTV entry set up from...
25455         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25456         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25457         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25458         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25459         for Static TLS.
25460         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25461         that the slot we find is associated with the given map before
25462         using its generation count.
25463         * nptl_db/db_info.c: Include ldsodefs.h.
25464         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25465         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25466         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25467         (link_map::l_tls_offset): New struct field.
25468         (dtv_t::counter): Likewise.
25469         (rtld_global): New struct.
25470         (_rtld_global): New rtld variable.
25471         (dl_tls_dtv_slotinfo_list): New rtld global field.
25472         (dtv_slotinfo_list): New struct.
25473         (dtv_slotinfo): Likewise.
25474         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25475         (td_lookup): Rename to...
25476         (td_mod_lookup): ... this.  Use new mod parameter instead of
25477         LIBPTHREAD_SO.
25478         * nptl_db/td_thr_tlsbase.c: Include link.h.
25479         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25480         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25481         addresses even if the DTV is out of date or missing them.
25482         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25483         index zero-length arrays.
25484         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25485         (td_lookup): Make it a macro implemented in terms of...
25486         (td_mod_lookup): ... this declaration.
25487         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25488         (DB_MAIN_VARIABLE): Likewise.
25490 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25492         [BZ #18134]
25493         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25495 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25497         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25499 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25501         [BZ #18128]
25502         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25503         (atomic_add, atomic_increment_and_test)
25504         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25506 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25508         * stdlib/setenv.c (__add_to_environ):
25509         Dump core quickly if setenv (..., NULL, ...) is called.
25511 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25513         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25514         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25515         all the necessary asm magic in one place.
25516         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25517         using those.
25519 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25521         [BZ #14906]
25522         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25523         traced file mtime. Use consistent log message.
25524         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25525         (register_traced_file): Call install_watches. Always set mtime.
25526         (invalidate_cache): Iterate over all trace files. Call install_watches.
25527         (inotify_check_files): Don't inline. Handle watching parent
25528         directories and configuration file movement in and out.
25529         (handle_inotify_events): New function.
25530         (main_loop_poll): Call handle_inotify_events.
25531         (main_loop_epoll): Likewise.
25532         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25533         (struct traced_file): Use array of inotify fds. Add parent directory,
25534         and basename.
25535         (struct database_dyn): Remove unused file_mtime.
25536         (init_traced_file): New inline function.
25537         (define_traced_file): New macro.
25538         * nss/nss_db/db-init.c: Use define_traced_file.
25539         (_nss_db_init): Use init_traced_file.
25540         * nss/nss_files/files-init.c: Use define_traced_file.
25541         (_nss_files_init): Use init_traced_file.
25543 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25545         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25546         [_LIBC]: Do not include <stdlib.h>.
25547         [!_LIBC] (abort): Remove declaration.
25548         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25549         _FP_STATIC_ASSERT instead of conditionally calling abort.
25550         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25551         (_FP_EXTEND_CNAN): Likewise.
25552         (FP_TRUNC): Likewise.
25553         (__FP_CLZ): Likewise.
25554         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25556 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25558         * manual/string.texi (XPG basename): Fix prototype.
25560 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25562         [BZ #18080]
25563         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25564         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25565         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25566         (__setcontext): Likewise.
25567         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25568         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25569         Call rt_sigprocmask syscall one time to set new signal mask
25570         and retrieve the current signal mask instead of two calls.
25571         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25572         (__swapcontext): Likewise.
25573         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25574         * stdlib/tst-setcontext2.c: New file.
25576 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25578         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25580 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25582         [BZ #18093]
25583         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25584         the wrong size.
25586 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25588         [BZ #18043]
25589         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25591 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25593         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25594         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25595         Remove define.
25596         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25597         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25598         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25599         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25600         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25601         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25602         define.
25603         * nptl_db/td_symbol_list.c (td_lookup): Remove
25604         HAVE_ASM_GLOBAL_DOT_NAME code.
25605         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25606         HAVE_ASM_GLOBAL_DOT_NAME check.
25607         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25608         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25609         (DOT_LABEL): Remove define.
25610         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25611         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25612         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25613         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25614         (__TLS_GET_ADDR): Likewise.
25615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25616         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25618 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25620         [BZ #18111]
25621         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25622         (_FPU_SETCW): Initialize cw from fpsr before storing.
25623         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25624         (fesetexceptflag): Rewrite using fpu_control.h.
25625         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25627 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25629         [BZ #18110]
25630         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25631         asms.
25632         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25634 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25636         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25637         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25638         abort.
25639         (_FP_FMA): Likewise.
25640         (_FP_DIV): Likewise.
25642 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25644         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25645         with 0 in that case.
25646         * Makefile (summarize-tests): New canned sequence, factored out of
25647         commands for targets tests and xtests.  Display summary lines that
25648         don't start with PASS: or XFAIL: rather than ones that do start with
25649         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25650         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25651         do start with ERROR: or FAIL:.
25652         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25653         (except for [$(build-shared) = yes]).
25654         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25655         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25656         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25657         * nptl/Makefile: Revert 2015-03-04 changes.
25658         [$(CXX) empty] (tests-unsupported): New variable.
25659         * debug/Makefile: Likewise.
25661         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25662         gnulib file.  Replace __attribute with __attribute__ throughout.
25664 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25666         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25668 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25670         [BZ #18104]
25671         * math/auto-libm-test-in: Add another test of pow.
25672         * math/auto-libm-test-out: Regenerated.
25674 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25676         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25677         $(config-cflags-nofma).
25679 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25681         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25682         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25683         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25684         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25685         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25686         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25687         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25688         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25689         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25690         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25691         Add comment on closing #endif.
25693 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25695         * posix/wordexp.c (CHAR_IN_SET): New macro.
25696         (parse_param): Use it.
25698 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25700         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25702 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25704         [BZ #18043]
25705         * posix/wordexp.c (parse_param): Fix buffer overflow.
25706         * posix/wordexp-test.c (test_case): Add test case.
25708 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25710         [BZ #18042]
25711         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25712         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25714 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25716         [BZ #18043]
25717         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25718         (do_bz18043): Delete.
25719         (at_page_end): New.
25720         (testit): Refactor to have words at the edge of unreadable page.
25722 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25724         [BZ #16734]
25725         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25726         Cleanup read-only streams as well.
25727         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25729 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25731         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25732         <bits/libc-lockP.h>
25734 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25736         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25737         on [__KERNEL__].
25738         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25739         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25740         * soft-fp/op-common.h (_FP_DECL): Likewise.
25742 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25744         * elf/ifuncdep2.c (global): Replace
25745         __attribute__((visibility("protected"))) with
25746         asm (".protected global").
25747         * elf/ifuncmod1.c (global): Likewise.
25748         * elf/ifuncmod5.c (global): Likewise.
25750 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25752         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25753         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25755 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25757         * manual/install.texi (Configuring and compiling):
25758         Document test-wrapper-env-only.
25759         * INSTALL: Regenerated.
25761 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25763         [BZ #18043]
25764         * posix/wordexp.c (parse_param): Fix buffer overflow.
25765         * posix/wordexp-test.c (do_bz18043): Add test case.
25767 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25769         * time/tst-strptime2.c (do_test): Ensure failing tests are
25770         reported correctly.
25771         * time/tst-strptime3.c (do_test): Likewise.
25773 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25775         Fix aio_error thread-safety.
25776         * sysdeps/pthread/aio_error.c: New file
25777         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25778         synchronization.
25780 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25782         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25783         (group_number, vfprintf): Use it.
25784         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25785         (JUMP, REF): Use it.
25786         (WORK_BUFFER_SIZE): New enum constant.
25787         (process_arg, vfprintf): Use it.
25789 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25791         * manual/errno.texi (Error Messages): Complete example function
25792         by adding missing #define.
25793         (program_invocation_name): Add statement indicating GNU
25794         extension and reference which header file declares the variable.
25795         (program_invocation_short_name): Likewise.
25797 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
25799         * manual/errno.texi (Error Messages): Delete strerror ISO C89
25800         compatibility note.
25802 2015-03-05  Roland McGrath  <roland@hack.frob.com>
25804         * Makeconfig (test-wrapper-env-only): New variable.
25805         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
25806         then use that with $(test-wrapper-env-only) rather than using
25807         $(test-wrapper-env) $(run-program-env) $($*-ENV).
25809 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25811         [BZ #18082]
25812         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
25813         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
25814         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
25815         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
25816         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
25817         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
25818         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
25819         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
25820         Likewise.
25821         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
25822         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
25823         Likewise.
25824         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
25825         Likewise.
25826         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
25827         Likewise.
25828         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
25829         Likewise.
25830         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
25831         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
25832         Likewise.
25833         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
25834         Likewise.
25835         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
25836         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
25838 2015-03-04  Roland McGrath  <roland@hack.frob.com>
25840         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
25841         (ETH_ALEN): New macro.
25842         (struct ether_addr): Use it for length of ether_addr_octet.
25844         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
25845         (setdb): Don't call __nss_configure_lookup for "rpc".
25846         (do_test): Don't call test_rpc.
25847         (output_rpcent, test_rpc): Functions moved ...
25848         * sunrpc/test-rpcent.c: ... to this new file.
25849         * sunrpc/Makefile (tests): Add it.
25851         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
25852         __xpg_sigpause.
25853         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
25854         * nptl/tst-signal6.c: Likewise.
25855         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
25856         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
25858         * configure.ac (libc_cv_cxx_link_ok): New check.
25859         Reset CXX to empty if it fails to link.
25860         * configure: Regenerated.
25861         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
25862         bug-atexit3-lib only if $(CXX) is nonempty.
25863         * nptl/Makefile (tests): Likewise for tst-cancel24.
25864         (tests, tests-static): Likewise for tst-cancel24-static.
25865         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25866         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
25867         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
25868         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
25870 2015-03-04  Andreas Schwab  <schwab@suse.de>
25872         [BZ #17631]
25873         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
25874         for non-GCC compilers.
25875         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25876         Likewise.
25878 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25880         [BZ #17776]
25881         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
25882         integer before bitwise and assembly operations.
25883         (feclearexcept): Likewise.
25884         * math/test-fenvinline.c: New file.
25885         * math/Makefile: Add test-fenvinline test.
25887 2015-03-03  Alan Modra  <amodra@gmail.com>
25889         [BZ #16512]
25890         * scripts/localplt.awk: Strip off symbol version.
25891         * NEWS: Mention bug fix.
25893 2015-03-02  Roland McGrath  <roland@hack.frob.com>
25895         * sysdeps/pthread/timer_routines.c
25896         (timer_free_list, thread_free_list, thread_active_list): Make static.
25898 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
25900         [BZ #17779]
25901         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25902         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25903         Undefine.
25904         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25905         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25906         Likewise.
25907         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25908         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25909         Likewise.
25911 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25913         [BZ #18036]
25914         * posix/fnmatch_loop.c (END): Detect invalid pattern.
25915         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
25917 2015-03-02  Andreas Schwab  <schwab@suse.de>
25919         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
25920         variable name.
25922 2015-03-02  Florian Weimer  <fweimer@redhat.com>
25924         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
25925         Return error status.
25927 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
25929         [BZ #15969]
25930         * locale/findlocale.c (_nl_find_locale): Introduce const
25931         version of loc_name and drop unsafe type casts.
25933 2015-02-27  Roland McGrath  <roland@hack.frob.com>
25935         * dlfcn/tststatic2.c (main): Converted to ...
25936         (do_test): ... this.
25937         (TEST_FUNCTION): New macro.
25938         Include test-skeleton.c.
25940 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
25942         [BZ #17711]
25943         * elf/Makefile (tests): Add vismain only if PIE is enabled.
25944         (tests-pie): Add vismain.
25945         (CFLAGS-vismain.c): New.
25946         * elf/vismain.c: Add comments for PIE requirement.
25948 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25950         [BZ #18046]
25951         [BZ #18047]
25952         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
25953         0x1p-56L as threshold for just returning the argument.
25954         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
25955         0x1p-32L as threshold for just returning the argument.
25956         * math/auto-libm-test-in: Add more tests of atanh.
25957         * math/auto-libm-test-out: Regenerated.
25958         * sysdeps/i386/fpu/libm-test-ulps: Update.
25959         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
25961 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25963         * string/bcopy.c (bcopy): Call memmove for performance.
25965 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25967         * string/bzero.c (__bzero): Call memset for performance.
25969 2015-02-27  John David Anglin  <dave.anglin@bell.net>
25971         [BZ #18068]
25972         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25973         to 00100000.
25975 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25977         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25979 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25981         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25982         (__kernel_standard): Use CSTR macro when setting exc.name.
25983         * sysdeps/ieee754/Makefile [$(subdir) = math]
25984         (CFLAGS-k_standard.c): Remove variable.
25986         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25987         setting p and q from "else if" to "else".
25988         (qzero): Likewise.
25989         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25990         (qone): Likewise.
25991         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25992         (qzerof): Likewise.
25993         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25994         (qonef): Likewise.
25995         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25996         (qzero): Likewise.
25997         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25998         (qone): Likewise.
26000         [BZ #18038]
26001         [BZ #18039]
26002         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26003         return pi/2 for arguments below 0x1p-113L.
26004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26005         return pi/2 for arguments below 0x1p-106L.
26006         * math/auto-libm-test-in: Add more tests of acos.
26007         * math/auto-libm-test-out: Regenerated.
26009         [BZ #16351]
26010         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26011         (MO): New macro.
26012         (__ieee754_asin): Force underflow exception for results with small
26013         absolute value.
26014         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26015         (MO): New macro.
26016         (__ieee754_asinf): Force underflow exception for results with
26017         small absolute value.
26018         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26019         (__ieee754_asin): Force underflow exception for results with small
26020         absolute value.
26021         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26022         (__ieee754_asinf): Force underflow exception for results with
26023         small absolute value.
26024         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26025         (__ieee754_asinl): Force underflow exception for results with
26026         small absolute value.
26027         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26028         (__ieee754_asinl): Force underflow exception for results with
26029         small absolute value.
26030         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26031         (__ieee754_asinl): Force underflow exception for results with
26032         small absolute value.
26033         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26034         Include <math.h>.
26035         * math/auto-libm-test-in: Do not mark underflow exceptions as
26036         possibly missing for bug 16351.
26037         * math/auto-libm-test-out: Regenerated.
26039         [BZ #18030]
26040         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26041         of power of 2 down when low part has opposite sign.
26042         * math/libm-test.inc (logb_test_data): Add more tests.
26044 2015-02-26  Andreas Schwab  <schwab@suse.de>
26046         [BZ #18032]
26047         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26048         over collating symbol inside a bracket expression.  Minor cleanup.
26049         * posix/tst-fnmatch3.c (do_test): Add test case.
26051 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26053         [BZ #18029]
26054         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26055         Adjust exponent of power of 2 down when low part has opposite
26056         sign.
26057         * math/libm-test.inc (ilogb_test_data): Add more tests.
26059 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26061         [BZ #15969]
26062         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26063         the previous change.
26065         [BZ #15969]
26066         * locale/findlocale.c (_nl_find_locale): Retry archive search
26067         after alias expansion.
26069 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26071         * iconv/tst-iconv3.c (main): Converted to ...
26072         (do_test): ... this.
26073         (TEST_FUNCTION): New macro.
26074         Include test-skeleton.c.
26076         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26077         (convert): Make function static.
26078         (test_unalign): Likewise.  Add const to argument pointee types.
26079         (main): Replace with static function do_test.
26080         Print "Succeeded." only if RET is zero.
26081         (TEST_FUNCTION): New macro.
26082         Include test-skeleton.c.
26084         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26085         returns a null pointer.
26087 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26089         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26090         to __memcpy_ppc only for static builds.
26092 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26094         [BZ #18020]
26095         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26096         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26097         * math/auto-libm-test-in: Add more tests of asinh.
26098         * math/auto-libm-test-out: Regenerated.
26099         * sysdeps/i386/fpu/libm-test-ulps: Update.
26100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26102 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26104         [BZ #15850]
26105         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26106         and ip6_mtuinfo definitions here.
26107         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26108         in this define too.  Update comment.
26110 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26112         * elf/sprof.c (load_shobj): Tweak error message to match others.
26114 2015-02-24  Kevin Easton  <kevin@guarana.org>
26116         [BZ #16145] (partial fix)
26117         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26118         to reduce lock contention.
26120 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26122         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26123         (struct timex): Update time comment.
26124         (ADJ_SETOFFSET): Define.
26126 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26128         [BZ #18019]
26129         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26130         2**56 not 2**28 as threshold for log (2x) formula.
26131         * math/auto-libm-test-in: Add more tests of acosh.
26132         * math/auto-libm-test-out: Regenerated.
26133         * sysdeps/i386/fpu/libm-test-ulps: Update.
26134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26136 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26138         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26139         parenthesis around the buf assignment.
26140         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26142 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26144         [BZ #16783]
26145         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26146         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26147         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26148         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26149         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26150         * math/libm-test.inc (scalb_test_data): Add more tests.
26152 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26154         [BZ #17916]
26155         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26156         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26158 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26160         [BZ #17523]
26161         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26162         * io/bits/fcntl2.h (open): Use it.
26163         (openat): Likewise.
26164         * io/open.c (__libc_open): Likewise.
26165         * io/open64.c (__libc_open64): Likewise.
26166         * io/open64_2.c (__open64_2): Likewise.
26167         * io/open_2.c (__open_2): Likewise.
26168         * io/openat.c (__openat): Likewise.
26169         * io/openat64.c (__openat64): Likewise.
26170         * io/openat64_2.c (__openat64_2): Likewise.
26171         * io/openat_2.c (__openat_2): Likewise.
26172         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26173         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26174         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26175         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26176         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26177         (__open_nocancel): Likewise.
26178         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26179         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26180         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26182 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26184         [BZ #14841]
26185         * resolv/gethnamaddr.c (getanswer): Skip logging if
26186         RES_USE_DNSSEC is set.
26187         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26189 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26191         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26193 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26195         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26196         201304L, for Unicode 7.
26198 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26200         [BZ #17836]
26201         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26202         shared library.  Add gmon-start.os otherwise.
26203         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26204         $(objpfx)gmon-start.os if builing shared library.
26205         ($(objpfx)g$(static-start-installed-name)): Likewise.
26207 2015-02-23  Andreas Schwab  <schwab@suse.de>
26209         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26211 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26213         [BZ #17269]
26214         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26215         (enlarge_userbuf): Likewise.
26217 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26219         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26220         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26221         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26222         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26224 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26226         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26227         expression inside statement expression.
26229 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26231         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26232         <sysdeps/nptl/lowlevellock.h> and remove macros and
26233         functions that are now defined there.
26234         (SYS_futex): Remove.
26235         (lll_compare_and_swap): Remove.
26236         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26238 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26240         [BZ #17999]
26241         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26242         instead of scandirat.
26243         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26244         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26245         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26246         __scandirat.
26247         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26248         (__scandirat): Declare.  Use libc_hidden_proto.
26249         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26250         Remove variable.
26251         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26253 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26255         [BZ #15319]
26256         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26257         (MO): New macro.
26258         (__ieee754_atan2): For results with small absolute value, force
26259         underflow exception and remove excess range and precision from
26260         return value.
26261         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26262         (MO): New macro.
26263         (__ieee754_atan2f): For results with small absolute value, force
26264         underflow exception and remove excess range and precision from
26265         return value.
26266         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26267         (MO): New macro.
26268         (__atan): For results with small absolute value, force underflow
26269         exception and remove excess range and precision from return value.
26270         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26271         (MO): New macro.
26272         (__atanf): For results with small absolute value, force underflow
26273         exception and remove excess range and precision from return value.
26274         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26275         <math.h>.
26276         (__ieee754_atan2): Force underflow exception for results with
26277         small absolute value.
26278         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26279         <math_private.h>.
26280         (atan): Force underflow exception for results with small absolute
26281         value.
26282         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26283         (__atanf): Force underflow exception for results with small
26284         absolute value.
26285         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26286         <math.h>.
26287         (__atanl): Force underflow exception for results with small
26288         absolute value.
26289         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26290         (__atanl): Force underflow exception for results with small
26291         absolute value.
26292         * sysdeps/x86/fpu/bits/mathinline.h
26293         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26294         (__ieee754_atan2): Only define inline for long double.
26295         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26296         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26297         * math/auto-libm-test-in: Do not mark underflow exceptions as
26298         possibly missing for bug 15319.  Add more tests of atan2.
26299         * math/auto-libm-test-out: Regenerated.
26300         * math/libm-test.inc (casin_test_data): Do not mark underflow
26301         exceptions as possibly missing for bug 15319.
26302         (casinh_test_data): Likewise.
26303         * sysdeps/i386/fpu/libm-test-ulps: Update.
26305 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26307         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26308         * sysdeps/mips/bits/endian.h: Fix comments.
26310 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26312         [BZ #17996]
26313         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26314         (hdestroy_r): Likewise.
26315         (hsearch_r): Likewise.
26316         (__hcreate_r): Declare and use libc_hidden_proto.
26317         (__hdestroy_r): Likewise.
26318         (__hsearch_r): Likewise.
26319         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26320         (hcreate): Call __hcreate_r instead of hcreate_r.
26321         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26322         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26323         as weak alias of __hcreate_r.
26324         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26325         __hdestroy_r.
26326         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26327         __hsearch_r.
26328         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26329         Remove variable.
26330         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26331         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26332         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26333         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26335 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26337         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26338         arena_lock into a single arena_get.
26340 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26342         * dl-reloc.c: Inlucde libc-internal.h.
26343         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26344         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26345         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26346         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26347         (grow_heap): Likewise.
26348         * malloc/malloc.c: Include libc-internal.h.
26349         (do_check_malloc): Call powerof2.
26350         (sysmalloc): Use pagesize. Call ALIGN_UP.
26351         (systrim): Use pagesize.
26352         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26353         (__libc_valloc): Use pagesize.
26354         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26356 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26358         [BZ #17991]
26359         * include/sys/resource.h (__getrlimit64): Declare.  Use
26360         libc_hidden_proto.
26361         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26362         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26363         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26364         getrlimit64.
26365         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26366         __getrlimit64.
26367         [!getrlimit64] (getrlimit64): Define as weak alias of
26368         __getrlimit64.  Use libc_hidden_weak.
26369         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26370         using __getrlimit64 not __new_getrlimit64.
26371         (__GI_getrlimit64): Likewise.
26372         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26373         Likewise.
26374         (__GI_getrlimit64): Likewise.
26375         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26377         (getrlimit): Add __getrlimit64 alias.
26378         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26379         Likewise.
26380         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26381         Remove variable.
26382         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26383         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26385 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26387         * libio/fileops.c: Add missing sys/mman.h
26388         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26390 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26392         * manual/math.texi (Errors in Math Functions): Clarify goals
26393         regarding inexact and underflow exceptions.
26395 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26397         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26398         * sysdeps/mips/memset.S: Ditto.
26400 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26402         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26404 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26406         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26407         (__v1longjmp): Remove versioned symbol.
26408         (__v1siglongjmp): Remove alias and versioned symbol.
26409         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26410         (__v2siglongjmp): Likewise.
26412 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26414         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26416 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26418         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26420 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26422         [BZ #17987]
26423         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26424         zero result does not depend on the sign resulting from
26425         subtraction.
26426         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26427         Likewise.
26428         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26429         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26430         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26431         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26432         * math/libm-test.inc (remquo_test_data): Add more tests.
26434 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26436         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26437         Problem reported by J William Piggott.
26439 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26441         [BZ #17978]
26442         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26443         products 4 * y and 2 * y where those would overflow.
26444         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26445         Likewise.
26446         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26447         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26448         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26449         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26450         * math/libm-test.inc (remquo_test_data): Add more tests.
26452         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26454         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26455         [defined _COMPILING_NEWLIB].
26456         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26457         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26459         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26460         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26462 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26464         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26465         acquired.
26467 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26469         [BZ #17792]
26470         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26471         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26472         HOST_STACK_END_ADDR): Likewise.
26474 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26476         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26477         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26478         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26480 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26482         * sysdeps/generic/c++-types.data: New file.
26483         * sysdeps/generic/ld.abilist: New file.
26484         * sysdeps/generic/libBrokenLocale.abilist: New file.
26485         * sysdeps/generic/libanl.abilist: New file.
26486         * sysdeps/generic/libc.abilist: New file.
26487         * sysdeps/generic/libcrypt.abilist: New file.
26488         * sysdeps/generic/libdl.abilist: New file.
26489         * sysdeps/generic/libm.abilist: New file.
26490         * sysdeps/generic/libpthread.abilist: New file.
26491         * sysdeps/generic/libresolv.abilist: New file.
26492         * sysdeps/generic/librt.abilist: New file.
26494 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26496         [BZ #17569]
26497         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26498         Compute absolute value of x as modified by fmod, not original
26499         value of x.
26500         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26501         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26502         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26503         RUN_TEST_ffI_f1_mod8.
26504         (remquo_test_data): Add more tests.
26506 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26508         * sysdeps/init_array/pt-crti.S: New file.
26510 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26512         [BZ #17967]
26513         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26514         __builtin_fmaf instead of relying on contraction of a * b + c.
26516 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26518         [BZ #17969]
26519         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26520         node.
26522 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26524         [BZ #17964]
26525         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26526         __builtin_fma instead of relying on contraction of a * b + c.
26528 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26530         * Makeconfig (ASFLAGS): Add -Werror=undef.
26531         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26532         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26533         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26535         * Makeconfig (after-link): New variable.
26536         (+link-pie, +link-pie-tests): Use it.
26537         (+link-static, +link-static-tests): Likewise.
26538         (+link, +link-tests): Likewise.
26539         * Makerules (build-module, build-module-asneeded): Likewise.
26540         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26541         Likewise.
26542         * elf/Makefile ($(objpfx)ld.so): Likewise.
26544 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26546         [BZ #17965]
26547         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26548         both struct timeval and struct timespec.
26550 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26552         [BZ #16560]
26553         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26554         and redefine.
26555         (__ieee754_exp2l): Do not multiply small fractional parts by
26556         M_LN2l.
26557         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26558         small argument.
26559         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26560         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26561         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26562         * math/auto-libm-test-in: Add more tests of exp2.
26563         * math/auto-libm-test-out: Regenerated.
26565 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26567         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26568         unaligned path.
26570 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26572         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26573         little endian.
26575 2015-02-12  Andreas Schwab  <schwab@suse.de>
26577         [BZ #15790]
26578         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26579         Filter out elision flags from value returned in kind.
26580         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26581         * nptl/tst-pthread-mutexattr.c: New file.
26583 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26585         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26586         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26587         into gnu-gnu, and update comment to refer to abi-tags.
26589 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26591         [BZ #15467]
26592         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26593         (__sincos): Set errno to EDOM for infinite argument.
26594         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26595         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26596         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26597         (__sincosl): Set errno to EDOM for infinite argument.
26598         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26599         (__sincosl): Set errno to EDOM for infinite argument.
26600         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26601         (__sincosl): Set errno to EDOM for infinite argument.
26602         * math/libm-test.inc (sincos_test_data): Test errno setting.
26604 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26606         * string/strxfrm_l.c: Remove #define STRCMP.
26607         * string/strcoll_l.c: Remove #define STRLEN.
26608         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26609         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26611 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26613         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26614         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26615         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26616         * sysdeps/mips/mips64/Makefile: ... here.
26617         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26618         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26619         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26620         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26621         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26622         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26623         * sysdeps/mips/mips64/n64/Implies: Likewise.
26625 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26627         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26628         <sys/time.h>, <string.h>, and <errno.h>.
26629         (dest_offset, dest_address, value, zero): Remove unused variables.
26630         (ldouble): Remove typedef.
26631         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26632         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26633         1).  Fix code style.
26634         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26635         (check): Function removed.
26636         (CHECK): New macro.
26637         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26638         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26639         Don't call set_sigaction_FP and remove_sigaction_FP here.
26640         (ldouble_test): Just use 'long double' as macro argument, no need for
26641         the 'ldouble' typedef.
26642         (do_test): Set up SIGFPE handler at start, using plain signal rather
26643         than sigaction.  Fix code style.
26645 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26647         [BZ #17949]
26648         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26649         jump label.
26651 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26653         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26654         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26656         * sysdeps/powerpc/configure.ac: Remove file.
26657         * sysdeps/powerpc/configure: Likewise.
26659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26660         [sysdep_routines]: Remove wordcopy-power6 object.
26661         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26662         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26663         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26664         (__memmove_ppc32): Likewise.
26665         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26666         file.
26667         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26668         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26669         Remove preprocessor.
26671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26672         [sysdep_routines]: Remove wide chars objects.
26673         [wcsmbs]: New rule for wide char objects.
26675         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26676         Remove wordcopy-power6 obejct.
26677         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26678         Use local call for wordcopy and memcpy symbols.
26679         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26680         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26681         implementation for loader.
26682         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26684         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26685         Remove wordcopy-power7 object.
26686         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26687         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26688         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26689         (_wordcopy_fwd_dest_aligned): Likewise.
26690         (_wordcopy_bwd_aligned): Likewise.
26691         (_wordcopy_bwd_dest_aligned): Likewise.
26693         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26694         Rewrite to call __memmove_ppc instead of include default
26695         implementation.
26697         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26698         Remove wide chars objects.
26699         [wcsmbs]: New rule for wide char objects.
26701 2015-02-09  Andreas Schwab  <schwab@suse.de>
26703         [BZ #17912]
26704         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26705         in terms of __O_DIRECTORY.
26707 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26709         * time/getdate.c: Include <stdbool.h>.
26710         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26711         call PTR_MANGLE.
26712         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26713         PTR_DEMANGLE.
26715 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26717         Add ersatz _Static_assert on older C hosts
26718         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26719         pre-C11 C platform that is not known to support _Static_assert.
26721 2015-02-07  Richard Braun  <rbraun@sceen.net>
26723         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26724         sigstate.
26725         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26727 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26729         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26730         priority against unexistent AIO_PRIO_DELTA_MAX.
26731         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26732         instead of int.
26733         * misc/fchflags.c (fchflags): Likewise.
26734         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26735         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26736         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26737         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26738         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26739         Declare macros.
26740         [__USE_MISC] (chflags, fchflags): Declare functions.
26741         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26742         EINVAL when nfds is greater than FD_SETSIZE.
26743         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26744         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26745         45.
26746         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26747         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26748         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26749         MACH_RCV_TIMED_OUT.
26750         * hurd/hurd/signal.h (_hurd_self_sigstate,
26751         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26752         Explicit casts from void *.
26753         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26754         * abi-tags: Rename gnu-gnu os into gnu.
26756         [BZ #4719]
26757         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26758         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26759         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26760         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26761         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26762         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26764         [BZ #17944]
26765         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26766         duplicates ADDR->sun_path with sockaddr LEN limitation.
26767         * sysdeps/mach/hurd/connect.c: Include <string.h>
26768         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26769         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26770         * sysdeps/mach/hurd/sendto.c: Likewise.
26771         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26772         implementing it by hand.
26774 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26776         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26777         Use sfi_breg on ldr.
26778         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26779         Likewise.
26781         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26782         it's defined.
26783         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26784         Test SIGSETXID only if it's defined.
26786         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26788         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26789         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26791         * nptl/tst-align2.c: Moved ...
26792         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26793         * nptl/Makefile (tests): Remove tst-align2.
26794         * sysdeps/unix/sysv/linux/Makefile
26795         [$(subdir) = nptl] (tests): Add tst-align-clone.
26796         * nptl/tst-getpid1.c: Moved ...
26797         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
26798         * nptl/tst-getpid2.c: Moved ...
26799         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
26800         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
26801         * sysdeps/unix/sysv/linux/Makefile
26802         [$(subdir) = nptl] (tests): ... here.
26803         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
26804         * sysdeps/unix/sysv/linux/Makefile
26805         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
26807         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
26808         Drop trailing \n from perror argument.  Use return rather than exit.
26810         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
26811         on [SA_SIGINFO].
26812         * nptl/tst-cancel21.c (do_test): Likewise.
26813         * debug/tst-backtrace6.c: Include <signal.h> first thing.
26814         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
26815         [!SA_SIGINFO]: Make it a stub test.
26817         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
26818         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
26820         * posix/tst-getlogin.c: Move to ...
26821         * login/tst-getlogin.c: ... here.
26822         * posix/Makefile (tests): Move tst-getlogin to ...
26823         * login/Makefile (tests): ... here.
26825         * libio/tst-atime.c (do_test): Move local variables SV and E
26826         inside [ST_NOATIME] conditional.
26828         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
26830         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
26832         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
26833         (wait_code): New function replaces macro.
26834         Call nanosleep rather than syscall.
26836         * nptl/pt-system.c: Rewritten.  Put everything under
26837         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26838         Use IFUNC to redirect when possible.
26840         * nptl/pt-longjmp.c: Rewritten.  Put everything under
26841         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26842         Use IFUNC to redirect when possible.
26844         * nptl/pt-fork.c: Rewritten.  Put everything under
26845         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26846         Use IFUNC to redirect when possible.
26847         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
26849         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
26850         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
26851         unconditionally nowadays.  This included the only reference to
26852         __vdso_clock_gettime that appears outside libc proper.
26853         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
26854         Remove version set (containing only __vdso_clock_gettime).
26855         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26856         Add attribute_hidden.
26857         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26858         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
26859         libc_hidden_data_def.
26860         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26861         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26863         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
26864         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
26865         setrpcent, and getrpcport to ...
26866         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
26867         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
26868         getrpcbynumber_r, and getrpcent_r to ...
26869         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
26870         * inet/getrpcbyname.c: Moved ...
26871         * sunrpc/getrpcbyname.c: ... here.
26872         * inet/getrpcbyname_r.c: Moved ...
26873         * sunrpc/getrpcbyname_r.c: ... here.
26874         * inet/getrpcbynumber.c: Moved ...
26875         * sunrpc/getrpcbynumber.c: ... here.
26876         * inet/getrpcbynumber_r.c: Moved ...
26877         * sunrpc/getrpcbynumber_r.c: ... here.
26878         * inet/getrpcent.c: Moved ...
26879         * sunrpc/getrpcent.c: ... here.
26880         * inet/getrpcent_r.c: Moved ...
26881         * sunrpc/getrpcent_r.c: ... here.
26882         * inet/Makefile (routines): Move those to ...
26883         * sunrpc/Makefile (routines): ... here.
26884         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
26885         the $(subdirs) list.
26886         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
26887         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
26888         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
26889         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
26891         * elf/Makefile (routines): Include $(all-dl-routines), not just
26892         $(dl-routines).
26893         (rtld-routines): Likewise.  Use = rather than :=.
26894         * sysdeps/aarch64/Makefile [$(subdir) = elf]
26895         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
26896         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
26897         * sysdeps/arm/Makefile: Likewise.
26898         * sysdeps/i386/Makefile: Likewise.
26899         * sysdeps/x86_64/Makefile: Likewise.
26900         * sysdeps/hppa/Makefile [$(subdir) = elf]
26901         (sysdep_routines, sysdep-rtld-routines): Don't add
26902         $(sysdep-dl-routines) to these.
26903         * sysdeps/ia64/Makefile: Likewise.
26904         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
26905         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
26906         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
26907         Don't add dl-static to these; sysdep-dl-routines alone is enough.
26908         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
26909         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
26910         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
26911         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
26912         * sysdeps/powerpc/Makefile [$(subdir) = elf]
26913         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
26914         these; sysdep-dl-routines alone is enough.
26916 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
26918         [BZ #17932]
26919         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
26920         where multiplication results in zero and third argument is finite
26921         and nonzero.
26922         * math/auto-libm-test-in: Add more tests of fma.
26923         * math/auto-libm-test-out: Regenerated.
26925         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
26926         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
26927         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
26928         (_FP_CMP_EQ): Likewise.
26929         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
26931         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
26932         extra argument CHECK_NAN.  Redefine as wrapper around
26933         _FP_EXTEND_CNAN.
26935 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
26937         * version.h (RELEASE): Set to "stable".
26938         (VERSION): Set to "2.21"
26939         * include/features.h (__GLIBC_MINOR__): Set to 21.
26941         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
26943 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26944             Paul Eggert  <eggert@cs.ucla.edu>
26946         [BZ #16618]
26947         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
26948         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
26949         size in bytes. Store needed elements in wpmax. Use needed size
26950         in bytes for extend_alloca.
26952 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
26954         * manual/install.texi: Latest tested versions are GCC 4.9.2,
26955         binutls 2.25, and texinfo 5.2.
26956         * INSTALL: Regenerate.
26957         * sysdeps/nios2/configure: Regenerate.
26958         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
26959         * manual/contrib.texi: Update.
26960         * po/be.po: Update.
26961         * po/bg.po: Update.
26962         * po/ca.po: Update.
26963         * po/cs.po: Update.
26964         * po/da.po: Update.
26965         * po/de.po: Update.
26966         * po/el.po: Update.
26967         * po/eo.po: Update.
26968         * po/es.po: Update.
26969         * po/fi.po: Update.
26970         * po/fr.po: Update.
26971         * po/gl.po: Update.
26972         * po/hr.po: Update.
26973         * po/hu.po: Update.
26974         * po/ia.po: Update.
26975         * po/id.po: Update.
26976         * po/it.po: Update.
26977         * po/ja.po: Update.
26978         * po/ko.po: Update.
26979         * po/lt.po: Update.
26980         * po/nb.po: Update.
26981         * po/nl.po: Update.
26982         * po/pl.po: Update.
26983         * po/pt_BR.po: Update.
26984         * po/ru.po: Update.
26985         * po/rw.po: Update.
26986         * po/sk.po: Update.
26987         * po/sl.po: Update.
26988         * po/sv.po: Update.
26989         * po/tr.po: Update.
26990         * po/uk.po: Update.
26991         * po/vi.po: Update.
26992         * po/zh_CN.po: Update.
26993         * po/zh_TW.po: Update.
26995         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26996         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26997         * sysdeps/hppa/dl-irel.h: Remove #warning.
26998         * sysdeps/hppa/entry.h: Provide prototype for
26999         __canonicalize_funcptr_for_compare and cast argument.
27000         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27001         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27002         * sysdeps/hppa/sotruss-lib.c: New file.
27003         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27004         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27005         (atomic_compare_and_exchange_bool_acq): Likewise.
27006         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27007         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27009         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27010         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27011         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27013 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27015         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27016         called function in non-PIC case.
27018 2015-01-31  David S. Miller  <davem@davemloft.net>
27020         * sysdeps/sparc/sparc32/bits/atomic.h
27021         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27022         unlock not after it.
27023         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27024         volatile register usage warnings from the compiler.
27026         * sysdeps/sparc/nptl/sem_init.c: Delete.
27027         * sysdeps/sparc/nptl/sem_post.c: Delete.
27028         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27029         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27030         * sysdeps/sparc/sparc32/sem_init.c: New file.
27031         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27032         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27033         padding explicitly initialized.
27034         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27035         padding for in-semaphore spinlock.
27036         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27037         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27038         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27039         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27040         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27041         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27042         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27043         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27044         version.
27045         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27046         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27048 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27050         [BZ #17801]
27051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27052         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27053         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27054         New.
27055         (index_AVX_Fast_Unaligned_Load): Likewise.
27056         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27057         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27058         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27059         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27060         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27061         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27062         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27063         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27064         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27066 2015-01-29  Andreas Schwab  <schwab@suse.de>
27068         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27070 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27072         [BZ #17892]
27073         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27075 2015-01-28  Martin Sebor  <msebor@redhat.com>
27077         * math/README.libm-test: Clarify. Add "How to read the test output."
27079 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27081         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27082         Define to 0.
27084 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27086         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27087         (__HAVE_64B_ATOMICS): Define to 0.
27089 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27091         [BZ #17885]
27092         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27093         value to set as new flag.
27095         [BZ #16576]
27096         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27097         and use _ARCH_PPCSQ instead.
27098         (__ieee754_sqrt): Likewise.
27099         (__ieee754_sqrtf): Likewise.
27100         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27101         _ARCH_PPCSQ is defined.
27102         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27103         fsqrt instruction.
27104         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27105         _ARCH_PPCSQ is defined.
27106         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27107         fsqrts instruction.
27108         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27110 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27112         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27113         bug (GCC BZ #64739).
27115 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27117         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27118         Mark _retval as used.
27119         (lll_futex_wake_unlock): Likewise.
27120         (lll_futex_timed_wait_requeue_pi): Likewise.
27122         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27123         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27124         register variables.
27126         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27127         libm_hidden_def.
27129         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27130         (__bswap_64): Mark as __always_inline.
27132 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27134         [BZ #15378]
27135         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27136         when none of the search directories exist.
27138 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27140         [BZ #17869]
27141         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27142         power8 in .machine directive.
27144         [BZ #17868]
27145         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27146         set dependency from opd value.
27148 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27151         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27152         architecture.
27154 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27156         [BZ #17870]
27157         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27158         with uint64_t.
27159         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27160         (uint64_t) 1.
27161         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27162         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27163         Replace 1UL with (uint64_t) 1.
27164         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27165         int with uint64_t.
27167 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27169         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27170         (if_freenameindex): Likewise.
27172         * resource/getrlimit64.c: Add missing libc_hidden_def.
27174 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27176         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27177         __label__.
27178         (_FP_FMA): Likewise.
27179         (_FP_TO_INT_ROUND): Likewise.
27180         (_FP_FROM_INT): Likewise.
27182 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27184         [BZ #16418]
27185         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27186         Make code racy and cancel safe.
27188 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27190         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27191         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27192         attribution.
27194         * pwd/tst-getpw.c: Rewrite.
27196         [BZ #17702]
27197         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27198         (modules-names): Add moddummy1 and moddummy2.
27199         ($(objpfx)tst-rec-dlopen): Define.
27200         * dlfcn/moddummy1.c: New file.
27201         * dlfcn/moddummy2.c: New file.
27202         * dlfcn/tst-rec-dlopen.c: New file.
27203         * elf/dl-cache.c (_dl_load_cache_lookup):
27204         Return char*. Copy result with alloca/strcpy/strdup.
27205         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27206         returns char*. Free cached. If not saving realname
27207         free cached.
27208         * elf/dl-open.c (dl_open_worker): Do not assert that
27209         _r_debug->r_state is RT_CONSISTENT.
27210         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27211         returns char*.
27213 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27214             Carlos O'Donell  <carlos@redhat.com>
27216         [BZ #12674]
27217         * nptl/sem_waitcommon.c: New file.
27218         * nptl/sem_wait.c: Include sem_waitcommon.c.
27219         (__sem_wait_cleanup, do_futex_wait): Remove.
27220         (__new_sem_wait): Adapt.
27221         (__new_sem_trywait): New function.
27222         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27223         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27224         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27225         (sem_timedwait): Adapt.
27226         * nptl/sem_post.c (__new_sem_post): Adapt.
27227         (futex_wake): New function.
27228         (__old_sem_post): Add release MO fence.
27229         * nptl/sem_open.c (sem_open): Adapt.
27230         * nptl/sem_init.c (__new_sem_init): Adapt.
27231         (futex_private_if_supported): New function.
27232         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27233         (__old_sem_getvalue): Add using previous code.
27234         * sysdeps/nptl/internaltypes.h: Adapt.
27235         * nptl/tst-sem13.c (do_test): Adapt.
27236         * nptl/tst-sem11.c (main): Adapt.
27237         * nptl/sem_trywait.c: Remove.
27238         * nptl/DESIGN-sem.txt: Remove.
27239         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27240         (gen-as-const-headers): Remove structsem.sym.
27241         * nptl/structsem.sym: Remove.
27242         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27243         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27244         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27245         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27246         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27247         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27248         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27249         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27250         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27251         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27252         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27253         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27254         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27255         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27256         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27257         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27258         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27259         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27260         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27261         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27262         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27263         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27265 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27267         * INSTALL: Regenerated.
27269         * po/libc.pot: Regenerated.
27271 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27272             Sandra Loosemore  <sandra@codesourcery.com>
27273             Andrew Jenner  <andrew@codesourcery.com>
27274             Joseph Myers  <joseph@codesourcery.com>
27275             Nathan Sidwell  <nathan@codesourcery.com>
27277         * NEWS: Mention new Nios II port.
27278         * sysdeps/nios2/Implies: New file.
27279         * sysdeps/nios2/Makefile: New file.
27280         * sysdeps/nios2/Subdirs: New file.
27281         * sysdeps/nios2/Versions: New file.
27282         * sysdeps/nios2/__longjmp.S: New file.
27283         * sysdeps/nios2/abort-instr.h: New file.
27284         * sysdeps/nios2/backtrace.c: New file.
27285         * sysdeps/nios2/bits/endian.h: New file.
27286         * sysdeps/nios2/bits/fenv.h: New file.
27287         * sysdeps/nios2/bits/link.h: New file.
27288         * sysdeps/nios2/bits/setjmp.h: New file.
27289         * sysdeps/nios2/bsd-_setjmp.S: New file.
27290         * sysdeps/nios2/bsd-setjmp.S: New file.
27291         * sysdeps/nios2/configure: New generated file.
27292         * sysdeps/nios2/configure.ac: New file.
27293         * sysdeps/nios2/crti.S: New file.
27294         * sysdeps/nios2/crtn.S: New file.
27295         * sysdeps/nios2/dl-init.c: New file.
27296         * sysdeps/nios2/dl-machine.h: New file.
27297         * sysdeps/nios2/dl-sysdep.h: New file.
27298         * sysdeps/nios2/dl-tls.h: New file.
27299         * sysdeps/nios2/dl-trampoline.S: New file.
27300         * sysdeps/nios2/gccframe.h: New file.
27301         * sysdeps/nios2/gmp-mparam.h: New file.
27302         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27303         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27304         * sysdeps/nios2/ldsodefs.h: New file.
27305         * sysdeps/nios2/libc-tls.c: New file.
27306         * sysdeps/nios2/libm-test-ulps: New file.
27307         * sysdeps/nios2/machine-gmon.h: New file.
27308         * sysdeps/nios2/math-tests.h: New file.
27309         * sysdeps/nios2/math_private.h: New file.
27310         * sysdeps/nios2/memusage.h: New file.
27311         * sysdeps/nios2/nptl/Makefile: New file.
27312         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27313         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27314         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27315         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27316         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27317         * sysdeps/nios2/nptl/tls.h: New file.
27318         * sysdeps/nios2/preconfigure: New file.
27319         * sysdeps/nios2/s_fma.c: New file.
27320         * sysdeps/nios2/s_fmaf.c: New file.
27321         * sysdeps/nios2/setjmp.S: New file.
27322         * sysdeps/nios2/sfp-machine.h: New file.
27323         * sysdeps/nios2/sotruss-lib.c: New file.
27324         * sysdeps/nios2/stackguard-macros.h: New file.
27325         * sysdeps/nios2/stackinfo.h: New file.
27326         * sysdeps/nios2/start.S: New file.
27327         * sysdeps/nios2/sysdep.h: New file.
27328         * sysdeps/nios2/tls-macros.h: New file.
27329         * sysdeps/nios2/tst-audit.h: New file.
27330         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27331         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27332         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27333         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27334         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27335         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27336         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27337         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27338         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27339         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27340         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27341         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27342         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27343         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27344         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27345         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27346         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27347         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27348         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27349         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27350         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27351         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27352         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27353         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27354         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27355         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27356         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27357         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27358         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27359         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27360         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27361         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27362         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27363         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27364         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27365         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27366         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27367         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27368         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27369         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27370         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27371         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27372         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27373         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27375 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27377         [BZ #17844]
27378         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27379         (getutent): Use weak_alias in non SHARED case
27380         and default_symbol_version in SHARED case.
27381         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27382         (getutent_r, pututline): Likewise.
27383         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27384         (getutid): Likewise.
27385         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27386         (getutid_r): Likewise.
27387         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27388         (getutline): Likewise.
27389         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27390         (getutline_r): Likewise.
27391         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27392         (updwtmp): Likewise.
27394 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27396         [BZ #17848]
27397         * sysdeps/s390/s390-32/memcmp.S
27398         (memcmp_g5): Rename to __memcmp_g5.
27399         * sysdeps/s390/s390-32/memcpy.S
27400         (memcpy_g5): Rename to __memcpy_g5.
27401         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27402         (memcpy_mvcle) Rename to __memcpy_mvcle.
27403         * sysdeps/s390/s390-32/memset.S
27404         (memset_g5): Rename to __memset_g5.
27405         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27406         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27407         and use prefixed functions.
27408         * sysdeps/s390/s390-32/multiarch/memcmp.S
27409         (memcmp_z196): Rename to __memcmp_z196.
27410         (memcmp_z10): Rename to __memcmp_z10.
27411         (memcmp): Set alias to __memcmp_g5.
27412         (bcmp): Set alias to __memcmp_g5.
27413         * sysdeps/s390/s390-32/multiarch/memcpy.S
27414         (memcpy_z196): Rename to __memcpy_z196.
27415         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27416         (memcpy_z10): Rename to __memcpy_z10.
27417         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27418         (memcpy): Set alias to __memcpy_g5.
27419         * sysdeps/s390/s390-32/multiarch/memset.S
27420         (memset_z196): Rename to __memset_z196.
27421         Jump to __memset_mvcle instead of memset_mvcle.
27422         (memset_z10): Rename to __memset_z10.
27423         Jump to __memset_mvcle instead of memset_mvcle.
27424         (memset_mvcle) Rename to __memset_mvcle.
27425         (memset): Set alias to __memset_g5.
27426         * sysdeps/s390/s390-64/memcmp.S
27427         (memcmp_z900): Rename to __memcmp_z900.
27428         * sysdeps/s390/s390-64/memcpy.S
27429         (memcpy_z900): Rename to __memcpy_z900.
27430         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27431         (memcpy_mvcle) Rename to __memcpy_mvcle.
27432         * sysdeps/s390/s390-64/memset.S
27433         (memset_z900): Rename to __memset_z900.
27434         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27435         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27436         and use prefixed functions.
27437         * sysdeps/s390/s390-64/multiarch/memcmp.S
27438         (memcmp_z196): Rename to __memcmp_z196.
27439         (memcmp_z10): Rename to __memcmp_z10.
27440         (memcmp): Set alias to __memcmp_z900.
27441         (bcmp): Set alias to __memcmp_z900.
27442         * sysdeps/s390/s390-64/multiarch/memcpy.S
27443         (memcpy_z196): Rename to __memcpy_z196.
27444         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27445         (memcpy_z10): Rename to __memcpy_z10.
27446         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27447         (memcpy): Set alias to __memcpy_z900.
27448         * sysdeps/s390/s390-64/multiarch/memset.S
27449         (memset_z196): Rename to __memset_z196.
27450         Jump to __memset_mvcle instead of memset_mvcle.
27451         (memset_z10): Rename to __memset_z10.
27452         Jump to __memset_mvcle instead of memset_mvcle.
27453         (memset_mvcle) Rename to __memset_mvcle.
27454         (memset): Set alias to __memset_z900.
27456 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27458         [BZ #17748]
27459         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27460         __fesetenv instead of fesetenv.
27462 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27464         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27465         macro.
27467 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27469         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27470         regression on LE.
27472         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27473         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27474         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27475         strncmp-power8 object.
27476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27477         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27478         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27479         * NEWS: Update.
27481 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27482             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27484         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27485         trailing byte check.
27487 2015-01-13  David S. Miller  <davem@davemloft.net>
27489         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27491 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27493         * login/logout.c (logout): Use memset rather than bzero.
27494         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27495         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27496         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27497         (_gethtbyaddr): Likewise.
27498         * locale/programs/simple-hash.c (bcopy): Macro removed.
27500 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27502         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27503         Add strcmp-power8 object.
27504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27505         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27506         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27507         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27508         __strcmp_power8 implementation.
27509         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27510         * NEWS: Update.
27512         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27513         Add strncpy-power8 and stpncpy-power8 objects.
27514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27515         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27516         implementations.
27517         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27518         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27519         __stpncpy_power8 implementation.
27520         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27521         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27522         __strncpy_power8 implementation.
27523         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27524         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27525         * NEWS: Update.
27527         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27528         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27529         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27531         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27532         strncat-power8 object.
27533         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27534         __strcat_power8 implementation.
27535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27536         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27537         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27538         optimized strcat for power8.
27540         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27541         strcpy-power8 and stpcpy-power8 objects.
27542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27543         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27544         implementations.
27545         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27546         multiarch stpcpy implementation for POWER8.
27547         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27548         multiarch strcpy implementation for POWER8.
27549         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27550         __strcpy_power8 function.
27551         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27552         stpcpy for POWER8.
27553         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27554         strcpy for POWER8.
27555         * NEWS: Update.
27557 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27559         [BZ #16009]
27560         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27561         weights and rules. Use do_xfrm_cached if data fits in cache,
27562         do_xfrm otherwise.  Moved former main loop to...
27563         * (do_xfrm_cached): New function.
27564         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27565         find_idx, find_position and stack_push.
27566         * (find_idx): New function.
27567         * (find_position): Likewise.
27568         * localedata/sort-test.sh: Added test run for do_xfrm.
27569         * localedata/xfrm-test.c (main): Added command line option
27570         -nocache to run the test with strings that are too large for
27571         the STRXFRM cache.
27573 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27575         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27576         variable to lll_futex_wake call, not the value itself.
27578 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27580         [BZ #17803]
27581         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27582         twom64.  Adjust value to 0x1p-64L.
27583         (__scalblnl): Only return standard underflowing result for K <=
27584         -64 not K <= -63; adjust exponent for underflowing result by 64
27585         not 63.
27586         * math/libm-test.inc (scalbn_test_data): Add more tests.
27587         (scalbln_test_data): Likewise.
27589         [BZ #17834]
27590         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27591         0x1p63L.
27592         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27593         not HX.
27594         * math/libm-test.inc (scalbn_test_data): Add more tests.
27595         (scalbln_test_data): Likewise.
27597 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27598             Stefani Seibold  <stefani@seibold.net>
27600         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27601         (sysdep_routines): Add dl-vdso here, ...
27602         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27603         (sysdep_routines): ... not here.
27604         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27605         fallback when vDSO is not presented.
27606         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27607         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27608         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27609         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27610         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27611         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27612         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27613         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27614         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27615         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27616         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27617         fallback configurable symbol when vDSO is not available.
27618         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27619         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27620         be able to redefine fallback symbol when vDSO is not available.
27621         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27622         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27624 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27626         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27627         (TLS_INIT_TP): Add tm_capable initialization.
27628         (TLS_DEFINE_INIT_TP): Likewise.
27629         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27630         TCB.
27631         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27632         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27633         calculation.
27634         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27635         transactoion is lock elision is built and TCB tm_capable is set.
27636         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27638         (INTERNAL_SYSCALL_NCS): Likewise.
27639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27640         (INTERNAL_SYSCALL_NCS): Likewise.
27641         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27643         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27644         for powerpc.
27645         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27646         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27647         and remove it for 32 bits case.
27648         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27649         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27650         initialization.
27651         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27652         Disable lock elision with rdlocks if elision is not available.
27654         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27655         (sysdep_routines): Add lock elision objects.
27656         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27657         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27658         [pthread_mutex_t] (__elision): Add field.
27659         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27660         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27661         elision definitions for powerpc.
27662         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27663         implementation of lock elision for powerpc.
27664         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27665         implementation of timed lock elision for powerpc.
27666         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27667         implementation of trylock with lock elision for powerpc.
27668         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27669         implementaion of unlock for lock elision for powerpc.
27670         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27671         automatic enable lock elision for mutexes.
27672         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27673         transaction execution definitions for powerpc.
27674         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27675         definitions.
27676         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27677         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27678         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27679         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27680         * NEWS: Update.
27682 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27684         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27685         for #include of <shm-directory.h>.
27687 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27689         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27690         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27692 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27694         [BZ #17791]
27695         * NEWS: Mention bug fix.
27696         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27697         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27698         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27700 2015-01-09  Torvald Riegel <triegel@redhat.com>
27702         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27704 2015-01-09  Torvald Riegel <triegel@redhat.com>
27706         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27708 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27710         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27711         pointer and cast to uintptr_t.
27713 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27715         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27716         removed.
27717         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27719 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27721         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27722         of 0.
27724 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27726         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27727         <nptl/pthreadP.h> instead.
27728         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27730         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27731         already defined.
27732         [__SIGRTMIN] (init): Function removed.
27733         [__SIGRTMIN] (initialized): Variable removed.
27734         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27735         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27736         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27737         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27738         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27739         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27740         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27741         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27742         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27743         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27744         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27745         * sysdeps/nptl/allocrtsig.c: New file.
27746         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27747         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27748         * sysdeps/generic/testrtsig.h: File removed.
27750         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27751         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27753         * nptl/nptl-init.c (pthread_functions): Conditionalize
27754         .ptr__nptl_setxid initialization on [SIGSETXID].
27756         * sysdeps/nptl/sys/procfs.h: New file.
27757         * nptl_db/Makefile (headers): Add it.
27758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27760         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27761         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27762         * nptl/pthread_attr_setaffinity.c: Include it.
27763         * nptl/pthread_setattr_default_np.c: Likewise.
27764         * nptl/check-cpuset.h: New file.
27766 2015-01-08  Richard Henderson  <rth@redhat.com>
27768         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27769         (CFLAGS-tst-execstack-prog.c): Likewise.
27770         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27772 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27773             Sandra Loosemore  <sandra@codesourcery.com>
27774             Andrew Jenner  <andrew@codesourcery.com>
27775             Joseph Myers  <joseph@codesourcery.com>
27776             Nathan Sidwell  <nathan@codesourcery.com>
27778         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27779         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27780         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27781         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27782         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27783         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27784         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27785         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27786         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27787         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27788         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27789         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27790         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27791         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27792         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27793         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27794         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27796 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27798         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
27799         timespec struct member in syscall macro.
27800         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27801         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
27802         first timeval struct member in syscall macro.
27803         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
27805 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
27807         [BZ #17748]
27808         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
27809         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
27810         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
27811         __feupdateenv and define as weak alias of __feupdateenv.  Use
27812         libm_hidden_weak.
27813         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
27814         libm_hidden_def.
27815         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
27816         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
27817         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27818         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
27819         libm_hidden_def.
27820         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
27821         __feupdateenv and define as weak alias of __feupdateenv.  Use
27822         libm_hidden_weak.
27823         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
27824         libm_hidden_def.
27825         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
27826         __feupdateenv and define as weak alias of __feupdateenv.  Use
27827         libm_hidden_weak.
27828         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
27829         libm_hidden_def.
27830         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27831         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27832         (__feupdateenv): Likewise.
27833         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
27834         __feupdateenv and define as weak alias of __feupdateenv.  Use
27835         libm_hidden_weak.
27836         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27837         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
27838         libm_hidden_def.
27839         * sysdeps/tile/math_private.h (__feupdateenv): New inline
27840         function.
27841         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
27842         libm_hidden_def.
27843         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
27844         __feupdateenv instead of feupdateenv.
27845         (default_libc_feupdateenv_test): Likewise.
27846         (libc_feresetround_ctx): Likewise.
27848 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27850         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
27851         prototype.
27853 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
27855         * posix/regcomp.c (parse_bracket_exp): Initialize type to
27856         COLL_SYM in a couple of places to avoid uninitialized variable
27857         wanings on tilegx gcc 4.8.2.
27859 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27861         * sysdeps/aarch64/strcpy.S: New file.
27862         * sysdeps/aarch64/stpcpy.S: New file.
27863         * NEWS: Updated.
27865 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27867         * sysdeps/aarch64/strrchr.S: New file.
27868         * NEWS: Updated.
27870 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
27872         [BZ #17658]
27873         * stdlib/setenv.c: Fix memory leak when setting large,
27874         duplicate string.
27876 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
27878         [BZ #17273]
27879         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
27880         and tabs from buffer before parsing fstab entry.
27881         * misc/tst-mntent.c (main): Add test for mount entry with
27882         trailing spaces and tabs.
27884 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
27886         [BZ #17748]
27887         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
27888         * math/fesetround.c (fesetround): Rename to __fesetround and
27889         define as weak alias of __fesetround.  Use libm_hidden_weak.
27890         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
27891         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
27892         * sysdeps/arm/fesetround.c (fesetround): Likewise.
27893         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
27894         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
27895         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
27896         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
27897         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
27898         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
27899         __fesetround_inline.
27900         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
27901         __fesetround_inline instead of __fesetround.
27902         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
27903         __fesetround and define as weak alias of __fesetround.  Use
27904         libm_hidden_weak.  Call __fesetround_inline instead of
27905         __fesetround.
27906         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
27907         __fesetround and define as weak alias of __fesetround.  Use
27908         libm_hidden_weak.
27909         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
27910         Likewise.
27911         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
27912         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27913         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
27914         * sysdeps/tile/math_private.h (__fesetround): New inline function.
27915         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
27916         __fesetround and define as weak alias of __fesetround.  Use
27917         libm_hidden_weak.
27918         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
27919         __fesetround instead of fesetround.
27920         (default_libc_feholdexcept_setround): Likewise.
27921         (libc_feholdsetround_ctx): Likewise.
27922         (libc_feholdsetround_noex_ctx): Likewise.
27924         [BZ #17748]
27925         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
27926         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
27927         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27928         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27929         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27930         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
27931         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27932         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27933         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27934         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27935         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27936         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27937         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27938         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27939         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
27940         libm_hidden_def.
27941         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
27942         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
27943         Likewise.
27944         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27945         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27946         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27947         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27948         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
27949         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27950         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27951         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
27952         __fesetenv instead of fesetenv.
27953         (libc_feresetround_noex_ctx): Likewise.
27954         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27955         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27956         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
27957         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27958         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27959         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27960         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27961         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27962         (__feupdateenv): Likewise.
27963         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27964         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27965         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27966         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
27968 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27970         [BZ #17806]
27971         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
27972         addresses have been freed.
27974 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27976         * resolv/res_init.c (__res_vinit): Improve comments about nserv
27977         and nservall.
27979 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
27981         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27982         Clean up check_pf allocation pattern. addresses
27984 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27986         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27987         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27988         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27989         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27990         * nptl/pthread_join.c (pthread_join): Likewise.
27991         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27992         * sysdeps/posix/waitid.c (__waitid): Likewise.
27993         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27994         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27995         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27996         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27997         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27998         Likewise.
27999         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28000         (__libc_pread64): Likewise.
28001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28002         (__libc_pwrite): Likewise.
28003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28004         (__libc_pwrite64): Likewsie.
28005         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28006         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28007         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28008         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28009         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28010         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28011         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28013         Likewise.
28014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28015         (__libc_pread64): Likewise.
28016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28017         Likewise.
28018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28019         (__libc_pwrite64): Likewise.
28020         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28021         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28022         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28023         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28024         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28025         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28026         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28027         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28028         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28029         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28030         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28031         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28032         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28033         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28034         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28035         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28036         Likewise.
28038 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28040         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28041         (CFLAGS-test-double.c): Likewise.
28042         (CFLAGS-test-ldouble.c): Likewise.
28043         (CPPFLAGS-test-ifloat.c): Likewise.
28044         (CPPFLAGS-test-idouble.c): Likewise.
28045         (CPPFLAGS-test-ildoubl.c): Likewise.
28046         (CFLAGS-test-test-fenv.c): Remove variable.
28047         (CFLAGS-test-misc.c): Likewise.
28049 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28051         [BZ #17797]
28052         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28053         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28054         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28055         CLOCKS_PER_SEC == 1000000.
28056         * time/clocktest.c (main): Replace %ld with %jd and cast to
28057         intmax_t.
28059 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28061         * sysdeps/generic/unwind-resume.h: New file.
28062         * sysdeps/gnu/unwind-resume.c: Include it.
28063         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28064         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28065         argument list.
28066         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28067         global rather than static.
28068         (_Unwind_Resume): Update user.
28069         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28070         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28071         rather than static.  Add __attribute__ ((cold)).
28072         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28073         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28074         * sysdeps/arm/arm-unwind-resume.S: New file.
28075         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28076         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28077         * sysdeps/arm/Makefile [$(subdir) = csu]
28078         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28079         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28080         Add rt-arm-unwind-resume.
28081         [$(subdir) = nptl]
28082         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28083         Add pt-arm-unwind-resume.
28084         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28085         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28087 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28089         [BZ #17748]
28090         * include/fenv.h (__feholdexcept): Declare.  Use
28091         libm_hidden_proto.
28092         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28093         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28094         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28095         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28096         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28097         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28098         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28099         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28100         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28101         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28102         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28103         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28104         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28105         (feholdexcept): Likewise.
28106         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28107         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28108         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28109         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28110         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28111         __feholdexcept instead of feholdexcept.
28112         (default_libc_feholdexcept_setround): Likewise.
28114 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28116         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28117         to avoid using stl/str to align destination.
28119 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28121         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28123 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28125         [BZ #17796]
28126         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28127         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28128         Define as weak alias not strong alias.
28130 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28132         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28133         bltzal with addiupc.
28134         (RTLD_START): Ditto.
28136 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28138         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28139         for __vdso_* functions in declarations.
28140         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28141         definitions.
28142         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28143         INTERNAL_VSYSCALL): Use struct return types to check for error.
28145         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28146         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28147         function with cast from llround().
28148         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28149         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28150         Define.
28152 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28154         [BZ #17793]
28155         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28156         Define as weak alias not strong alias.
28158         [BZ #17635]
28159         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28160         ...
28161         * ctype/ctype-extn.c: ... here.
28162         (__isblank_l): Move to ...
28163         * ctype/ctype-c99_l.c: ... here.  New file.
28164         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28165         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28166         Remove variable.
28167         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28168         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28169         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28170         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28171         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28173         [BZ #17777]
28174         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28175         (posix_fadvise64): Define as weak alias not strong alias.
28176         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28177         (posix_fallocate64): Likewise.
28178         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28179         Remove variable.
28180         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28181         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28182         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28183         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28184         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28186 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28188         [BZ #16191]
28189         * NEWS: Mention bug fix.
28190         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28191         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28192         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28193         (HOST_STACK_END_ADDR): Likewise.
28195 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28197         [BZ #17748]
28198         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28199         * math/fegetround.c (fegetround): Rename to __fegetround and
28200         define as weak alias of __fegetround.  Use libm_hidden_weak.
28201         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28202         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28203         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28204         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28205         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28206         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28207         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28208         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28209         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28210         Undefine after rather than before function definition; use
28211         parentheses around function name in definition.
28212         (__fegetround): Also undefine macro after function definition.
28213         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28214         __fegetround and define as weak alias of __fegetround.  Use
28215         libm_hidden_weak.  Do not undefine as macro.
28216         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28217         Likewise.
28218         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28219         __fegetround and define as weak alias of __fegetround.  Use
28220         libm_hidden_weak.
28221         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28222         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28223         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28224         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28225         __fegetround and define as weak alias of __fegetround.  Use
28226         libm_hidden_weak.
28227         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28228         __fegetround instead of fegetround.
28230         [BZ #17782]
28231         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28232         Condition macro definition on [__USE_MISC].
28234         [BZ #17781]
28235         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28236         (struct sigaction): Change type of sa_flags field to int.
28238         [BZ #17780]
28239         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28240         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28241         __glibc_reserved0.
28243         * nptl/version.c (banner): Use single year in copyright notice.
28245         * NEWS: Update copyright dates.
28246         * catgets/gencat.c (print_version): Likewise.
28247         * csu/version.c (banner): Likewise.
28248         * debug/catchsegv.sh: Likewise.
28249         * debug/pcprofiledump.c (print_version): Likewise.
28250         * debug/xtrace.sh (do_version): Likewise.
28251         * elf/ldconfig.c (print_version): Likewise.
28252         * elf/ldd.bash.in: Likewise.
28253         * elf/pldd.c (print_version): Likewise.
28254         * elf/sotruss.sh: Likewise.
28255         * elf/sprof.c (print_version): Likewise.
28256         * iconv/iconv_prog.c (print_version): Likewise.
28257         * iconv/iconvconfig.c (print_version): Likewise.
28258         * locale/programs/locale.c (print_version): Likewise.
28259         * locale/programs/localedef.c (print_version): Likewise.
28260         * login/programs/pt_chown.c (print_version): Likewise.
28261         * malloc/memusage.sh (do_version): Likewise.
28262         * malloc/memusagestat.c (print_version): Likewise.
28263         * malloc/mtrace.pl: Likewise.
28264         * manual/libc.texinfo: Likewise.
28265         * nptl/version.c (banner): Likewise.
28266         * nscd/nscd.c (print_version): Likewise.
28267         * nss/getent.c (print_version): Likewise.
28268         * nss/makedb.c (print_version): Likewise.
28269         * posix/getconf.c (main): Likewise.
28270         * scripts/test-installation.pl: Likewise.
28271         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28273 2015-01-02  Will Newton  <will.newton@linaro.org>
28275         * sysdeps/arm/armv7/configure: Removed.
28276         * sysdeps/arm/armv7/configure.ac: Likewise.
28278 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28280         * All files with FSF copyright notices: Update copyright dates
28281         using scripts/update-copyrights.
28282         * intl/plural.c: Regenerated.
28283         * locale/programs/charmap-kw.h: Likewise.
28284         * locale/programs/locfile-kw.h: Likewise.
28286 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28288         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28290 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28292         [BZ #17748]
28293         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28294         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28295         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28296         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28297         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28298         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28299         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28300         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28301         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28302         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28303         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28304         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28305         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28306         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28307         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28308         libm_hidden_def.
28309         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28310         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28311         Likewise.
28312         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28313         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28314         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28315         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28316         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28317         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28318         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28319         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28320         __fegetenv instead of fegetenv.
28321         (libc_feholdsetround_noex_ctx): Likewise.
28323 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28325         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28326         (Elf_MIPS_ABIFlags_v0): New structure.
28327         (EF_MIPS_FP64): Define.
28328         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28329         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28330         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28331         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28332         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28333         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28334         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28335         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28336         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28337         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28338         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28339         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28340         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28341         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28342         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28343         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28344         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28345         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28346         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28347         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28348         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28349         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28350         field.
28351         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28352         EF_MIPS_FP64.
28353         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28354         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28355         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28356         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28357         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28358         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28359         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28360         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28361         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28362         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28363         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28364         record the current FP ABI extension.
28365         (mips-mode-switch): Define to show if kernel headers support mode
28366         switching.
28367         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28368         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28369         supported SYSV ABI version to 3.
28370         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28371         feature.
28373 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28374             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28376         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28377         path.
28378         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28380 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28382         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28383         __fegetround and redefine to call __fegetround.  Remove condition
28384         on [!__NO_MATH_INLINES].
28385         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28386         function.
28387         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28388         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28389         Remove macro.
28390         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28391         instead of <fenv_libc.h>.
28392         (__llrintl): Call fegetround instead of __fegetround.
28393         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28394         instead of <fenv_libc.h>.
28395         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28396         (__lrintl): Call fegetround instead of __fegetround.
28397         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28398         instead of <fenv_libc.h>.
28399         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28400         (__rintl): Call fegetround instead of __fegetround.
28402 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28404         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28405         arrays.
28407 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28409         [BZ #17775]
28410         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28411         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28412         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28414 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28416         * sysdeps/i386/tls-macros.h: Include <features.h>.
28417         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28418         (TLS_IE): Likewise.
28419         (TLS_LD): Likewise.
28420         (TLS_GD): Likewise.
28421         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28422         define for GCC >= 5.0.
28424 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28426         * math/test-fenv.c (test_single_exception, set_single_exc,
28427         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28428         feexcp_mask_test, feenable_test, fe_single_test): Add
28429         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28430         case where they are not used.
28431         * math/libm-test.inc: Likewise.
28432         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28433         unused in the absence of FP rounding/exception support.
28434         * stdio-common/tst-printf-round.c: Likewise.
28435         * stdlib/tst-strtod-round.c: Likewise.
28436         * stdlib/tst-strtod-underflow.c: Likewise.
28438 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28440         [BZ #17723]
28441         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28442         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28443         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28444         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28445         libm_hidden_weak.
28446         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28447         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28448         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28449         libm_hidden_def.
28450         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28451         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28452         libm_hidden_weak.
28453         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28454         Likewise.
28455         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28456         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28457         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28458         libm_hidden_weak.
28459         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28460         libm_hidden_def.
28461         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28462         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28463         (__feraiseexcept): Likewise.
28464         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28465         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28466         libm_hidden_weak.
28467         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28468         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28469         libm_hidden_def.
28470         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28471         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28472         Use libm_hidden_def.
28473         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28474         libm_hidden_def.
28475         (feraiseexcept): Define as weak not strong alias.  Use
28476         libm_hidden_weak.
28477         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28478         New inline function.  Factored out of ...
28479         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28480         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28481         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28482         feraiseexcept.
28483         * math/w_acos.c (__acos): Likewise.
28484         * math/w_asin.c (__asin): Likewise.
28485         * math/w_ilogb.c (__ilogb): Likewise.
28486         * math/w_j0.c (y0): Likewise.
28487         * math/w_j1.c (y1): Likewise.
28488         * math/w_jn.c (yn): Likewise.
28489         * math/w_log.c (__log): Likewise.
28490         * math/w_log10.c (__log10): Likewise.
28491         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28492         * sysdeps/aarch64/fpu/math_private.h
28493         (libc_feupdateenv_test_aarch64): Likewise.
28494         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28495         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28496         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28497         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28498         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28499         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28500         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28501         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28502         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28503         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28505 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28507         [BZ #17732]
28508         * io/test-utime.c (main): Replace %ld with %jd and cast to
28509         intmax_t.
28510         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28511         * nptl/tst-mutex5.c: Include <stdint.h>.
28512         (do_test): Replace %ld with %jd and cast to intmax_t.
28513         * posix/tst-regex.c (run_test): Likewise.
28514         (run_test_backwards): Likewise.
28515         * rt/tst-clock.c: Include <stdint.h>.
28516         (clock_test): Replace %ld with %jd and cast to intmax_t.
28517         * rt/tst-cpuclock1.c: Include <stdint.h>.
28518         (do_test): Replace %lu with %ju and cast to uintmax_t.
28519         * rt/tst-cpuclock2.c: Include <stdint.h>.
28520         (do_test): Replace %lu with %ju and cast to uintmax_t.
28521         * rt/tst-mqueue1.c: Include <stdint.h>.
28522         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28523         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28524         intmax_t.
28525         * rt/tst-mqueue4.c (do_test): Likewise.
28526         * rt/tst-timer4.c: Include <stdint.h>.
28527         (check_ts): Replace %ld with %jd and cast to intmax_t.
28528         (do_test): Likewise.
28529         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28530         and cast to intmax_t.
28531         * sysdeps/pthread/tst-timer.c (main): Likewise.
28532         * time/clocktest.c (main): Likewise.
28533         * time/tst-posixtz.c (do_test): Likewise.
28534         * timezone/tst-timezone.c (main): Likewise.
28536 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28537             H.J. Lu  <hongjiu.lu@intel.com>
28539         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28540         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28541         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28542         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28543         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28544         version if bit_Fast_Unaligned_Load is set.
28545         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28546         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28547         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28548         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28549         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28550         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28551         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28552         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28553         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28554         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28555         to 4.
28556         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28557         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28558         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28559         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28561 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28563         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28564         instead of #if to avoid a Wundef warning.
28565         * stdlib/tst-limits.c (do_test): Likewise.
28567         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28568         parallel other exception macros.
28569         (fegetenv): Convert from macro to extern inline so that it applies
28570         retroactively to inline functions already seen by the compiler.
28571         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28573         * posix/Makefile (before-compile): Use $(objpfx) for
28574         posix-conf-vars-def.h.
28576 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28578         * posix/getconf.c (main): Use size_t for type of I.
28579         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28580         NSPEC.
28582         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28583         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28584         * posix/posix-envs.def: Likewise.
28585         * sysdeps/posix/sysconf.c: Likewise.
28586         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28587         (specs): Remove array.
28588         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28589         array.
28591         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28592         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28593         (__sysconf): Use CONF_IS_* macros.
28595         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28596         ($(objpfx)posix-conf-vars-def.h): New target.
28597         * posix/posix-conf-vars.list: New file.
28598         * posix/posix-conf-vars.h: New file.
28599         * posix/confstr.c: Include posix-conf-vars.h.
28600         (confstr): Use CONF_IS_* macros.
28601         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28602         CONF_IS_* macros.
28603         * scripts/gen-posix-conf-vars.awk: New file.
28605 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28607         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28608         fegetround): Add no-op macros to avoid linknamespace issues.
28610         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28611         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28613         * sysdeps/unix/sysv/linux/tile/sysdep.h
28614         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28615         assembly-specific section to avoid a redefinition warning.
28617         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28618         long before casting to pointer to avoid a cast warning.
28620 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28622         * sysdeps/tile/tilegx/Implies: New file.
28624 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28626         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28628 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28630         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28632 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28634         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28635         not define.
28636         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28637         <kernel-features.h>.
28638         (__utimes) [__NR_utimes]: Make code unconditional.
28639         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28640         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28641         (__ASSUME_UTIMES): Do not undefine.
28642         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28643         (__ASSUME_UTIMES): Likewise.
28644         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28645         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28646         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28647         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28649 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28651         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28653 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28655         [BZ #17747]
28656         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28657         alias to weak alias for j0l, y0l.
28658         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28659         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28661         [BZ #17746]
28662         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28663         conversion.
28665 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28667         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28668         to zero if not already defined.
28670 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28672         [BZ #17724]
28673         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28674         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28675         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28676         (char *) casts added.
28677         * sysdeps/ieee754/k_standardf.c: New file.
28678         * sysdeps/ieee754/k_standardl.c: Likewise.
28679         * math/Makefile (libm-support): Remove k_standard.
28680         (libm-calls): Add k_standard.
28682 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28684         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28685         Optimize to avoid an unnecessary FPCR read.
28687 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28689         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28690         Optimize to reduce FPCR/FPSR accesses.
28692 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28694         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28695         Call libc_fetestexcept_aarch64.
28697 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28699         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28700         Call libc_fesetround_aarch64.
28702 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28704         [BZ #17733]
28705         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28706         (__bind): Do not define as weak alias.
28707         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28708         define.
28709         (__getsockname): Do not define as weak alias.
28711 2014-12-22  Will Newton  <will.newton@linaro.org>
28713         * manual/install.texi: Document that we require bison 2.7
28714         or above.
28715         * INSTALL: Regenerate.
28716         * configure.ac: Use AC_CHECK_PROG_VER instead of
28717         AC_PATH_PROG when checking for bison and check for
28718         version 2.7 or above.
28719         * configure: Regenerate.
28721 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28723         [BZ #17745]
28724         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28725         * sysdeps/tile/ffsll.c (ffsll): To here.
28727         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28729 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28731         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28732         if not defined.
28733         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28734         definition.
28735         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28736         hidden ___tls_get_addr.
28737         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28738         hidden __tls_get_addr.
28739         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28740         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28741         Likewise.
28743 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28745         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28746         _dl_init call.
28748 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28750         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28751         from "call _dl_init@PLT".
28752         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28754 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28756         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28757         guarantees.
28759 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28761         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28763 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28765         [BZ #17744]
28766         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28767         strnlen.
28769 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28771         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28772         of multu on MIPSr6.
28773         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28774         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28775         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28776         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28777         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28779 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28781         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28782         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28783         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28784         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28785         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28786         mips32r6/mips64r6.
28787         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28789 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28791         * string/strncat.c (STRNCAT): Simplify implementation.
28793 2014-12-19  David S. Miller  <davem@davemloft.net>
28795         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28796         access the quad as both a long double and as a series of 4 words.
28798         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
28799         link_map->l_info array access.
28801 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28803         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
28805         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
28806         * math/atest-exp2.c (TIMEOUT): Likewise.
28807         * math/atest-sincos.c (TIMEOUT): Likewise.
28809 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28811         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
28812         -Wno-error with -fno-builtin-lround.
28814 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28816         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
28817         Contains futex constants and functions moved over from ...
28818         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
28819         <lowlevellock-futex.h>.
28820         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28821         (lll_timedwait_tid): Add comments and parentheses around macro
28822         arguments.
28824 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28826         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
28827         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
28828         (__lll_private_flag): Remove.
28829         (lll_futex_wait): Likewise.
28830         (lll_futex_timed_wait): Likewise.
28831         (lll_futex_wake): Likewise.
28832         (lll_futex_requeue): Likewise.
28833         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28834         (__lll_timedwait_tid): Spell out argument names.
28835         (lll_timedwait_tid): Add comments and parentheses around macro
28836         arguments.
28837         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
28838         LLL_SHARED and LLL_PRIVATE usable from assembly code.
28840 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28842         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
28843         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28844         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28845         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
28846         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
28847         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
28848         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
28849         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
28850         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28851         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
28852         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
28853         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
28854         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
28855         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
28856         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
28857         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
28858         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
28859         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
28860         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
28862 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28864         * sysdeps/x86_64/x32/Makefile: New file.
28866 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28868         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
28869         1L with (mp_limb_t) 1.
28871 2014-12-17  Roland McGrath  <roland@hack.frob.com>
28873         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
28874         * nptl/libc_pthread_init.c: ... here.
28875         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
28876         * nptl/register-atfork.c: ... here.
28878         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
28879         Use pthread_sigmask rather than INTERNAL_SYSCALL.
28880         Use assert_perror to check its return value.
28881         (__gai_create_helper_thread): Likewise.
28883         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
28885         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
28887 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
28889         [BZ #17725]
28890         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
28891         __profil_counter.
28892         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
28893         Likewise.
28894         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
28895         Likewise.
28896         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28897         Likewise.
28898         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
28899         (profil_counter): Likewise.
28900         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
28901         (profil_counter): Likewise.
28902         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28903         Likewise.
28904         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
28905         Likewise.
28906         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
28907         (profil_counter): Likewise.
28908         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
28909         Likewise.
28910         [!__profil_counter] (profil_counter): Define as weak alias of
28911         __profil_counter.
28912         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
28913         (profil_counter): Rename to __profil_counter.
28914         [!__profil_counter] (profil_counter): Define as weak alias of
28915         __profil_counter.
28916         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
28917         (profil_counter): Rename to __profil_counter.
28918         [!__profil_counter] (profil_counter): Define as weak alias of
28919         __profil_counter.
28920         * sysdeps/posix/profil.c: Update comment referring to
28921         profil_counter.
28922         (__profil): Use __profil_counter instead of profil_counter.
28923         * sysdeps/posix/sprofil.c (profil_counter): Rename to
28924         __profil_counter.  Use __profil_counter_ushort and
28925         __profil_counter_uint in definitions.
28926         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
28927         instead of profil_counter_uint and profil_counter_ushort.
28929         [BZ #17722]
28930         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
28931         define as weak alias of __inet_makeaddr.
28932         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
28933         as weak alias of __inet_addr.
28934         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
28935         as weak alias of __inet_pton.  Use libc_hidden_weak.
28936         * include/arpa/inet.h (__inet_pton): Declare.  Use
28937         libc_hidden_proto.
28938         (inet_makeaddr): Don't use libc_hidden_proto.
28939         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
28940         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
28941         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
28942         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
28943         Remove variable.
28944         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28945         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28947 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
28949         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
28951 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28953         * stdio-common/bug-vfprintf-nargs.c (do_test):
28954         Cast value to intptr_t to avoid format warning
28955         for usage with PRIdPTR printing macro.
28957 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28959         * libio/tst-widetext.c (do_test):
28960         Use format type %td instead of %Zd for ptrdiff_t
28961         in order to avoid format warning.
28963 2014-12-17  Andreas Schwab  <schwab@suse.de>
28965         * nscd/mem.c (gc): Add size_t cast to match printf format.
28967 2014-12-16  Roland McGrath  <roland@hack.frob.com>
28969         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
28970         (init): Apply PTR_MANGLE to pointers before storing them.
28971         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
28972         before using them.
28974 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
28976         [BZ #17719]
28977         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28978         define as weak alias of __memrchr.
28979         (__memrchr): Do not define as strong alias of memrchr.
28980         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28981         Remove variable.
28982         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28983         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28984         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28986         [BZ #17717]
28987         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28988         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28989         (if_indextoname): Rename to __if_indextoname and define as weak
28990         alias of __if_indextoname.  Use libc_hidden_weak.
28991         (if_freenameindex): Rename to __if_freenameindex and define as
28992         weak alias of __if_freenameindex.
28993         (if_nameindex): Rename to __if_nameindex and define as weak alias
28994         of __if_nameindex.
28995         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28996         __if_nametoindex and define as weak alias of __if_nametoindex.
28997         Use libc_hidden_weak.
28998         (if_freenameindex): Rename to __if_freenameindex and define as
28999         weak alias of __if_freenameindex.
29000         (if_nameindex): Rename to __if_nameindex and define as weak alias
29001         of __if_nameindex.
29002         (if_indextoname): Rename to __if_indextoname and define as weak
29003         alias of __if_indextoname.  Use libc_hidden_weak.
29004         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29005         __if_nametoindex and define as weak alias of __if_nametoindex.
29006         Use libc_hidden_weak.
29007         (if_freenameindex): Rename to __if_freenameindex and define as
29008         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29009         (if_nameindex_netlink): Use __if_freenameindex instead of
29010         if_freenameindex.
29011         (if_nameindex): Rename to __if_nameindex and define as weak alias
29012         of __if_nameindex.  Use libc_hidden_weak.
29013         (if_indextoname): Rename to __if_indextoname and define as weak
29014         alias of __if_indextoname.  Use libc_hidden_weak.
29015         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29016         libc_hidden_proto.
29017         [!_ISOMAC] (__if_freenameindex): Likewise.
29018         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29019         if_nametoindex.
29020         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29021         variable.
29022         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29023         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29024         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29025         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29026         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29027         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29028         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29030         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29031         Remove variable.
29032         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29033         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29035 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29037         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29038         subscript above bounds'
29040         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29041         bounds.
29043 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29045         * libio/tst-fopenloc.c: Use test-skeleton.c.
29047         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29048         (entry): Rename to ITEM.
29049         (do_test, comp): Adjust.
29051         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29053 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29055         * string/tester.c: Include <libc-internal.h>.
29056         (test_memset): Ignore -Wmemset-transposed-args.
29058 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29060         * misc/tst-mntent2.c (do_test): Fix warning.
29062 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29064         * elf/tst-unique4lib.cc(a): Mark as used.
29066 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29068         [BZ #17630]
29069         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29070         names.
29072 2014-12-16  Allan McRae  <allan@archlinux.org>
29074         * stdio-common/Makefile (tests): Re-add bug26.
29076 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29078         [BZ #17657]
29079         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29080         static array.
29082 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29084         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29085         (__lll_lock_wait): Likewise.
29086         (__lll_timedlock_wait): Likewise.
29087         (__lll_timedwait_tid): Likewise.
29088         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29089         (__lll_robust_timedlock_wait): Likewise.
29090         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29091         (lll_cond_trylock): Likewise.
29092         (__lll_lock): Likewise.
29093         (__lll_robust_lock): Likewise.
29094         (__lll_cond_lock): Likewise.
29095         (lll_robust_cond_lock): Likewise.
29096         (__lll_timedlock): Likewise.
29097         (__lll_robust_timedlock): Likewise.
29098         (__lll_unlock): Likewise.
29099         (__lll_robust_unlock): Likewise.
29100         (lll_wait_tid): Likewise.
29101         (lll_timedwait_tid): Likewise.
29103 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29105         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29107 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29109         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29111 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29113         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29114         * stdio-common/tst-sprintf.c: Likewise.
29116 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29118         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29120 2014-12-15  Jeff Law  <law@redhat.com>
29122         [BZ #16617]
29123         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29124         on the heap.  (CVE-2012-3406)
29125         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29126         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29127         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29129 2014-12-15  Will Newton  <will.newton@linaro.org>
29131         * manual/install.texi: Bump required version of texinfo
29132         to 4.7 from 4.5.
29133         * INSTALL: Regenerated.
29134         * configure.ac: Check for makeinfo version 4.7 and above.
29135         * configure: Regenerated.
29137 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29139         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29140         PREFIX, string constant to insert between directory and name.
29141         * sysdeps/posix/shm_open.c: Update caller.
29142         * sysdeps/posix/shm_unlink.c: Likewise.
29143         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29144         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29145         (SEM_SHM_PREFIX): New macro.
29146         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29147         [$(have-thread-library) = no].
29148         * nptl/Makefile (libpthread-routines): Add shm-directory.
29149         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29150         * sysdeps/nptl/shm-directory.h: New file.
29151         * sysdeps/posix/shm-directory.c
29152         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29153         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29154         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29155         INTERNAL_SYSCALL.
29156         (__where_is_shmfs): Function removed.
29157         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29158         Variables removed.
29159         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29160         Use SHM_GET_NAME.
29161         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29163         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29164         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29165         unconditional for use inside libpthread.
29166         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29168 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29170         * nptl/pthread_getaffinity.c: New file.
29171         * nptl/pthread_setaffinity.c: New file.
29172         * nptl/pthread_getname.c: New file.
29173         * nptl/pthread_setname.c: New file.
29175         * nptl/pthread_create.c (START_THREAD_DEFN)
29176         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29178 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29179             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29181         * resolv/res_send.c (send_vc): Disable warning resplen may
29182         be used uninitialized.
29184 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29186         * nptl/tst-mutex6.c
29187         (ATTR_NULL): New define checks ATTR against NULL.
29188         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29189         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29191 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29193         [BZ #17581]
29194         * malloc/hooks.c
29195         (mem2mem_check): Revert my previous change.
29196         (malloc_check_get_size): Revert my previous change.
29197         (mem2chunk_check): Revert my previous change.
29199 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29201         * sysdeps/posix/shm-directory.c: New file.
29202         * sysdeps/posix/shm-directory.h: New file.
29203         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29204         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29205         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29206         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29207         Transmute EPERM to EACCES.
29208         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29209         from ...
29210         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29211         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29213 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29215         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29216         pointer and cast to uintptr_t.
29217         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29218         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29219         Add cast to avoid warning.
29220         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29222 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29224         * nptl/semaphore.h: Move to ...
29225         * sysdeps/pthread/semaphore.h: ... here.
29226         * Makefile (installed-headers): Change nptl/semaphore.h to
29227         sysdeps/pthread/semaphore.h.
29229 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29231         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29232         generated error format strings.
29234         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29235         -Wformat-extra-args warnings for scanf formats.
29236         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29237         test of zero-length format (duh).
29238         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29239         corner-case scanf format test.
29240         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29241         generated fprintf format string.
29242         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29243         corner-case sprintf format tests.
29244         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29245         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29246         -Wformat-extra-args warnings throughout.
29247         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29248         (CFLAGS-scanf4.c): Likewise.
29249         (CFLAGS-scanf7.c): Likewise.
29250         (CFLAGS-tst-sprintf.c): Likewise.
29251         (CFLAGS-tst-printf.c): Likewise.
29252         (CFLAGS-tst-printfsz.c): Likewise.
29254 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29256         * include/cpio.h: New file.
29257         * include/fmtmsg.h: Likewise.
29259         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29260         corresponding format argument to size_t.
29261         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29262         arguments.
29263         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29264         corresponding format argument to size_t.
29265         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29266         arguments.
29267         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29268         corresponding format argument to size_t.
29269         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29270         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29271         (CFLAGS-tst-mbswcs2.c): Likewise.
29272         (CFLAGS-tst-mbswcs3.c): Likewise.
29273         (CFLAGS-tst-mbswcs4.c): Likewise.
29274         (CFLAGS-tst-mbswcs5.c): Likewise.
29275         (CFLAGS-tst-trans.c): Likewise.
29277 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29279         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29280         rather than assuming they won't contain any '%'s.
29282 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29284         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29285         inhibit_loop_to_libcall to avoid recursive calls.
29286         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29287         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29289 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29291         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29292         prototype.
29294 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29296         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29297         integer value instead of boolean.
29299 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29301         * malloc/malloc.c: Fix powerof2 check.
29303 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29305         * locale/programs/locfile.h (maybe_swap_uint32):
29306         Remove inline and add unused attribute.
29308 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29310         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29311         Truncating assembler expression to a .long expression.
29313 2014-12-11  Andreas Schwab  <schwab@suse.de>
29315         * elf/rtld.c (struct map_args): Constify str member.
29316         (do_preload): Constify fname argument.
29318 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29321         constants definition.
29323 2014-12-11  Andreas Schwab  <schwab@suse.de>
29325         [BZ #16657]
29326         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29327         FORCE_ELISION instead of DO_ELISION.
29328         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29329         Remove.
29330         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29331         Likewise.
29333         * iconvdata/gconv-modules: Remove duplicate entry.
29335 2014-12-11  Will Newton  <will.newton@linaro.org>
29337         Merge gettext 0.19.3 into intl/.
29339         This involves a number of cosmetic changes to comments
29340         and ANSI function definitions and prototypes throughout
29341         all the files. The gettext copyright header is used but
29342         with the date ranges taken from the glibc copy.
29344         * NEWS: Add gettext merge to 2.21.
29345         * intl/bindtextdom.c: Switch to gettext copyright.
29346         Use ANSI definitions and prototypes.
29347         Use gl_* locking primitives rather than __libc_* ones.
29348         Use __builtin_expect rather than __glibc_likely/unlikely.
29349         * intl/dcgettext.c: Switch to gettext copyright.
29350         Use ANSI definitions and prototypes.
29351         * intl/dcigettext.c: Switch to gettext copyright.
29352         Use ANSI definitions and prototypes.
29353         (INTDIV0_RAISES_SIGFPE): New define.
29354         Use gl_* locking primitives rather than __libc_* ones.
29355         Include eval-plural.h instead of plural-eval.c.
29356         Use __builtin_expect rather than __glibc_likely/unlikely.
29357         * intl/dcngettext.c: Switch to gettext copyright.
29358         Use ANSI definitions and prototypes.
29359         * intl/dgettext.c: Likewise.
29360         * intl/dngettext.c: Likewise.
29361         * intl/plural-eval.c: Renamed to...
29362         * intl/eval-plural.h: ...this.
29363         * intl/explodename.c: Switch to gettext copyright.
29364         Use ANSI definitions and prototypes.
29365         (_nl_explode_name): Use strchr instead of __rawmemchr.
29366         * intl/finddomain.c: Switch to gettext copyright.
29367         Use ANSI definitions and prototypes.
29368         Use gl_* locking primitives rather than __libc_* ones.
29369         (_nl_find_domain): Use malloc rather than alloca for
29370         allocation of temporary locale name.
29371         * intl/gettext.c: Switch to gettext copyright.
29372         Use ANSI definitions and prototypes.
29373         * intl/gettextP.h: Switch to gettext copyright.
29374         Use ANSI definitions and prototypes.
29375         Use gl_* locking primitives rather than __libc_* ones.
29376         * intl/gmo.h: Switch to gettext copyright.
29377         (struct sysdep_string): Move struct segment_pair outside of
29378         struct definition.
29379         * intl/hash-string.c: Use ANSI definitions and prototypes.
29380         * intl/hash-string.h: Switch to gettext copyright.
29381         Use ANSI definitions and prototypes.
29382         * intl/l10nflist.c: Switch to gettext copyright.
29383         Use ANSI definitions and prototypes.
29384         (_nl_normalize_codeset): Avoid integer overflow.
29385         * intl/loadinfo.h: Switch to gettext copyright.
29386         Use ANSI definitions and prototypes.
29387         (LIBINTL_DLL_EXPORTED): New define.
29388         (PATH_SEPARATOR): New define.
29389         * intl/loadmsgcat.c: Switch to gettext copyright.
29390         * intl/localealias.c: Switch to gettext copyright.
29391         Use ANSI definitions and prototypes.
29392         (_nl_expand_alias): Use PATH_SEPARATOR.
29393         * intl/ngettext.c: Switch to gettext copyright.
29394         Use ANSI definitions and prototypes.
29395         * intl/plural-exp.c: Likewise.
29396         * intl/plural-exp.h: Switch to gettext copyright.
29397         Use ANSI definitions and prototypes.
29398         (struct expression): Move definition of enum operator outside
29399         of struct definition.
29400         * intl/plural.c: Regenerate.
29401         * intl/plural.y: Switch to gettext copyright.
29402         Use ANSI definitions and prototypes.
29403         Port to bison 3.0.
29404         * intl/textdomain.c: Switch to gettext copyright.
29405         Use ANSI definitions and prototypes.
29406         Use gl_* locking primitives rather than __libc_* ones.
29408 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29410         * debug/warning-nop.c: Add used atrribute.
29412 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29414         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29416         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29417         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29418         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29420 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29421             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29423         [BZ #17634]
29424         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29425         Undefine after defining function.  Define as weak alias of
29426         __wcschr.  Use libc_hidden_weak.
29427         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29428         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29429         (libc_hidden_def): Also define __GI___wcschr alias.
29430         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29431         __wcschr and define as weak alias of __wcschr.
29432         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29433         __wcschr.
29434         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29435         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29436         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29437         libc_hidden_weak.  Do not use libc_hidden_def.
29438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29439         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29440         __GI___wcschr alias.
29441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29442         [IS_IN (libc)] (wcschr): Define as macro expanding to
29443         __redirect_wcschr.
29444         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29445         [IS_IN (libc)] (__wcschr_power6): Likewise.
29446         [IS_IN (libc)] (__wcschr_power7): Likewise.
29447         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29448         instead of wcschr.
29449         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29450         __libc_wcschr.
29451         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29452         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29453         __wcschr and define as weak alias of __wcschr.  Use
29454         libc_hidden_builtin_def.
29455         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29456         as weak alias of __wcschr.  Use libc_hidden_weak.
29457         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29458         wcschr.
29459         * time/era.c (_nl_init_era_entries): Likewise.
29460         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29461         variable.
29462         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29463         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29465 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29467         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29468         format for long int variable.
29470 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29472         [BZ #10672]
29473         * manual/search.texi: (Array Sort Function): Remove claim how to make
29474         qsort stable.
29476 2014-12-10  Andreas Schwab  <schwab@suse.de>
29478         [BZ #12847]
29479         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29480         user-controlled locks.
29482 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29484         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29485         register.
29487 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29489         * configure.ac (--disable-werror): New configure option.
29490         (enable_werror): New AC_SUBST.
29491         * configure: Regenerated.
29492         * config.make.in (enable-werror): New variable.
29493         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29494         -Wno-error=undef.
29495         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29496         * manual/install.texi (Configuring and compiling): Document
29497         --disable-werror.
29498         * INSTALL: Regenerated.
29499         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29500         (CFLAGS-tst-chk2.c): Likewise.
29501         (CFLAGS-tst-chk3.c): Likewise.
29502         (CFLAGS-tst-chk4.cc): Likewise.
29503         (CFLAGS-tst-chk5.cc): Likewise.
29504         (CFLAGS-tst-chk6.cc): Likewise.
29505         (CFLAGS-tst-lfschk1.c): Likewise.
29506         (CFLAGS-tst-lfschk2.c): Likewise.
29507         (CFLAGS-tst-lfschk3.c): Likewise.
29508         (CFLAGS-tst-lfschk4.cc): Likewise.
29509         (CFLAGS-tst-lfschk5.cc): Likewise.
29510         (CFLAGS-tst-lfschk6.cc): Likewise.
29512         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29513         (main): Disable -Wdeprecated-declarations around calls to
29514         register_printf_function.
29516         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29517         (do_test): Disable -Wdiv-by-zero around some calls to
29518         fwrite_unlocked and fread_unlocked.
29520         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29521         (DIAG_POP_NEEDS_COMMENT): Likewise.
29522         (_DIAG_STR1): Likewise.
29523         (_DIAG_STR): Likewise.
29524         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29525         * stdio-common/bug21.c: Include <libc-internal.h>.
29526         (do_test): Disable -Wformat around call to sscanf.
29527         * stdio-common/scanf14.c: Include <libc-internal.h>.
29528         (main): Disable -Wformat around some calls to scanf functions.
29530 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29532         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29534 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29536         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29537         stack variable alignment.
29539 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29541         [BZ #17682]
29542         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29543         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29544         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29545         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29546         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29547         __getrlimit instead of getrlimit.
29548         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29549         __gettimeofday instead of gettimeofday.
29550         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29551         Likewise.
29552         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29553         Likewise.
29554         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29555         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29556         Remove variable.
29557         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29558         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29560 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29562         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29563         for wide-character tests.
29565 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29567         * io/openat64.c: #include <libc-internal.h>
29568         (__openat64): Prototypify.  Use ignore_value on MODE.
29569         * io/openat.c: Likewise.
29570         * misc/reboot.c: #include <libc-internal.h>
29571         (reboot): Prototypify.  Use ignore_value on HOWTO.
29572         * misc/ptrace.c: #include <libc-internal.h>
29573         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29575 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29577         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29578         XPG4, UNIX98 and XOPEN2K.
29579         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29580         Remove variable.
29581         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29583 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29585         * libio/fileops.c: Use ISO C style for function definitions.
29586         * libio/iofopen.c: Likewise.
29587         * libio/wfileops.c: Likewise.
29589         [BZ #17653]
29590         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29591         offset on EOF.
29592         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29593         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29594         (fgets_func): Function pointer to fgets and fgetws.
29595         (do_ftell_test): Add test to verify ftell value after read
29596         EOF.
29597         (do_test): Set fgets_func.
29599         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29600         O_TRUNC flag for w and w+ modes.
29601         (do_rewind_test): Likewise.
29602         (do_ftell_test): Likewise.
29603         (do_write_test): Likewise.
29605         [BZ #17647]
29606         * libio/fileops.c (do_ftell): Seek only when there are
29607         unflushed writes.
29608         * libio/wfileops.c (do_ftell_wide): Likewise.
29609         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29610         test case.
29611         (do_one_test): Call it.
29613 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29615         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29616         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29617         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29618         Remove variable.
29619         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29620         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29621         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29623 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29625         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29626         Remove variable.
29627         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29629         [BZ #17668]
29630         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29631         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29632         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29633         __freeifaddrs.  Use libc_hidden_weak.
29634         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29635         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29636         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29637         __freeifaddrs.  Use libc_hidden_weak.
29638         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29639         __getifaddrs and define as weak alias of __getifaddrs.  Use
29640         libc_hidden_weak.
29641         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29642         __freeifaddrs.  Use libc_hidden_weak.
29643         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29644         Remove variable.
29645         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29646         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29648 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29650         [BZ #17601]
29651         * sysdeps/mips/start.S (__start): Use indirect jump to call
29652         __libc_start_main.
29654 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29656         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29658         * nptl/tst-mutex1.c: Include <stdbool.h>.
29659         [!ATTR] (ATTR_NULL): New macro.
29660         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29661         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29662         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29664         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29665         to char *.
29667         [BZ #17665]
29668         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29669         Change conditional to [__USE_MISC].
29671         [BZ #17664]
29672         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29673         fgets_unlocked.
29674         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29675         __fgets_unlocked.
29676         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29677         fgets_unlocked.
29678         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29679         Remove variable.
29680         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29681         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29682         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29683         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29684         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29685         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29686         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29687         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29688         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29690         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29692 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29694         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29695         Remove strpbrk objects.
29696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29697         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29698         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29699         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29700         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29701         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29704         Remove strcspn objects.
29705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29706         (__libc_ifunc_impl_list): Remove strcspn implementation.
29707         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29708         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29709         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29710         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29712         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29713         Remove strspn objetcs.
29714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29715         (__libc_ifunc_impl_list): Remove strspn implementation.
29716         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29717         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29718         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29719         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29721 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29723         [BZ #17581]
29724         * malloc/hooks.c
29725         (mem2mem_check): Add a terminator to the chain of checking blocks.
29726         (malloc_check_get_size): Use it here.
29727         (mem2chunk_check): Ditto.
29729 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29731         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29732         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29734 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29736         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29738         * nptl/nptl-init.c: Include libc-internal.h.
29739         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29741         * elf/ldconfig.c (search_dir): Expand comment.
29743 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29745         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29746         variable.
29747         (linknamespace-symlist-stdlibs-tests): Likewise.
29748         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29749         instead of $(objpfx)symlist-stdlibs.
29750         (linknamespace-libs-isoc): New variable.
29751         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29752         (linknamespace-libs-ISO): New variable.
29753         (linknamespace-libs-ISO99): Likewise.
29754         (linknamespace-libs-ISO11): Likewise.
29755         (linknamespace-libs-XPG3): Likewise.
29756         (linknamespace-libs-XPG4): Likewise.
29757         (linknamespace-libs-POSIX): Likewise.
29758         (linknamespace-libs-UNIX98): Likewise.
29759         (linknamespace-libs-XOPEN2K): Likewise.
29760         (linknamespace-libs-POSIX2008): Likewise.
29761         (linknamespace-libs-XOPEN2K8): Likewise.
29762         ($(objpfx)symlist-stdlibs): Replace by
29763         $(linknamespace-symlist-stdlibs-tests).  Use
29764         $(linknamespace-libs-$*) as set of libraries.
29765         ($(linknamespace-header-tests)): Update dependencies.  Use
29766         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29767         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29768         * conform/linknamespace.pl: Remove comment about considering
29769         definitions of symbols from irrelevant libraries.
29771 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29773         [BZ #13862]
29774         * elf/dl-tls.c: Include <atomic.h>.
29775         (oom): Remove #ifdef SHARED/#endif.
29776         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29777         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29778         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29779         big enough.
29780         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29781         * nptl/Makefile (tests): Add tst-stack4.
29782         (modules-names): Add tst-stack4mod.
29783         ($(objpfx)tst-stack4): New.
29784         (tst-stack4mod.sos): Likewise.
29785         ($(objpfx)tst-stack4.out): Likewise.
29786         ($(tst-stack4mod.sos)): Likewise.
29787         (clean): Likewise.
29788         * nptl/tst-stack4.c: New file.
29789         * nptl/tst-stack4mod.c: Likewise.
29791 2014-11-27  J. Brown  <jb999@gmx.de>
29793         * sysdeps/x86/bits/string.h: Add recent CPUs.
29795 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29797         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
29798         sigblock.
29800         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
29801         feof.
29803         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
29804         variable.
29806 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
29808         * nscd/connections.c: Include libc-internal.h because of macro
29809         usage ignore_value.
29811 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29813         * string/bits/string3.h (__warn_memset_zero_len): Don't
29814         declare for gcc newer than 5.0.
29815         (memset): Don't test for zero-length __LEN for gcc newer than
29816         5.0.
29818 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29820         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
29821         size_t for %zu format.
29823         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
29824         difference, not %ju.
29826 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29828         * include/libc-internal.h (ignore_value): New macro.
29829         * nscd/connections.c (restart): Wrap calls to setuid and setgid
29830         with ignore_value.
29832         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
29833         definition.
29835         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
29836         pthread_cleanup_push to void *.
29838         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
29839         Undefine.
29841         [BZ #16619]
29842         [BZ #16740]
29843         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
29844         instead of 1L << 52.
29846         * libio/bug-rewind.c (do_test): Check fwscanf return values.
29847         * libio/bug-rewind2.c (do_test): Likewise.
29849         * debug/test-stpcpy_chk-ifunc.c: Remove file.
29850         * debug/test-strcpy_chk-ifunc.c: Likewise.
29851         * wcsmbs/test-wcschr-ifunc.c: Likewise.
29852         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29853         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29854         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29855         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29856         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29857         * Rules [$(multi-arch) = no] (tests): Do not filter out
29858         $(tests-ifunc).
29859         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
29860         * debug/Makefile (tests-ifunc): Remove variable.
29861         (tests): Do not add $(tests-ifunc).
29862         * wcsmbs/Makefile (tests-ifunc): Remove variable.
29863         (tests): Do not add $(tests-ifunc).
29864         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
29865         [TEST_IFUNC]: Remove conditionals.
29866         * string/test-string.h (TEST_IFUNC): Remove macro.
29867         [TEST_IFUNC]: Remove conditionals.
29869         * string/test-strchr.c [!WIDE] (L): New macro.
29870         [WIDE] (L): Likewise.
29871         (check1): Use CHAR instead of char.  Use L on string and character
29872         constants.
29874 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
29876         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
29877         tests.
29878         * sysdeps/powerpc/bits/atomic.h
29879         (__arch_atomic_exchange_and_add_32_acq): Add definition.
29880         (__arch_atomic_exchange_and_add_32_rel): Likewise.
29881         (atomic_exchange_and_add_acq): Likewise.
29882         (atomic_exchange_and_add_rel): Likewise.
29883         * sysdeps/powerpc/powerpc32/bits/atomic.h
29884         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29885         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29886         * sysdeps/powerpc/powerpc64/bits/atomic.h
29887         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29888         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29890 2014-11-26  Torvald Riegel  <triegel@redhat.com>
29892         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
29893         Change synchronization of __sched_fifo_min_prio and
29894         __sched_fifo_max_prio.
29895         * nptl/pthread_mutexattr_getprioceiling.c
29896         (pthread_mutexattr_getprioceiling): Likewise.
29897         * nptl/pthread_mutexattr_setprioceiling.c
29898         (pthread_mutexattr_setprioceiling): Likewise.
29899         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29900         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
29901         Likewise.
29903 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29905         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
29906         void.
29908 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29910         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
29911         third argument const.
29913 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
29915         fnmatch: work around GCC compiler warning bug with uninit var
29916         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
29917         This works around a bug with x86-64 GCC 4.9.2 and earlier
29918         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
29919         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
29920         used uninitialized in this function [-Wmaybe-uninitialized]".
29922 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29924         * posix/bug-regex31.c (main): Return RES not 0.
29926 2014-11-25  Anton Blanchard <anton@samba.org>
29928         * sysdeps/powerpc/bits/atomic.h
29929         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
29931 2014-11-24  Sterling Augustine  <saugustine@google.com>
29933         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
29935 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
29937         [BZ #17608]
29938         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
29940 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
29942         [BZ #17633]
29943         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
29944         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
29945         variable.
29946         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29947         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29949 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29951         * string/strncpy.c (strncpy): Improve performance by using memset.
29953 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29955         * string/strcpy.c (strcpy):
29956         Improve performance by using strlen and memcpy.
29958 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
29960         * string/strcoll_l.c (get_next_seq): __always_inline.
29961         * string/strcoll_l.c (do_compare): __always_inline.
29963 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29965         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
29966         defined.
29967         * include/mqueue.h: Likewise.
29968         * include/stdlib.h: Likewise.
29970         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
29971         (get_null_defines): Adjust.
29972         * sunrpc/Makefile: Adjust comment.
29973         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
29974         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
29975         (CFLAGS-interp.c): Likewise.
29976         (CFLAGS-ldconfig.c): Likewise.
29977         (CPPFLAGS-.os): Likewise.
29978         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29979         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29980         * extra-modules.mk (extra-modules.mk): Likewise.
29981         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29982         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29983         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29984         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29985         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29986         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29987         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29988         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29989         * iconvdata/Makefile (CPPFLAGS): Likewise.
29990         (cpp-srcs-left): Add libof for all iconvdata routines.
29991         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29992         * include/assert.h: Likewise.
29993         * include/ctype.h: Likewise.
29994         * include/errno.h: Likewise.
29995         * include/libc-symbols.h: Likewise.
29996         * include/math.h: Likewise.
29997         * include/netdb.h: Likewise.
29998         * include/resolv.h: Likewise.
29999         * include/stdio.h: Likewise.
30000         * include/stdlib.h: Likewise.
30001         * include/string.h: Likewise.
30002         * include/sys/stat.h: Likewise.
30003         * include/wctype.h: Likewise.
30004         * intl/l10nflist.c: Likewise.
30005         * libidn/idn-stub.c: Likewise.
30006         * libio/libioP.h: Likewise.
30007         * nptl/libc_multiple_threads.c: Likewise.
30008         * nptl/pthreadP.h: Likewise.
30009         * posix/regex_internal.h: Likewise.
30010         * resolv/res_hconf.c: Likewise.
30011         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30012         * sysdeps/arm/memmove.S: Likewise.
30013         * sysdeps/arm/sysdep.h: Likewise.
30014         * sysdeps/generic/_itoa.h: Likewise.
30015         * sysdeps/generic/symbol-hacks.h: Likewise.
30016         * sysdeps/gnu/errlist.awk: Likewise.
30017         * sysdeps/gnu/errlist.c: Likewise.
30018         * sysdeps/i386/i586/memcpy.S: Likewise.
30019         * sysdeps/i386/i586/memset.S: Likewise.
30020         * sysdeps/i386/i686/memcpy.S: Likewise.
30021         * sysdeps/i386/i686/memmove.S: Likewise.
30022         * sysdeps/i386/i686/mempcpy.S: Likewise.
30023         * sysdeps/i386/i686/memset.S: Likewise.
30024         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30025         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30026         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30027         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30028         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30029         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30030         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30031         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30032         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30033         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30034         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30035         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30036         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30037         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30038         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30039         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30040         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30041         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30042         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30043         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30044         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30045         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30046         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30047         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30048         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30049         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30050         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30051         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30052         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30053         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30054         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30055         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30056         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30057         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30058         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30059         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30060         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30061         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30062         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30063         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30064         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30065         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30066         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30067         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30068         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30069         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30070         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30071         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30072         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30073         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30074         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30075         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30076         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30077         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30078         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30079         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30080         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30081         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30082         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30083         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30084         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30085         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30086         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30087         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30088         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30089         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30090         * sysdeps/posix/closedir.c: Likewise.
30091         * sysdeps/posix/opendir.c: Likewise.
30092         * sysdeps/posix/readdir.c: Likewise.
30093         * sysdeps/posix/rewinddir.c: Likewise.
30094         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30095         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30096         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30097         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30098         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30099         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30100         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30101         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30102         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30104         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30105         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30106         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30107         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30108         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30109         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30110         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30111         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30112         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30113         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30114         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30115         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30116         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30117         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30118         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30119         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30120         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30122         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30129         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30130         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30131         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30132         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30133         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30134         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30135         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30136         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30137         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30138         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30139         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30140         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30141         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30142         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30143         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30144         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30145         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30146         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30147         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30148         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30149         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30150         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30151         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30152         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30153         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30154         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30155         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30156         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30157         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30158         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30159         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30160         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30161         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30162         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30163         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30164         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30165         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30166         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30167         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30168         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30169         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30170         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30171         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30172         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30173         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30174         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30175         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30176         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30177         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30178         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30179         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30180         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30181         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30182         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30183         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30184         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30185         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30186         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30187         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30188         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30189         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30190         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30191         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30192         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30193         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30194         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30195         * sysdeps/unix/alpha/sysdep.S: Likewise.
30196         * sysdeps/unix/alpha/sysdep.h: Likewise.
30197         * sysdeps/unix/make-syscalls.sh: Likewise.
30198         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30199         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30200         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30201         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30202         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30203         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30204         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30205         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30206         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30207         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30208         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30209         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30210         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30211         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30212         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30213         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30214         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30215         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30216         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30217         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30218         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30219         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30220         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30221         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30222         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30223         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30224         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30227         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30228         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30229         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30230         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30231         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30232         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30233         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30235         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30236         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30237         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30238         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30239         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30240         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30241         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30242         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30243         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30244         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30245         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30246         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30247         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30248         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30249         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30250         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30251         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30252         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30253         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30254         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30256         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30257         * sysdeps/x86_64/memcpy.S: Likewise.
30258         * sysdeps/x86_64/memmove.c: Likewise.
30259         * sysdeps/x86_64/memset.S: Likewise.
30260         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30261         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30262         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30263         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30264         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30265         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30266         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30267         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30268         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30269         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30270         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30271         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30272         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30273         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30274         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30275         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30276         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30277         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30278         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30279         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30280         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30281         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30282         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30283         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30284         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30285         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30286         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30287         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30288         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30289         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30290         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30291         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30292         * sysdeps/x86_64/strcmp.S: Likewise.
30294         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30296         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30297         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30298         * elf/rtld-Rules: Likewise.
30299         * elf/setup-vdso.h: Likewise.
30300         * include/assert.h: Likewise.
30301         * include/bits/stdlib-float.h: Likewise.
30302         * include/errno.h: Likewise.
30303         * include/sys/stat.h: Likewise.
30304         * include/unistd.h: Likewise.
30305         * sysdeps/aarch64/setjmp.S: Likewise.
30306         * sysdeps/alpha/setjmp.S: Likewise.
30307         * sysdeps/arm/__longjmp.S: Likewise.
30308         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30309         * sysdeps/arm/setjmp.S: Likewise.
30310         * sysdeps/arm/sysdep.h: Likewise.
30311         * sysdeps/generic/_itoa.h: Likewise.
30312         * sysdeps/generic/dl-sysdep.h: Likewise.
30313         * sysdeps/generic/ldsodefs.h: Likewise.
30314         * sysdeps/i386/dl-tls.h: Likewise.
30315         * sysdeps/i386/setjmp.S: Likewise.
30316         * sysdeps/m68k/setjmp.c: Likewise.
30317         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30318         * sysdeps/mach/hurd/opendir.c: Likewise.
30319         * sysdeps/posix/getcwd.c: Likewise.
30320         * sysdeps/posix/opendir.c: Likewise.
30321         * sysdeps/posix/profil.c: Likewise.
30322         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30323         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30324         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30325         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30326         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30327         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30328         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30329         * sysdeps/s390/dl-tls.h: Likewise.
30330         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30331         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30332         * sysdeps/sh/sh3/setjmp.S: Likewise.
30333         * sysdeps/sh/sh4/setjmp.S: Likewise.
30334         * sysdeps/unix/alpha/sysdep.h: Likewise.
30335         * sysdeps/unix/arm/sysdep.S: Likewise.
30336         * sysdeps/unix/i386/sysdep.S: Likewise.
30337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30338         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30339         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30340         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30341         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30342         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30343         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30344         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30345         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30346         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30347         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30348         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30349         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30352         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30353         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30354         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30355         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30356         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30357         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30358         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30359         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30360         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30361         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30362         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30364         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30365         * sysdeps/x86_64/setjmp.S: Likewise.
30367         * include/math.h: Use IS_IN instead of IS_IN_libm.
30368         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30369         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30370         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30371         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30372         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30373         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30374         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30375         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30376         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30377         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30378         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30379         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30380         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30381         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30382         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30383         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30384         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30385         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30386         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30387         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30388         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30389         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30390         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30391         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30392         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30393         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30394         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30395         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30396         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30397         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30398         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30399         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30400         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30402         Likewise.
30403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30404         Likewise.
30405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30406         Likewise.
30407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30408         Likewise.
30409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30410         Likewise.
30411         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30412         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30413         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30414         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30415         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30416         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30422         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30423         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30424         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30425         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30426         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30427         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30428         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30429         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30430         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30431         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30432         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30433         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30434         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30435         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30437         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30439         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30440         * nptl/pthreadP.h: Likewise.
30441         * nptl_db/structs.def: Likewise.
30442         * sysdeps/arm/sysdep.h: Likewise.
30443         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30444         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30445         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30446         * sysdeps/unix/alpha/sysdep.h: Likewise.
30447         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30448         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30449         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30450         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30451         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30452         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30453         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30454         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30455         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30456         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30457         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30458         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30459         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30460         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30463         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30464         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30465         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30468         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30469         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30470         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30471         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30472         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30474         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30475         * nptl/pthreadP.h: Likewise.
30476         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30477         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30478         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30479         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30480         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30481         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30482         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30483         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30484         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30485         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30486         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30487         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30489         Likewise.
30490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30491         Likewise.
30492         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30493         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30494         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30495         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30496         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30497         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30498         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30499         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30501         * dlfcn/dladdr.c: Use IS_IN.
30502         * dlfcn/dladdr1.c: Likewise.
30503         * dlfcn/dlclose.c: Likewise.
30504         * dlfcn/dlerror.c: Likewise.
30505         * dlfcn/dlinfo.c: Likewise.
30506         * dlfcn/dlmopen.c: Likewise.
30507         * dlfcn/dlopen.c: Likewise.
30508         * dlfcn/dlsym.c: Likewise.
30509         * dlfcn/dlvsym.c: Likewise.
30511         * include/ifaddrs.h: Use IS_IN.
30512         * inet/check_pf.c: Likewise.
30513         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30514         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30516         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30517         IS_IN_ldconfig.
30518         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30519         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30521         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30522         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30523         IS_IN (libc).
30525         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30527         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30528         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30529         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30530         * include/libc-symbols.h (IS_IN_LIB): New macro.
30531         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30532         * include/netdb.h: Likewise.
30533         * include/stap-probe.h: Remove all uses of IN_LIB.
30535         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30536         instead of IN_MODULE.
30537         * include/libc-symbols.h (IN_MODULE): Define using
30538         MODULE_NAME.
30539         (PASTE_NAME, PASTE_NAME1): New macros.
30540         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30541         of IN_LIB.
30542         (STAP_PROBE_ASM): Likewise.
30544 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30546         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30547         __mach_init in dlopened libc.
30549 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30551         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30552         * sysdeps/arm/preconfigure: Regenerate.
30554 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30556         * nptl/pthread_create.c (__pthread_create_2_1): Set
30557         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30558         when copying values from IATTR into PD.
30560 2014-11-21  Will Newton  <will.newton@linaro.org>
30561             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30563         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30564         Refactor inline-asm.  Also add comment.
30566         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30567         ElfW macro instead of hardcoded Elf64 types.
30568         (la_aarch64_gnu_pltenter): Likewise.
30569         * sysdeps/aarch64/dl-machine.h
30570         (elf_machine_runtime_setup): Use ElfW(Addr).
30572         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30573         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30574         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30575         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30576         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30577         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30578         (R_AARCH64_TLS_DTPMOD): This.
30579         (R_AARCH64_TLS_DTPREL64): Rename to ...
30580         (R_AARCH64_TLS_DTPREL): This.
30581         (R_AARCH64_TLS_TPREL64): Rename to ...
30582         (R_AARCH64_TLS_TPREL): This.
30583         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30584         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30585         R_AARCH64_TLS_TPREL64.
30586         (elf_machine_rela): Likewise.
30588 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30590         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30591         by setting it to 0.  64b atomics are not supported currently.
30593 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30595         [BZ #16469]
30596         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30597         search domain names.
30599 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30601         [BZ #16469]
30602         * NEWS: Update.
30603         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30604         trailing dot.
30605         * posix/tst-getaddrinfo5.c: New.
30606         * posix/Makefile (tests): Add it.
30608 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30610         [BZ #14498]
30611         * NEWS: Fixed.
30612         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30613         after parsing line but before break_if_match.
30614         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30615         if there is a protocol mismatch.
30617 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30619         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30620         because the potential race is on the user-supplied stream.
30622 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30624         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30625         string literal if not passed a buffer.
30626         * manual/job.texi (ctermid): Update reasoning, note deviation
30627         from posix, suggest mtasurace when not passed a buffer, for
30628         future non-preliminary safety notes.
30630 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30632         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30633         of not passing it a buffer.
30634         Reported by Peng Haitao.
30636 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30638         * manual/Makefile ($(objpfx)stamp-summary): Require
30639         check-safety.sh to pass.
30640         * manual/check-safety.sh: Wish for verification that every
30641         @deftypefn and @deftypefun is followed by a @safety remark.
30643 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30645         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30647         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30648         PTHREAD_CANCEL_ASYNCHRONOUS.
30649         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30650         send SIGCANCEL.
30652         * nptl/default-sched.h: New file.
30653         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30654         * nptl/pthread_create.c: Include it.
30655         (__pthread_create_2_1): Use collect_default_sched instead of making
30656         Linux syscalls here directly.
30658 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30660         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30661         __pthread_once): Use C11 atomics.
30663 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30665         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30667 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30669         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30670         atomic_thread_fence_acquire, atomic_thread_fence_release,
30671         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30672         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30673         atomic_compare_exchange_weak_relaxed,
30674         atomic_compare_exchange_weak_acquire,
30675         atomic_compare_exchange_weak_release,
30676         atomic_exchange_acquire, atomic_exchange_release,
30677         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30678         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30679         atomic_fetch_and_acquire,
30680         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30682 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30684         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30685         USE_ATOMIC_COMPILER_BUILTINS): Define.
30686         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30687         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30688         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30690         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30692         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30694         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30696         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30697         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30698         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30700         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30702         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30704         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30706         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30708         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30710         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30712         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30714         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30716         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30718         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30720         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30721         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30722         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30724         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30727 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30729         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30730         the sched_priority value here.  It was already checked when the user
30731         called pthread_attr_setschedparam.
30733         * nptl/tst-bad-schedattr.c: New file.
30734         * nptl/Makefile (tests): Add it.
30736 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30737             Florian Weimer  <fweimer@redhat.com>
30738             Joseph Myers  <joseph@codesourcery.com>
30739             Adam Conrad  <adconrad@0c3.net>
30740             Andreas Schwab  <schwab@suse.de>
30741             Brooks  <bmoses@google.com>
30743         [BZ #17625]
30744         * wordexp-test.c (__dso_handle): Add prototype.
30745         (__register_atfork): Likewise.
30746         (__app_register_atfork): New function.
30747         (registered_forks): New global.
30748         (register_fork): New function.
30749         (test_case): Add 3 new tests for WRDE_CMDSUB.
30750         (main): Call __app_register_atfork.
30751         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30752         fork count is non-zero fail the test.
30753         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30754         is set.
30755         (parse_dollars): Remove check for WRDE_NOCMD.
30756         (parse_dquote): Likewise.
30758 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30760         * Makeconfig (built-modules): List non-library modules to be
30761         built.
30762         (module-cppflags): Include libc-modules.h for
30763         everything except shlib-versions.v.i.
30764         (CPPFLAGS): Use it.
30765         (before-compile): Add libc-modules.h.
30766         ($(common-objpfx)libc-modules.h,
30767         $(common-objpfx)libc-modules.stmp): New targets.
30768         (common-generated): Add libc-modules.h and libc-modules.stmp.
30769         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30770         * include/libc-symbols.h: Don't include libc-modules.h.
30771         * include/libc-modules.h: Remove file.
30772         * scripts/gen-libc-modules.awk: New script to generate
30773         libc-modules.h.
30774         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30775         Depend on libc-modules.stmp.
30777         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30779         * Makeconfig (in-module): Get value of libof set for the
30780         translation unit.
30781         (CPPFLAGS): Use $(in-module).
30782         * Makerules: Don't suffix routine names for nonlib.
30783         * include/libc-modules.h: New file.
30784         * include/libc-symbols.h: Include libc-modules.h
30785         (IS_IN): New macro to replace IS_IN_* macros.
30786         * elf/Makefile: Set libof-* for each routine.
30787         * elf/rtld-Rules: Likewise.
30788         * extra-modules.mk: Likewise.
30789         * iconv/Makefile: Likewise.
30790         * iconvdata/Makefile: Likewise.
30791         * locale/Makefile: Likewise.
30792         * malloc/Makefile: Likewise.
30793         * nss/Makefile: Likewise.
30794         * sysdeps/gnu/Makefile: Likewise.
30795         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30796         * sysdeps/unix/sysv/linux/Makefile: Likewise.
30797         * sysdeps/s390/s390-64/Makefile: Likewise.
30798         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
30799         CPPFLAGS for nscd instead of nonlib.
30801 2014-11-18  Roland McGrath  <roland@hack.frob.com>
30803         * nptl/createthread.c: New file.
30805         * nptl/createthread.c: Moved ...
30806         * sysdeps/unix/sysv/linux/createthread.c: ... here.
30808         * nptl/createthread.c: Add proper top-line comment.
30809         (do_clone): Folded into ...
30810         (create_thread): ... here.  Take new arguments STOPPED_START and
30811         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
30812         increment __nptl_threads, do event-reporting logic, do
30813         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
30814         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
30815         resource cleanup if sched_setaffinity or sched_setscheduler fails,
30816         just send SIGCANCEL.
30817         * nptl/pthread_create.c: Forward-declare create_thread before
30818         including createthread.c.
30819         (start_thread): Use new macro START_THREAD_DEFN to replace defining
30820         declaration, and new macro START_THREAD_SELF to replace argument.
30821         Remove return statement.
30822         (report_thread_creation): New function.
30823         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
30824         synchronization logic, and __nptl_nthreads increment here, around
30825         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
30826         PD->parent_cancelhandling here, before create_thread.  When
30827         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
30828         __deallocate_stack, and ENOMEM translation here.
30830 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
30832         [BZ #17616]
30833         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
30834         (mptwo): Rename to __mptwo.
30835         (__inv): Use __mptwo instead of mptwo.
30836         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
30837         (mptwo): Rename to __mptwo.
30838         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
30839         of mpone and __mptwo instead of mptwo.
30840         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
30841         instead of mpone.
30842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30843         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
30844         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
30845         of mpone and __mptwo instead of mptwo.
30846         (__mpranred): Use __mpone instead of mpone.
30847         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
30848         variable.
30849         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30850         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30851         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30852         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30853         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30854         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30855         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30856         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30857         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30858         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30859         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30860         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30861         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30862         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30863         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30864         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30865         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30866         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30867         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30869 2014-11-18  Tom de Vries  <tom@codesoucery.com>
30871         * manual/signal.texi (Primitives Interrupted by Signals): In section,
30872         replace BSD Handler xref with BSD Signal Handling.
30874 2014-11-17  Richard Henderson  <rth@redhat.com>
30876         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
30877         (_FP_PACK_RAW_2): Remove.
30878         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
30879         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
30880         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
30881         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
30882         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
30883         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
30884         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
30885         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
30886         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
30887         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
30888         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
30889         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
30890         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
30891         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
30892         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
30893         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
30895 2014-11-14  Roland McGrath  <roland@hack.frob.com>
30897         * signal/signal.h [__USE_MISC]
30898         (struct sigvec): Remove type.
30899         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
30900         (sigvec): Remove declaration.
30901         * sysdeps/posix/sigvec.c: Moved ...
30902         * signal/sigvec.c: ... here, replacing old file.
30903         (struct sigvec): New type, copied from old signal.h definition.
30904         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
30905         (__sigvec): Convert definition to prototype.
30906         (sigvec): Replace weak_alias with compat_symbol.
30907         * signal/Versions (libc: GLIBC_2.21): New version set.
30908         * include/signal.h: Remove __sigvec declaration.
30909         * sysdeps/unix/bsd/sigvec.c: Remove file.
30910         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
30911         * manual/signal.texi (BSD Handler): Remove subsection.
30912         Move siginterrupt up to ...
30913         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
30914         (Blocking in BSD): Fold subsection into its parent.
30915         * NEWS: Mention sigvec removal.
30917 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30919         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
30920         (DLA_FMS): Make definition conditional only on [__FMA4__].
30921         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
30922         definition.
30924         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
30925         Make definition conditional only on [PROF].
30926         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
30927         definition.
30928         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
30929         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
30931         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
30932         !__GNUC__].
30933         * include/signal.h (__sigpause): Move declaration above call to
30934         libc_hidden_proto.
30935         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
30936         variable.
30937         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30938         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30940 2014-11-14  David S. Miller  <davem@davemloft.net>
30942         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
30943         Define before including <string/memcpy.c> and <string/mempcpy.c>.
30945 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30947         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
30948         * configure: Regenerated.
30949         * manual/install.texi (Tools for Compilation): Document a
30950         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30951         compiler verified to work.
30952         * INSTALL: Regenerated.
30954         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
30955         redeclare with asm name.
30956         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
30957         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30958         including <string.h>.
30959         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30960         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
30961         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30962         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
30963         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30964         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30965         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30967 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
30969         * stdlib/strtol.c (__strtol): Use prototype definition.
30971         [BZ #17594]
30972         * stdlib/strtol.c (SYM__): New macro.
30973         (SYM__1): Likewise.
30974         (__strtol): Likewise.
30975         (strtol): Rename to __strtol and define as weak alias of
30976         __strtol.  Use libc_hidden_weak.
30978 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30980         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30981         Use numbered labels in inline assembly.
30983 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30985         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30986         Add setjmp LIBC_PROBE.
30987         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30988         Likewise.
30989         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30990         Add longjmp, longjmp_target LIBC_PROBE.
30991         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30992         Likewise.
30994 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30996         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30997         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30998         to get rid of unused variable warning.
31000 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31002         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31003         Check for unwind_backtrace ==  NULL only in SHARED case.
31004         (__backchain_backtrace): Compile only in SHARED case.
31005         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31006         Likewise.
31007         (__backchain_backtrace): Declare as static.
31009 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31011         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31012         (__libc_multiple_threads_ptr): Variable moved ...
31013         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31015 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31017         * conform/GlibcConform.pm: New file.
31018         * conform/conformtest.pl: Use GlibcConform module.
31019         * conform/linknamespace.pl: New file.
31020         * conform/list-header-symbols.pl: Likewise.
31021         * conform/Makefile (linknamespace-symlists-base): New variable.
31022         (linknamespace-symlists-tests): Likewise.
31023         (linknamespace-header-base): Likewise.
31024         (linknamespace-header-tests): Likewise.
31025         (tests-special): Add new tests.
31026         ($(linknamespace-symlists-tests)): New rule.
31027         (linknamespace-libs): New variable.
31028         ($(objpfx)symlist-stdlibs): New rule.
31029         ($(linknamespace-header-tests)): Likewise.
31030         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31031         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31032         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31033         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31034         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31035         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31036         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31037         (test-xfail-ISO/math.h/linknamespace): Likewise.
31038         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31039         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31040         (test-xfail-ISO/time.h/linknamespace): Likewise.
31041         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31042         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31043         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31044         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31045         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31046         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31047         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31048         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31049         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31050         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31051         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31052         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31053         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31054         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31055         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31056         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31057         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31058         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31059         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31060         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31061         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31062         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31063         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31064         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31065         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31066         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31067         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31068         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31069         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31070         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31071         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31072         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31073         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31074         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31075         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31076         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31077         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31078         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31079         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31080         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31081         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31082         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31083         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31084         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31085         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31086         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31087         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31088         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31089         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31090         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31091         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31092         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31093         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31094         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31095         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31096         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31097         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31098         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31099         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31100         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31101         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31102         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31103         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31104         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31105         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31106         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31107         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31108         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31109         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31110         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31111         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31112         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31113         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31114         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31115         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31116         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31117         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31118         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31119         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31120         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31121         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31122         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31123         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31124         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31125         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31126         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31127         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31128         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31129         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31130         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31131         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31132         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31133         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31134         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31135         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31136         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31137         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31138         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31139         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31140         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31141         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31142         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31143         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31144         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31145         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31146         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31147         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31148         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31149         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31150         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31151         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31152         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31153         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31154         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31155         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31156         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31157         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31158         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31159         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31160         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31161         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31162         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31163         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31164         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31165         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31166         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31167         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31168         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31169         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31170         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31171         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31172         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31173         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31174         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31175         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31176         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31177         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31178         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31179         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31180         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31181         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31182         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31183         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31184         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31185         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31186         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31187         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31188         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31189         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31190         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31192         [BZ #17589]
31193         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31194         of fgets_unlocked.
31196         [BZ #17585]
31197         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31198         (memmem): Rename to __memmem and define as weak alias of
31199         __memmem.  Use libc_hidden_weak.
31200         (__memmem): Use libc_hidden_def.
31201         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31202         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31203         memmem.
31205         [BZ #17582]
31206         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31207         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31208         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31209         and define as weak alias of __fgets_unlocked.  Use
31210         libc_hidden_weak.
31211         (__fgets_unlocked): Use libc_hidden_def.
31212         * include/stdio.h (__fgets_unlocked): Declare.  Use
31213         libc_hidden_proto.
31214         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31215         __fgets_unlocked instead of fgets_unlocked.
31216         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31217         (GET_NPROCS_CONF_PARSER): Likewise.
31218         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31219         (GET_NPROCS_CONF_PARSER): Likewise.
31221         [BZ #17574]
31222         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31223         weak alias of __wmemset.  Use libc_hidden_weak.
31224         (__wmemset): Use libc_hidden_def.
31225         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31226         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31227         of wmemset.
31229         [BZ #17573]
31230         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31231         with asm name __mempcpy.
31232         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31234         [BZ #17572]
31235         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31236         and define as weak alias of __rawmemchr.
31237         (__rawmemchr): Do not define as strong alias of rawmemchr.
31239         [BZ #17571]
31240         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31241         alias of __qsort_r.
31242         (qsort): Call __qsort_r instead of qsort_r.
31243         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31244         (__qsort_r): Declare.  Call libc_hidden_proto.
31245         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31246         instead of qsort_r.
31247         * nscd/gai.c (__qsort_r): Define to qsort_r.
31248         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31249         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31250         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31252         [BZ #17570]
31253         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31254         define as weak alias of __malloc_info.
31256         [BZ #17584]
31257         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31258         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31259         (__rewinddir): Use libc_hidden_def.
31260         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31261         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31262         (__rewinddir): Use libc_hidden_def.
31263         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31264         weak alias of __rewinddir.  Don't use libc_hidden_def.
31265         (__rewinddir): Use libc_hidden_def.
31266         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31267         (__rewinddir): Use libc_hidden_proto.
31268         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31269         rewinddir.
31270         (__getcwd): Use __rewinddir instead of rewinddir.
31272         [BZ #17583]
31273         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31274         alias of __fileno.  Use libc_hidden_weak.
31275         (__fileno): Use libc_hidden_def.
31276         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31277         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31278         alias of __ftello.
31279         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31280         __ftello.
31281         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31282         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31283         libc_hidden_def.
31284         (fread_unlocked): Don't use libc_hidden_ver.
31285         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31286         and define as weak alias of __fread_unlocked.  Don't use
31287         libc_hidden_def.
31288         (__fread_unlocked): Use libc_hidden_def.
31289         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31290         (ftello): Don't use libc_hidden_proto.
31291         (__ftello): Declare.  Use libc_hidden_proto.
31292         (fread_unlocked): Don't use libc_hidden_proto.
31293         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31294         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31295         and __ftello instead of fileno, fread_unlocked and ftello.
31297 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31299         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31300         GOT12.
31301         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31302         Likewise.
31303         (_dl_start_user): Likewise.
31304         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31306 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31307             Siddhesh Poyarekar  <siddhesh@redhat.com>
31309         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31310         Move argv and envp down instead of moving argc up.
31311         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31313 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31315         [BZ #17506]
31316         * test-skeleton.c (main): Return successful if one of
31317         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31318         * string/tst-strcoll-overflow.c: Define expected status.
31320 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31322         [BZ #17475]
31323         * locale/iso-639.def: Define Bhili and Tulu language codes.
31325 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31327         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31329 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31331         [BZ #17555]
31332         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31334 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31336         * configure.ac: Updated check of minimal required version to
31337         2.22.
31338         * manual/install.texi (Tools for Compilation): Updated version
31339         number.
31340         * configure: Regenerated.
31341         * INSTALL: Likewise.
31343 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31345         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31346         __tls_get_addr.
31348 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31350         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31351         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31352         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31353         libc_hidden_weak.
31354         (waitpid): Define as alias of __waitpid.
31355         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31356         __waitpid.
31357         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31358         libc_hidden_weak.
31359         (waitpid): Define as alias of __waitpid.
31360         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31361         __libc_waitpid alias.
31362         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31363         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31364         Likewise.
31365         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31366         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31367         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31368         alias.
31369         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31370         __waitpid.
31371         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31372         libc_hidden_weak.
31373         (waitpid): Define as alias of __waitpid.
31375 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31377         * manual/llio.texi: Add comment that write safety has been
31378         fixed in Linux.
31380         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31381         (localplt-build-dso): Add elf/ld.so.
31382         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31383         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31384         and free for ld.so.
31385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31386         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31388         Likewise.
31389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31390         Likewise.
31391         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31392         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31393         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31394         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31395         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31396         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31397         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31398         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31399         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31400         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31401         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31403 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31405         [BZ #14132]
31406         * include/libc-symbols.h (INTUSE): Remove macro.
31407         (INTDEF): Likewise.
31408         (INTVARDEF): Likewise.
31409         (_INTVARDEF): Likewise.
31410         (INTDEF2): Likewise.
31411         (INTVARDEF2): Likewise.
31412         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31413         rtld_hidden_def instead of INTVARDEF.
31414         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31415         (_dl_starting_up_internal): Remove declaration.
31416         (_dl_starting_up): Use rtld_hidden_proto.
31417         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31418         declaration.
31419         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31420         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31421         _dl_starting_up.
31422         * elf/dl-writev.h (_dl_writev): Likewise.
31423         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31424         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31425         _dl_starting_up_internal.
31427 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31429         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31430         test-skeleton.c.
31432 2014-11-05  Will Newton  <will.newton@linaro.org>
31434         * benchtests/Makefile: (bench-malloc): Add malloc thread
31435         scalability benchmark.
31436         * benchtests/bench-malloc-threads.c: New file.
31438 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31440         * sysdeps/aarch64/strchrnul.S: New file.
31442 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31444         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31445         definition.
31446         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31447         Likwise.
31448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31449         Likewise.
31450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31451         Likewise.
31452         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31453         Likewise.
31454         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31455         Likewise.
31457 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31459         * catgets/test-gencat.c: Use test-skeleton.c.
31460         * catgets/tst-catgets.c: Likewise.
31461         * csu/tst-empty.c: Likewise.
31462         * elf/tst-audit2.c: Likewise.
31463         * elf/tst-global1.c: Likewise.
31464         * elf/tst-pathopt.c: Likewise.
31465         * elf/tst-piemod1.c: Likewise.
31466         * elf/tst-tls10.c: Likewise.
31467         * elf/tst-tls11.c: Likewise.
31468         * elf/tst-tls12.c: Likewise.
31469         * gnulib/tst-gcc.c: Likewise.
31470         * iconvdata/tst-e2big.c: Likewise.
31471         * iconvdata/tst-loading.c: Likewise.
31472         * iconv/tst-iconv1.c: Likewise.
31473         * iconv/tst-iconv2.c: Likewise.
31474         * inet/test-inet6_opt.c: Likewise.
31475         * inet/tst-gethnm.c: Likewise.
31476         * inet/tst-network.c: Likewise.
31477         * inet/tst-ntoa.c: Likewise.
31478         * intl/tst-codeset.c: Likewise.
31479         * intl/tst-gettext2.c: Likewise.
31480         * intl/tst-gettext3.c: Likewise.
31481         * intl/tst-ngettext.c: Likewise.
31482         * intl/tst-translit.c: Likewise.
31483         * io/test-stat.c: Likewise.
31484         * libio/test-fmemopen.c: Likewise.
31485         * libio/tst-freopen.c: Likewise.
31486         * libio/tst-sscanf.c: Likewise.
31487         * libio/tst-ungetwc1.c: Likewise.
31488         * libio/tst-ungetwc2.c: Likewise.
31489         * libio/tst-widetext.c: Likewise.
31490         * localedata/tst-ctype.c: Likewise.
31491         * localedata/tst-digits.c: Likewise.
31492         * localedata/tst-leaks.c: Likewise.
31493         * localedata/tst-mbswcs1.c: Likewise.
31494         * localedata/tst-mbswcs2.c: Likewise.
31495         * localedata/tst-mbswcs3.c: Likewise.
31496         * localedata/tst-mbswcs4.c: Likewise.
31497         * localedata/tst-mbswcs5.c: Likewise.
31498         * localedata/tst-setlocale.c: Likewise.
31499         * localedata/tst-trans.c: Likewise.
31500         * localedata/tst-wctype.c: Likewise.
31501         * localedata/tst-xlocale1.c: Likewise.
31502         * login/tst-grantpt.c: Likewise.
31503         * malloc/tst-calloc.c: Likewise.
31504         * malloc/tst-malloc.c: Likewise.
31505         * malloc/tst-mallocstate.c: Likewise.
31506         * malloc/tst-mcheck.c: Likewise.
31507         * malloc/tst-mtrace.c: Likewise.
31508         * malloc/tst-obstack.c: Likewise.
31509         * math/atest-exp2.c: Likewise.
31510         * math/atest-exp.c: Likewise.
31511         * math/atest-sincos.c: Likewise.
31512         * math/test-matherr.c: Likewise.
31513         * math/test-misc.c: Likewise.
31514         * math/test-powl.c: Likewise.
31515         * math/tst-definitions.c: Likewise.
31516         * misc/tst-dirname.c: Likewise.
31517         * misc/tst-efgcvt.c: Likewise.
31518         * misc/tst-fdset.c: Likewise.
31519         * misc/tst-hsearch.c: Likewise.
31520         * misc/tst-mntent2.c: Likewise.
31521         * nptl/tst-sem7.c: Likewise.
31522         * nptl/tst-sem8.c: Likewise.
31523         * nptl/tst-sem9.c: Likewise.
31524         * nss/test-netdb.c: Likewise.
31525         * posix/tst-fnmatch.c: Likewise.
31526         * posix/tst-getlogin.c: Likewise.
31527         * posix/tst-gnuglob.c: Likewise.
31528         * posix/tst-mmap.c: Likewise.
31529         * pwd/tst-getpw.c: Likewise.
31530         * resolv/tst-inet_ntop.c: Likewise.
31531         * rt/tst-timer.c: Likewise.
31532         * stdio-common/test-fseek.c: Likewise.
31533         * stdio-common/test-popen.c: Likewise.
31534         * stdio-common/test-vfprintf.c: Likewise.
31535         * stdio-common/tst-cookie.c: Likewise.
31536         * stdio-common/tst-fileno.c: Likewise.
31537         * stdio-common/tst-gets.c: Likewise.
31538         * stdio-common/tst-obprintf.c: Likewise.
31539         * stdio-common/tst-perror.c: Likewise.
31540         * stdio-common/tst-sprintf2.c: Likewise.
31541         * stdio-common/tst-sprintf3.c: Likewise.
31542         * stdio-common/tst-sprintf.c: Likewise.
31543         * stdio-common/tst-swprintf.c: Likewise.
31544         * stdio-common/tst-tmpnam.c: Likewise.
31545         * stdio-common/tst-unbputc.c: Likewise.
31546         * stdio-common/tst-wc-printf.c: Likewise.
31547         * stdlib/tst-environ.c: Likewise.
31548         * stdlib/tst-fmtmsg.c: Likewise.
31549         * stdlib/tst-limits.c: Likewise.
31550         * stdlib/tst-rand48-2.c: Likewise.
31551         * stdlib/tst-rand48.c: Likewise.
31552         * stdlib/tst-random2.c: Likewise.
31553         * stdlib/tst-random.c: Likewise.
31554         * stdlib/tst-strtol.c: Likewise.
31555         * stdlib/tst-strtoll.c: Likewise.
31556         * stdlib/tst-tls-atexit.c: Likewise.
31557         * stdlib/tst-xpg-basename.c: Likewise.
31558         * string/test-ffs.c: Likewise.
31559         * string/tst-bswap.c: Likewise.
31560         * string/tst-inlcall.c: Likewise.
31561         * string/tst-strtok.c: Likewise.
31562         * string/tst-strxfrm.c: Likewise.
31563         * sysdeps/x86_64/tst-audit10.c: Likewise.
31564         * sysdeps/x86_64/tst-audit3.c: Likewise.
31565         * sysdeps/x86_64/tst-audit4.c: Likewise.
31566         * sysdeps/x86_64/tst-audit5.c: Likewise.
31567         * time/tst-ftime_l.c: Likewise.
31568         * time/tst-getdate.c: Likewise.
31569         * time/tst-mktime3.c: Likewise.
31570         * time/tst-mktime.c: Likewise.
31571         * time/tst-posixtz.c: Likewise.
31572         * time/tst-strptime2.c: Likewise.
31573         * time/tst-strptime3.c: Likewise.
31574         * wcsmbs/tst-btowc.c: Likewise.
31575         * wcsmbs/tst-mbrtowc.c: Likewise.
31576         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31577         * wcsmbs/tst-wchar-h.c: Likewise.
31578         * wcsmbs/tst-wcpncpy.c: Likewise.
31579         * wcsmbs/tst-wcrtomb.c: Likewise.
31580         * wcsmbs/tst-wcsnlen.c: Likewise.
31581         * wcsmbs/tst-wcstof.c: Likewise.
31583 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31585         [BZ #14132]
31586         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31587         INTDEF.
31588         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31589         declaration.
31590         (_dl_mcount): Use rtld_hidden_proto.
31591         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31592         _dl_mcount.
31593         * elf/rtld.c (_rtld_global_ro): Likewise.
31595         [BZ #14132]
31596         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31597         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31598         of _dl_init_internal.
31599         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31600         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31601         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31602         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31603         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31604         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31605         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31606         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31607         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31608         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31609         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31610         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31611         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31612         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31613         * sysdeps/tile/dl-start.S (_start): Likewise.
31614         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31615         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31617         [BZ #14132]
31618         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31619         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31620         (rtld_progname): Make macro definition unconditional.
31621         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31622         INTDEF.
31623         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31624         (dl_main): Likewise.
31625         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31626         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31627         instead of _dl_argv_internal.
31628         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31629         __GI__dl_argv instead of INTUSE(_dl_argv).
31630         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31631         __GI__dl_argv instead of _dl_argv_internal.
31633         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31634         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31635         macro.
31636         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31637         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31638         New macro.
31639         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31640         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31641         macro.
31642         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31643         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31645 2014-11-04  Andreas Schwab  <schwab@suse.de>
31647         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31649 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31651         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31652         mtvsrd instruction in binary form.
31654 2014-11-03  Andreas Schwab  <schwab@suse.de>
31656         [BZ #17522]
31657         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31658         for less than MB_LEN_MAX use a local buffer of that size.
31659         * libio/tst-fputws.c: New file.
31660         * libio/Makefile (tests): Add tst-fputws.
31662 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31664         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31665         the size of the fpu_fr.fpu_dregs[] array.
31667 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31669         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31670         (__nanosleep): Do not define as alias.
31671         (nanosleep): Define as alias of __nanosleep.
31672         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31673         __libc_nanosleep name.
31675 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31677         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31678         install.texi in comment.
31680 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31682         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31683         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31684         ... add here and use lwsync or sync ...
31685         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31686         ... and add here using lwsync.
31688 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31690         * elf/dl-machine-reject-phdr.h: New file.
31691         * elf/dl-load.c: #include that.
31692         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31693         if that returned true.
31695 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31697         [BZ #17496]
31698         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31699         gen-as-const-headers chunk.  Add a big scare comment after the last
31700         safe place to touch before-compile.
31702 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31704         * manual/install.texi (Tools for Compilation): Update autoconf
31705         version requirements.
31706         * INSTALL: Regenerated.
31708         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31709         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31710         (__libc_pselect): Likewise.
31712         [BZ #14138]
31713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31718 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31720         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31721         correct barrier instruction.
31722         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31723         Likewise.
31724         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31725         Likewise.
31727 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31729         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31730         after defining inlines.  Instead, just use parens to defeat macro
31731         expansion of __isctype in its declaration.
31733 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31735         * include/sys/uio.h (__libc_readv): Remove declaration.
31736         (__libc_writev): Likewise.
31737         * misc/readv.c (__libc_readv): Rename to __readv.
31738         (__readv): Do not define as alias.
31739         (readv): Define as alias of __readv.
31740         * misc/writev.c (__libc_writev): Rename to __writev.
31741         (__writev): Do not define as alias.
31742         (writev): Define as alias of __writev.
31743         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31744         (__readv): Do not define as alias.
31745         (readv): Define unconditionally as alias of __readv.
31746         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31747         (__writev): Do not define as alias.
31748         (writev): Define unconditionally as alias of __writev.
31749         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31750         name.
31751         (writev): Do not define __libc_writev name.
31753 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31755         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31756         (convert_charseq): New function, broken out of ...
31757         (use_from_charmap): ... here.  Call it.
31758         (use_to_charmap): Use convert_charseq and free instead of duplicating
31759         its code with a variable-length stack struct.
31761 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31763         * include/fcntl.h (__libc_creat): Remove declaration.
31764         * io/creat.c (__libc_creat): Rename to creat.
31765         (creat): Do not define as alias.
31766         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31767         of creat instead of __libc_creat.
31768         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31769         to creat.
31770         (creat): Do not define as alias.
31771         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31772         __libc_creat.
31773         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31774         __libc_creat name.
31775         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31776         Likewise.
31778 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31780         * manual/llio.texi: Add comments discussing why write() may be
31781         considered MT-unsafe on Linux.
31783 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31785         * dl-load.c (local_strdup): Remove.
31786         (expand_dynamic_string_token): Use __strdup.
31787         (decompose_rpath): Likewise.
31788         (_dl_map_object): Likewise.
31790 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31792         [BZ #14132]
31793         * sysdeps/generic/unwind-dw2-fde.c
31794         (__register_frame_info_bases_internal): Do not declare.
31795         (__register_frame_info_table_bases_internal): Likewise.
31796         (__deregister_frame_info_bases_internal): Likewise.
31797         (__register_frame_info_bases): Declare and use hidden_proto before
31798         definition.  Use hidden_def instead of INTDEF.
31799         (__register_frame_info_table_bases): Likewise.
31800         (__deregister_frame_info_bases): Likewise.
31801         (__register_frame_info): Do not use INTUSE.
31802         (__register_frame): Likewise.
31803         (__register_frame_info_table): Likewise.
31804         (__register_frame_table): Likewise.
31805         (__deregister_frame_info): Likewise.
31806         (__deregister_frame): Likewise.
31808 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
31810         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31811         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
31812         not undefine.
31813         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
31814         Likewise.
31815         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
31816         Likewise.
31818 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
31820         [BZ #14138]
31821         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
31822         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
31823         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
31824         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
31825         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
31826         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
31827         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
31828         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
31829         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
31830         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
31831         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
31832         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
31833         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
31834         syscall.
31835         (setfsuid): Likewise.
31836         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
31837         (setfsuid): Likewise.
31838         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
31839         (setfsuid): Likewise.
31840         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
31841         Likewise.
31842         (setfsuid): Likewise.
31843         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
31844         (setfsuid): Likewise.
31845         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
31846         Likewise.
31847         (setfsuid): Likewise.
31849 2014-10-27  Andreas Schwab  <schwab@suse.de>
31851         [BZ #17501]
31852         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
31853         check for Slow_SSE4_2 feature bit.
31854         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
31855         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31856         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
31857         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
31859 2014-10-24  Roland McGrath  <roland@hack.frob.com>
31861         * configure.ac: Validate compiler version with a empirical test of
31862         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
31863         $CC -v output.
31864         * configure: Regenerated.
31866         * inet/htons.c (htons): Prototypify.
31867         * inet/htonl.c (htonl): Likewise.
31869 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31871         * string/strncat.c (strncat): Improve performance by using strlen.
31873 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31875         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
31877 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31879         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
31880         Call libc_fetestexcept_aarch64.
31882 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31884         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
31885         Call libc_feholdexcept_aarch64.
31887 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31889         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
31890         Call get_rounding_mode.
31892 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31894         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31895         Simplify logic.
31897 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31899         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
31900         Simplify logic.
31902 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
31904         [BZ #14138]
31905         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
31906         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
31907         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
31908         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
31909         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
31910         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
31911         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
31912         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
31913         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
31914         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
31915         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31916         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31917         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
31918         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
31919         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
31920         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
31921         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31922         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
31923         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
31924         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
31925         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
31926         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
31927         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
31928         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
31929         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
31930         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
31931         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
31932         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
31933         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
31934         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
31935         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
31936         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
31937         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
31938         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
31939         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
31940         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
31941         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
31942         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
31943         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
31944         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
31945         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
31946         syscall.
31947         (geteuid): Likewise.
31948         (getgid): Likewise.
31949         (getuid): Likewise.
31950         (getresgid): Likewise.
31951         (getresuid): Likewise.
31952         (getgroups): Likewise.
31953         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
31954         (geteuid): Likewise.
31955         (getgid): Likewise.
31956         (getuid): Likewise.
31957         (getresgid): Likewise.
31958         (getresuid): Likewise.
31959         (getgroups): Likewise.
31960         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
31961         (geteuid): Likewise.
31962         (getgid): Likewise.
31963         (getuid): Likewise.
31964         (getresgid): Likewise.
31965         (getresuid): Likewise.
31966         (getgroups): Likewise.
31967         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
31968         Likewise.
31969         (geteuid): Likewise.
31970         (getgid): Likewise.
31971         (getuid): Likewise.
31972         (getresgid): Likewise.
31973         (getresuid): Likewise.
31974         (getgroups): Likewise.
31975         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
31976         (geteuid): Likewise.
31977         (getgid): Likewise.
31978         (getuid): Likewise.
31979         (getresgid): Likewise.
31980         (getresuid): Likewise.
31981         (getgroups): Likewise.
31982         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31983         Likewise.
31984         (geteuid): Likewise.
31985         (getgid): Likewise.
31986         (getuid): Likewise.
31987         (getgroups): Likewise.
31989         [BZ #14138]
31990         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31991         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31992         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31993         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31994         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31995         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31996         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31997         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31998         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31999         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32000         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32001         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32002         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32003         __chown.
32004         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32005         (lchown): Likewise.
32006         (fchown): Likewise.
32007         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32008         Likewise.
32009         (lchown): Likewise.
32010         (fchown): Likewise.
32011         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32012         (lchown): Likewise.
32013         (fchown): Likewise.
32014         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32015         Likewise.
32016         (lchown): Likewise.
32017         (fchown): Likewise.
32019 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32021         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32022         Simplify logic.
32024 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32026         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32027         Cleanup logic.
32029 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32031         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32032         Remove unused include.
32034 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32036         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32037         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32038         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32039         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32041 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32042             Helge Deller <deller@gmx.de>
32044         [BZ #17508]
32045         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32046         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32047         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32049 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32051         [BZ #14132]
32052         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32053         Remove macro definition.
32054         (__ashrdi3_v_glibc20): Likewise.
32055         (__lshrdi3_v_glibc20): Likewise.
32056         (__cmpdi2_v_glibc20): Likewise.
32057         (__ucmpdi2_v_glibc20): Likewise.
32058         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32059         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32060         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32061         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32062         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32063         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32065 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32067         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32068         old GNU extension [0] syntax.
32069         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32070         alloca rather than an array member with variable length.
32071         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32072         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32073         (parse_opt): ... here.  Likewise use alloca there.
32074         Validate the -i argument before checking for rootness.
32075         (send_shutdown): New function, broken out of ...
32076         (parse_opt): ... here.
32078 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32080         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32081         macro to get at the _rt_local_ro field.
32082         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32083         ([PIC] case) or _dl_hwcap ([!PIC] case).
32084         * sysdeps/arm/setjmp.S: Likewise.
32086         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32087         * sysdeps/arm/configure.ac: New check to define it.
32088         * sysdeps/arm/configure: Regenerated.
32089         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32090         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32091         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32092         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32093         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32094         Use move/movt pair instead of a load.
32095         (LDST_GLOBAL): Macro removed.
32096         (LDR_GLOBAL): New macro replaces it.
32097         (LDR_HIDDEN): New macro.
32098         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32099         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32101         * setjmp/tst-setjmp-static.c: New file.
32102         * setjmp/Makefile (tests): Add it.
32103         (tests-static): New variable.
32105 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32107         [BZ #17485]
32108         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32110 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32112         [BZ #14132]
32113         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32115 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32117         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32119 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32121         * io/fts.c (dirent_not_directory): New function.
32122         (fts_build): Call it.
32124 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32126         * nptl/version.c (__nptl_main): Use normal __write rather than
32127         INTERNAL_SYSCALL.
32128         (banner): Update copyright years.
32130         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32131         gettimeofday.
32132         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32133         * nptl/pthread_cond_timedwait.c: Likewise.
32134         * nptl/pthread_mutex_timedlock.c: Likewise.
32135         * nptl/sem_timedwait.c: Likewise.
32137         * sysdeps/nptl/bits/libc-lock.h
32138         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32139         (__libc_lock_init_recursive): Return void, not 0.
32140         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32141         (__libc_rwlock_init): Likewise.
32142         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32144 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32146         [BZ #15215]
32147         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32148         (__pthread_once_slow): ... here.
32149         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32150         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32152 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32154         [BZ #15215]
32155         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32156         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32157         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32158         * nptl/pthread_once.c (__pthread_once): Likewise.
32159         Update comments.
32161 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32163         [BZ #14138]
32164         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32165         name.
32166         (writev): Use __libc_writev as strong name.
32167         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32168         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32170 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32172         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32174         * sysdeps/i386/nptl/tls.h
32175         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32176         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32177         New macros.
32178         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32179         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32180         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32181         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32182         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32183         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32185         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32186         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32187         on [__NR_futex].
32188         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32189         broken out of ...
32190         (__pthread_mutex_init): ... here.  Call it.
32191         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32192         Conditionalize PI cases on [__NR_futex].
32193         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32194         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32195         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32197         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32198         conditional on [SIGSETXID].
32199         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32200         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32201         is defined.  Likewise for SIGSETXID.
32202         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32203         Conditionalize definitions on [SIGSETXID].
32204         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32205         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32206         unblocking on [SIGCANCEL].
32208         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32209         [__NR_set_robust_list].
32211 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32213         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32214         (do_compare): Likewise.
32216 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32218         [BZ #15884]
32219         * string/strcoll_l.c: Don't include stdio.h.
32220         (coll_seq): Remove members idxarr and rulearr.
32221         (get_next_seq_cached): Remove function.
32222         (get_next_seq): Likewise.
32223         (get_next_seq_nocache): Rename to get_next_seq.
32224         (do_compare): Remove function.
32225         (do_compare_nocache): Rename to do_compare.
32226         (STRCOLL): Remove weight and rules cache.
32228 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32230         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32231         * sysdeps/arm/sfp-machine.h: ... to here.
32232         * sysdeps/arm/Implies: Remove arm/soft-fp.
32234 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32236         * conform/data/sys/utsname.h-data (*_t): Allow.
32237         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32238         [POSIX] (WEXITED): Do not expect constant.
32239         [POSIX] (WSTOPPED): Likewise.
32240         [POSIX] (WNOHANG): Likewise.
32241         [POSIX] (WNOWAIT): Likewise.
32242         [POSIX] (siginfo_t): Do not expect type or elements.
32243         [POSIX] (pid_t): Do not expect type.
32244         [POSIX] (signal.h): Do not allow header.
32245         [POSIX] (sys/resource.h): Likewise.
32246         [POSIX] (si_*): Do not allow pattern.
32247         [POSIX] (W*): Likewise.
32248         [POSIX] (P_*): Likewise.
32249         [POSIX] (BUS_*): Likewise.
32250         [POSIX] (CLD_*): Likewise.
32251         [POSIX] (FPE_*): Likewise.
32252         [POSIX] (ILL_*): Likewise.
32253         [POSIX] (POLL_*): Likewise.
32254         [POSIX] (SEGV_*): Likewise.
32255         [POSIX] (SI_*): Likewise.
32256         [POSIX] (TRAP_*): Likewise.
32257         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32258         variable.
32260 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32262         [BZ #12926]
32263         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32264         infinite loop when __recvmsg returns 0.
32266 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32268         * CANCEL-FCT-WAIVE: Remove file.
32269         * CANCEL-FILE-WAIVE: Likewise.
32271         [BZ #14132]
32272         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32273         instead of INTVARDEF.
32274         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32275         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32276         rtld_hidden_data_def instead of INTVARDEF.
32277         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32278         * elf/dl-deps.c (expand_dst): Likewise.
32279         * elf/dl-load.c (_dl_dst_count): Likewise.
32280         (_dl_dst_substitute): Likewise.
32281         (decompose_rpath): Likewise.
32282         (_dl_init_paths): Likewise.
32283         (open_path): Likewise.
32284         (_dl_map_object): Likewise.
32285         * elf/rtld.c (dl_main): Likewise.
32286         (process_dl_audit): Likewise.
32287         (process_envvars): Likewise.
32288         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32289         Remove declaration.
32290         (__libc_enable_secure): Use rtld_hidden_proto.
32292 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32294         * elf/dl-load.c
32295         (add_path): New function broken out of _dl_rtld_di_serinfo.
32296         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32298 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32300         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32301         parentheses around macro arguments.
32302         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32303         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32304         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32305         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32306         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32307         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32308         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32309         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32310         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32311         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32312         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32313         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32314         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32315         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32316         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32317         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32318         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32319         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32321         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32322         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32323         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32324         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32325         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32326         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32327         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32328         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32329         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32330         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32331         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32332         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32333         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32334         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32335         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32336         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32337         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32338         Likewise.
32339         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32340         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32341         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32342         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32343         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32344         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32345         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32346         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32347         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32348         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32349         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32350         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32351         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32352         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32356         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32360         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32361         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32362         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32363         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32364         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32365         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32366         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32367         (_FP_FRAC_SRS_1): Likewise.
32368         (_FP_FRAC_CLZ_1): Likewise.
32369         (_FP_MUL_MEAT_1_imm): Likewise.
32370         (_FP_MUL_MEAT_1_wide): Likewise.
32371         (_FP_MUL_MEAT_1_hard): Likewise.
32372         (_FP_SQRT_MEAT_1): Likewise.
32373         (_FP_FRAC_ASSEMBLE_1): Likewise.
32374         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32375         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32376         (__FP_CLZ_2): Likewise.
32377         (_FP_MUL_MEAT_2_wide): Likewise.
32378         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32379         (_FP_MUL_MEAT_2_gmp): Likewise.
32380         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32381         (_FP_SQRT_MEAT_2): Likewise.
32382         (_FP_FRAC_ASSEMBLE_2): Likewise.
32383         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32384         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32385         (_FP_FRAC_CLZ_4): Likewise.
32386         (_FP_MUL_MEAT_4_wide): Likewise.
32387         (_FP_MUL_MEAT_4_gmp): Likewise.
32388         (_FP_SQRT_MEAT_4): Likewise.
32389         (_FP_FRAC_ASSEMBLE_4): Likewise.
32390         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32391         * soft-fp/op-common.h (_FP_CMP): Likewise.
32392         (_FP_CMP_EQ): Likewise.
32393         (_FP_CMP_UNORD): Likewise.
32394         (_FP_TO_INT): Likewise.
32395         (_FP_FROM_INT): Likewise.
32396         [!__FP_CLZ] (__FP_CLZ): Likewise.
32397         (_FP_DIV_HELP_imm): Likewise.
32398         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32399         Likewise.
32400         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32401         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32402         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32403         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32404         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32405         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32407         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32408         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32411         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32412         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32413         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32414         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32415         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32416         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32417         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32418         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32419         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32420         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32421         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32422         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32423         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32425         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32426         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32427         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32429         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32430         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32431         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32432         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32433         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32434         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32435         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32436         (FP_UNPACK_RAW_SP): Likewise.
32437         (FP_PACK_RAW_S): Likewise.
32438         (FP_PACK_RAW_SP): Likewise.
32439         (FP_UNPACK_S): Likewise.
32440         (FP_UNPACK_SP): Likewise.
32441         (FP_UNPACK_SEMIRAW_S): Likewise.
32442         (FP_UNPACK_SEMIRAW_SP): Likewise.
32443         (FP_PACK_S): Likewise.
32444         (FP_PACK_SP): Likewise.
32445         (FP_PACK_SEMIRAW_S): Likewise.
32446         (FP_PACK_SEMIRAW_SP): Likewise.
32447         (_FP_SQRT_MEAT_S): Likewise.
32448         (FP_CMP_S): Likewise.
32449         (FP_CMP_EQ_S): Likewise.
32450         (FP_CMP_UNORD_S): Likewise.
32451         (FP_TO_INT_S): Likewise.
32452         (FP_FROM_INT_S): Likewise.
32454         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32456         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32457         (FP_EX_INVALID_IMZ): Likewise.
32458         (FP_EX_INVALID_IMZ_FMA): Likewise.
32459         (FP_EX_INVALID_ISI): Likewise.
32460         (FP_EX_INVALID_ZDZ): Likewise.
32461         (FP_EX_INVALID_IDI): Likewise.
32462         (FP_EX_INVALID_SQRT): Likewise.
32463         (FP_EX_INVALID_CVI): Likewise.
32464         (FP_EX_INVALID_VC): Likewise.
32465         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32466         "invalid" exceptions.
32467         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32468         (_FP_ADD_INTERNAL): Likewise.
32469         (_FP_MUL): Likewise.
32470         (_FP_FMA): Likewise.
32471         (_FP_DIV): Likewise.
32472         (_FP_CMP_CHECK_NAN): Likewise.
32473         (_FP_SQRT): Likewise.
32474         (_FP_TO_INT): Likewise.
32475         (FP_EXTEND): Likewise.
32477 2014-10-09  Allan McRae  <allan@archlinux.org>
32479         * po/fr.po: Update French translation from translation project.
32481 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32483         [BZ #14132]
32484         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32485         of INTDEF.
32486         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32487         (__cxa_atexit): Use libc_hidden_proto.
32488         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32490         [BZ #14132]
32491         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32492         declaration.
32493         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32494         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32495         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32496         [!_ISOMAC] (__iswctype_internal): Likewise.
32497         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32498         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32499         alias.
32500         (fcntl): Remove __fcntl_internal alias.
32501         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32502         __connect_internal alias.
32503         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32504         Likewise.
32506         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32507         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32508         FP_DENORM_ZERO.
32509         (_FP_CHECK_FLUSH_ZERO): New macro.
32510         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32511         (_FP_CMP): Likewise.
32512         (_FP_CMP_EQ): Likewise.
32513         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32514         FP_DENORM_ZERO.
32515         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32516         (FP_TRUNC): Likewise.
32518         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32519         treated as invalid conversion, not as normal exponent.
32521         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32522         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32523         (_FP_CMP_EQ): Likewise.
32524         (_FP_CMP_UNORD): Likewise.
32525         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32526         (FP_CMP_EQ_D): Likewise.
32527         (FP_CMP_UNORD_D): Likewise.
32528         * soft-fp/extended.h (FP_CMP_E): Likewise.
32529         (FP_CMP_EQ_E): Likewise.
32530         (FP_CMP_UNORD_E): Likewise.
32531         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32532         (FP_CMP_EQ_Q): Likewise.
32533         (FP_CMP_UNORD_Q): Likewise.
32534         * soft-fp/single.h (FP_CMP_S): Likewise.
32535         (FP_CMP_EQ_S): Likewise.
32536         (FP_CMP_UNORD_S): Likewise.
32537         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32538         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32539         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32540         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32541         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32542         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32543         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32544         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32545         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32546         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32547         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32548         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32549         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32550         to FP_CMP_Q.
32551         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32552         FP_CMP_Q.
32553         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32554         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32555         FP_CMP_EQ_Q.
32556         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32557         FP_CMP_Q.
32558         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32559         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32560         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32561         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32562         FP_CMP_EQ_Q.
32563         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32564         FP_CMP_Q.
32565         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32566         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32567         FP_CMP_EQ_Q.
32568         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32569         FP_CMP_Q.
32570         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32571         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32572         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32573         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32574         FP_CMP_EQ_Q.
32576         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32577         a subnormal result, set the underflow exception if trapping on
32578         underflow is enabled.
32579         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32580         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32581         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32582         redefine to 0.
32583         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32584         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32585         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32586         * soft-fp/extendxftf2.c (__extendxftf2): Use
32587         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32589         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32590         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32591         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32592         FP_HANDLE_EXCEPTIONS.
32593         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32594         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32595         FP_HANDLE_EXCEPTIONS.
32596         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32597         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32598         FP_HANDLE_EXCEPTIONS.
32599         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32600         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32601         FP_HANDLE_EXCEPTIONS.
32603 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32605         [BZ #14132]
32606         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32607         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32608         use INTUSE.
32609         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32610         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32611         Remove alias.
32612         (__adjtimex): Define using libc_hidden_ver.
32613         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32614         Remove declaration.
32615         (ntp_gettime): Call __adjtimex directly.
32616         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32617         Remove declaration.
32618         (ntp_gettimex): Call __adjtimex directly.
32619         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32620         __adjtimex_internal alias.
32622 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32624         [BZ #17460]
32625         * nscd/nscd.c (more_help): Rewrite list of tables collection
32626         using xstrdup and asprintf.
32628         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32630 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32631             Roland McGrath  <roland@hack.frob.com>
32633         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32634         (do_lookup_unique): ... local function 'enter' here; update callers.
32636 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32638         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32639         compat_symbol calls on [SHARED].
32640         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32641         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32642         Remove.
32643         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32644         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32645         (oldsetrlimit): Remove.
32646         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32648         (lchown): New syscall entry.
32649         (oldsetrlimit): Remove.
32650         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32651         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32652         (oldsetrlimit): Remove.
32653         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32655         [BZ #14138]
32656         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32657         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32658         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32659         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32660         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32661         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32662         (fchown): Likewise.
32663         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32664         (fchown): Likewise.
32665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32666         Likewise.
32668 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32670         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32671         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32672         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32673         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32674         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32675         Likewise.
32676         (__old_sem_post): Likewise.
32678 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32680         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32681         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32682         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32683         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32684         Use INLINE_VSYSCALL macro.
32685         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32686         __vdso_clock_gettime.
32687         * sysdeps/unix/sysv/linux/tile/init-first.c
32688         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32689         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32690         __vdso_clock_gettime.
32692         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32693         to set up frame more cleanly.
32695         * sysdeps/tile/memcmp.c: New file.
32697         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32699         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32700         * sysdeps/tile/tilegx/strcasestr.c: New file.
32701         * sysdeps/tile/tilegx/strnlen.c: New file.
32702         * sysdeps/tile/tilegx/strstr.c: New file.
32704         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32706 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32708         * nptl/tst-setuid3.c: Write errors to stdout.
32710 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32712         * elf/dl-deps.c
32713         (preload): New functions broken out of _dl_map_object_deps.
32714         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32716 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32718         [BZ #14138]
32719         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32720         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32722 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32724         * sysdeps/mips/strcmp.S: New.
32726 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32728         [BZ #14138]
32729         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32730         (linkat): Likewise.
32731         (mkdirat): Likewise.
32732         (readlinkat): Likewise.
32733         (renameat): Likewise.
32734         (symlinkat): Likewise.
32735         (unlinkat): Likewise.
32736         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32737         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32738         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32739         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32740         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32741         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32742         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32744 2014-09-30  Will Newton  <will.newton@linaro.org>
32746         * math/math.h: Define long double math functions if
32747         _LIBC_TEST is defined.
32748         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32750         * localedata/Makefile: Move assignment to tests-special
32751         into an ifdef testing run-built-tests.
32752         * timezone/Makefile: Likewise.
32754 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32756         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32757         with $(BASH) not $(SHELL).
32759 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32760             Matthew LeGendre  <legendre1@llnl.gov>
32762         [BZ #17411]
32763         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32764         l_reloc_result.
32766 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32768         * stdio-common/printf_fp.c
32769         (hack_digit): New function, broken out of ...
32770         (__printf_fp): ... local function here.  Update call sites.
32771         hack_digit now takes an additional parameter that is a pointer
32772         to a struct of the referenced locals.  Those locals moved inside
32773         the struct and references updated.
32775 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32777         * aclocal.m4: Require autoconf 2.69.
32778         * configure: Regenerated.
32779         * sysdeps/aarch64/configure: Likewise.
32780         * sysdeps/alpha/configure: Likewise.
32781         * sysdeps/arm/armv7/configure: Likewise.
32782         * sysdeps/arm/configure: Likewise.
32783         * sysdeps/ia64/configure: Likewise.
32784         * sysdeps/mach/configure: Likewise.
32785         * sysdeps/mips/configure: Likewise.
32786         * sysdeps/s390/configure: Likewise.
32787         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32790         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32791         file.
32792         * sysdeps/ia64/configure.ac: Likewise.
32794 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
32796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32797         specify symbol version for ld.so.  Do not include entry for
32798         libpthread.
32799         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32800         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32801         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32803         [BZ #14171]
32804         * Makeconfig [$(build-shared) = yes]
32805         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32806         makefiles.
32807         [$(build-shared) = yes && $(soversions.mk-done) = t]
32808         ($(common-objpfx)gnu/lib-names.h): Remove rule.
32809         [$(build-shared) = yes && $(soversions.mk-done) = t]
32810         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
32811         to Makerules.
32812         [$(build-shared) = yes && $(soversions.mk-done) = t]
32813         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
32814         here.
32815         [$(build-shared) = yes && $(soversions.mk-done) = t]
32816         (common-generated): Don't append gnu/lib-names.h and
32817         gnu/lib-names.stmp here.
32818         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
32819         (lib-names-h-abi): New variable.
32820         [$(build-shared) = yes && $(soversions.mk-done) = t]
32821         (lib-names-stmp-abi): Likewise.
32822         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32823         abi-variants] (before-compile): Append
32824         $(common-objpfx)$(lib-names-h-abi).
32825         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32826         abi-variants] (common-generated): Append gnu/lib-names.h.
32827         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32828         abi-variants] (install-others-nosubdir): Depend on
32829         $(inst_includedir)/$(lib-names-h-abi).
32830         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32831         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
32832         [$(build-shared) = yes && $(soversions.mk-done) = t]
32833         ($(common-objpfx)$(lib-names-h-abi)): New rule.
32834         [$(build-shared) = yes && $(soversions.mk-done) = t]
32835         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
32836         [$(build-shared) = yes && $(soversions.mk-done) = t]
32837         (common-generated): Append $(lib-names-h-abi) and
32838         $(lib-names-stmp-abi).
32839         * scripts/lib-names.awk: Do not handle multi being set.
32840         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
32841         Remove variable.
32842         (abi-lp64_be-ld-soname): Likewise.
32843         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
32844         Likewise.
32845         (abi-hard-ld-soname): Likewise.
32846         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
32847         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
32848         Remove variable.
32849         (abi-o32_hard-ld-soname): Likewise.
32850         (abi-o32_soft_2008-ld-soname): Likewise.
32851         (abi-o32_hard_2008-ld-soname): Likewise.
32852         (abi-n32_soft-ld-soname): Likewise.
32853         (abi-n32_hard-ld-soname): Likewise.
32854         (abi-n32_soft_2008-ld-soname): Likewise.
32855         (abi-n32_hard_2008-ld-soname): Likewise.
32856         (abi-n64_soft-ld-soname): Likewise.
32857         (abi-n64_hard-ld-soname): Likewise.
32858         (abi-n64_soft_2008-ld-soname): Likewise.
32859         (abi-n64_hard_2008-ld-soname): Likewise.
32860         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
32861         Likewise.
32862         (abi-64-v2-ld-soname): Likewise.
32863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
32864         ld.so entries.
32865         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
32866         variable.
32867         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
32868         entry.
32869         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
32870         variable.
32871         (abi-64-ld-soname): Likewise.
32872         (abi-x32-ld-soname): Likewise.
32873         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
32874         entry.
32875         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32877 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
32879         [BZ #14138]
32880         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
32881         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
32882         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
32883         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
32884         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
32885         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
32886         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
32887         syscall entry for GLIBC_2.2 symbol version.
32888         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
32889         Likewise.
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32891         (setrlimit): Likewise.
32892         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
32893         Likewise.
32895 2014-09-23  Will Newton  <will.newton@linaro.org>
32897         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
32898         _LINUX_ARM_SYSDEP_H include guard too.
32899         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
32900         define.
32902 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32904         * sysdeps/unix/sysv/linux/eventfd.c:
32905         Make first argument unsigned.
32906         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
32907         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32909 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
32911         [BZ #16852]
32912         * socket/recvmmsg.c (recvmmsg): Drop const argument.
32913         * socket/sys/socket.h: Likewise.
32914         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
32916 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32918         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
32920 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
32922         * time/tst-ftime.c: New test.
32923         * time/Makefile (tests): Add tst-ftime.
32925 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
32927         * soft-fp/extended.h: Fix comment formatting.
32928         * soft-fp/op-1.h: Likewise.
32929         * soft-fp/op-2.h: Likewise.
32930         * soft-fp/op-4.h: Likewise.
32931         * soft-fp/op-8.h: Likewise.
32932         * soft-fp/op-common.h: Likewise.
32933         * soft-fp/soft-fp.h: Likewise.
32935         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
32937 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
32939         [BZ #6652]
32940         * Makeconfig (soversions-default-setname): Remove variable.
32941         ($(common-objpfx)soversions.i): Don't pass default_setname to
32942         soversions.awk.
32943         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
32944         oldest_abi to abi-versions.awk.
32945         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
32946         * config.make.in (oldest-abi): Remove variable.
32947         * configure.ac (--enable-oldest-abi): Remove configure option.
32948         * configure: Regenerated.
32949         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
32950         text.
32951         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
32952         * scripts/soversions.awk: Do not handle default_setname variable.
32953         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
32954         variable.
32955         * sysdeps/mach/hurd/configure: Regenerated.
32956         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
32957         variable.
32958         * sysdeps/unix/sysv/linux/configure: Regenerated.
32960 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32962         * elf/Makefile (CFLAGS-interp.c): Remove.
32963         ($(elf-objpfx)runtime-linker.h): Generate header with linker
32964         path string.
32965         * elf/interp.c: Include generated runtime-linker.h
32967         * Makerules (lib%.so): Don't include $(+interp) in
32968         prerequisites.
32969         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
32970         * dlfcn/eval.c: Remove file.
32972         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
32973         macros.
32975         [BZ #17266]
32976         * misc/sys/cdefs.h: Define __extern_always_inline for clang
32977         4.2 and newer.
32979         [BZ #17370]
32980         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32982 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32983             Jakub Jelinek  <jakub@redhat.com>
32985         [BZ #17266]
32986         * libio/stdio.h: Check definition of __fortify_function
32987         instead of __extern_always_inline to include bits/stdio2.h.
32988         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32989         check if __extern_always_inline is defined.
32990         [__USE_MISC || __USE_XOPEN]: Likewise.
32991         [__USE_ISOC99] Likewise.
32992         * misc/sys/cdefs.h (__fortify_function): Define only if
32993         __extern_always_inline is defined.
32994         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32995         __extern_always_inline and __extern_inline only for g++-4.3
32996         and newer or a compatible gcc.
32998 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33000         [BZ #17371]
33001         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33002         last change to handle zero prefix length.
33004 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33006         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33007         _SC_REGEX_VERSION.
33009         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33010         _POSIX_RAW_SOCKETS.
33012 2014-09-13  Allan McRae  <allan@archlinux.org>
33014         * po/ru.po: Update Russian translation from translation project.
33016 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33018         * locale/programs/locale.c (show_locale_vars): Inline local function
33019         into its sole call site.  Clean up some style nits.
33020         (print_item): New function, broken out of ...
33021         (show_info): ... local function here.  Clean up style nits.
33023         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33024         out of ...
33025         (set_class_defaults): ... local function set_default here.
33026         Define set_default as a macro locally to pass constant parameters.
33027         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33028         rather than a shared local.
33030         * stdlib/rpmatch.c (try): New function, broken out of ...
33031         (rpmatch): ... local function here.  Also, prototypify definition.
33033 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33035         * scripts/soversions.awk: Do not handle configuration names.
33036         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33037         vendor and os variables to soversions.awk.
33038         * configure.ac: Do not modify gnu-* host_os.
33039         * configure: Regenerated
33040         * shlib-versions: Remove first column with configuration names.
33041         * nptl/shlib-versions: Likewise.
33042         * nptl_db/shlib-versions: Likewise.
33043         * sysdeps/hppa/shlib-versions: Likewise.
33044         * sysdeps/m68k/shlib-versions: Likewise.
33045         * sysdeps/mach/hurd/shlib-versions: Likewise.
33046         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33047         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33048         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33049         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33050         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33051         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33052         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33053         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33055         Likewise.
33056         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33057         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33058         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33059         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33060         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33061         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33062         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33063         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33066         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33068         Regenerated.
33069         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33071         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33073         * shlib-versions: Remove OS-specific entries.  Moved to files in
33074         sysdeps.
33075         * sysdeps/mach/hurd/shlib-versions: New file.
33076         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33078         * nptl/shlib-versions: Remove architecture-specific entries.
33079         Moved to files in sysdeps.
33080         * shlib-versions: Likewise.
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33082         file.
33083         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33084         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33085         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33086         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33088         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33089         (UDP_NO_CHECK6_RX): Likewise.
33091 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33093         * sysdeps/posix/sysconf.c (__sysconf): Spell
33094         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33096 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33098         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33099         loading.
33100         * iconv/Versions (__gconv_transliterate): Export for use from
33101         gconv modules.
33102         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33103         (struct __gconv_trans_data, __gconv_trans_fct,
33104         __gconv_trans_context_fct, __gconv_trans_query_fct,
33105         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33106         definitions.
33107         (struct __gconv_step_data): Remove __trans member.
33108         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33109         longer hidden.  Remove unused trans_data argument.
33110         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33111         (__gconv_translit_find): Remove declaration.
33112         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33113         prototype.
33114         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33115         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33116         trans_data argument.  Add hidden definition.
33117         (__gconv_translit_find): Remove.
33118         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33119         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33120         * iconv/skeleton.c: Remove transliteration initialization.
33121         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33122         __gconv_step_data initialization.
33123         * libio/iofwide.c (__libio_translit_): Remove.
33124         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33125         * wcsmbs/btowc.c (__btowc): Likewise.
33126         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33127         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33128         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33129         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33130         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33131         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33132         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33133         * wcsmbs/wctob.c (wctob): Likewise.
33135 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33137         [BZ #16194]
33138         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33139         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33140         register usage.
33141         * sysdeps/x86/Makefile: Adjust.
33143 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33144             Roland McGrath  <roland@hack.frob.com>
33146         * locale/weight.h: Add include guard.
33147         (findidx): Make static rather than auto; take new parameters
33148         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33149         * locale/weightwc.h: Likewise.
33150         * posix/fnmatch_loop.c
33151         (FCT): Change type of EXTRA from int32_t to wint_t.
33152         Don't include either header inside the function.
33153         Call FINDIDX rather than findidx, and pass new arguments.
33154         #undef FINDIDX at the end of the file.
33155         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33156         FINDIDX before including fnmatch_loop.c for the non-wide version.
33157         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33158         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33159         for the wide version.
33160         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33161         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33162         Pass new arguments to findidx.
33163         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33164         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33165         Don't #include it inside the function.  Pass new arguments to findidx.
33166         * posix/regex_internal.h
33167         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33168         (re_string_elem_size_at): Don't #include it inside the function.
33169         Pass new arguments to findidx.
33170         * string/strcoll_l.c: #include WEIGHT_H at top level.
33171         (get_next_seq): Don't #include it inside the function.
33172         Pass new arguments to findidx.
33173         (get_next_seq_nocache): Likewise.
33174         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33175         (STRXFRM): Don't #include it inside the function.
33176         Pass new arguments to findidx.
33178 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33180         [BZ #17344]
33181         * malloc/malloc.c (unlink): Turn asserts into a call to
33182         malloc_printerr.
33184 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33186         [BZ #17370]
33187         * libio/wfileops (do_ftell_wide): Free OUT.
33189 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33191         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33193 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33195         [BZ #17363]
33196         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33197         group if the current group is empty.
33199 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33201         * benchtests/bench-memset.c (test_main): Add more test from size
33202         from 32 to 512 bytes.
33203         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33204         Add POWER8 memset object.
33205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33206         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33207         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33208         implementation.
33209         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33210         Likewise.
33211         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33212         multiarch POWER8 memset optimization.
33213         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33214         POWER8 memset optimization.
33216         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33217         Remove bzero multiarch objects.
33218         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33219         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33220         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33221         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33222         Remove define.
33223         [__bzero]: Redefine to specific name.
33224         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33225         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33226         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33227         define.
33228         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33229         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33231 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33233         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33234         warnings into errors.
33236         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33237         __cxa_thread_atexit_impl prototype.
33239 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33241         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33242         Fix capitalization of error message.
33244 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33246         * sysdeps/mips/preconfigure: Modify ABI tests.
33248 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33250         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33252 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33253             Carlos O'Donell  <carlos@systemhalted.org>
33255         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33256         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33257         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33258         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33259         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33260         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33261         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33262         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33263         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33264         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33265         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33266         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33267         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33268         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33269         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33270         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33271         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33272         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33273         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33274         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33275         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33276         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33277         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33278         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33279         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33280         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33281         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33282         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33283         Deconditionalize the code that was previously under [RESET_PID].
33284         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33285         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33286         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33287         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33288         include sysdep.h.
33290 2014-09-08  Allan McRae  <allan@archlinux.org>
33292         * version.h (RELEASE): Set to "development".
33293         (VERSION): Set to "2.20.90"
33295 2014-09-07  Allan McRae  <allan@archlinux.org
33297         * version.h (RELEASE): Set to "stable".
33298         (VERSION): Set to "2.20"
33299         * include/features.h (__GLIBC_MINOR__): Set to 20.
33301         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33302         Liebler.
33304         * po/ko.po: Update Korean translation from translation project.
33306 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33308         [BZ #17354]
33309         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33310         macro for handling signed relocations.
33312 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33314         [BZ #17325]
33315         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33316         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33317         assert.
33318         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33319         * iconvdata/ibm935.c (BODY): Likewise.
33320         * iconvdata/ibm937.c (BODY): Likewise.
33321         * iconvdata/ibm939.c (BODY): Likewise.
33322         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33323         assert.
33324         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33325         script.
33326         * iconvdata/run-iconv-test.sh: New test loop for checking for
33327         decoder crashers.
33329 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33331         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33332         libm_hidden_ver.
33334 2014-09-01  Allan McRae  <allan@archlinux.org>
33336         * po/eo.po: Update Esperanto translation from translation project.
33338         * po/ca.po: Update Catalan translation from translation project.
33340 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33342         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33343         __proc_dostop call.
33345 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33347         [BZ #17319]
33348         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33349         to call set_thread_area instead of hand written asm.
33350         (__NR_set_thread_area): Removed define.
33351         (TLS_FLAG_WRITABLE): Likewise.
33352         (__ASSUME_SET_THREAD_AREA): Remove check.
33353         (TLS_EBX_ARG): Remove define.
33354         (TLS_LOAD_EBX): Likewise.
33356 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33358         Simplify atomicity of socket creation in bind.
33360         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33361         looking up the name after linking the file.
33363 2014-08-27  Allan McRae  <allan@archlinux.org>
33365         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33367 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33369         [BZ #17187]
33370         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33371         trans_compare, open_translit, __gconv_translit_find):
33372         Remove module loading code.
33374 2014-08-26  Allan McRae  <allan@archlinux.org>
33376         * po/vi.po: Update Vietnamese translation from translation project.
33378         * po/uk.po: Update Ukrainian translation from translation project.
33380         * po/fr.po: Update French translation from translation project.
33382         * po/ru.po: Update Russian translation from translation project.
33384         * po/pl.po: Update Polish translation from translation project.
33386         * po/cs.po: Update Czech translation from translation project.
33388         * po/de.po: Update German translation from translation project.
33390         * po/bg.po: Update Bulgarian translation from translation project.
33392         * po/sv.po: Update Sweedish translation from translation project.
33394         * po/nl.po: Update Dutch translation from translation project.
33396         * po/es.po: Update Spanish translation from translation project.
33398 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33400         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33402         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33403         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33404         (CPPFLAGS-iconvconfig): Likewise.
33405         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33407         * include/libc-symbols.h: Remove unnecessary check for
33408         NOT_IN_libc.
33409         * nptl/pthreadP.h: Likewise.
33410         * sysdeps/aarch64/setjmp.S: Likewise.
33411         * sysdeps/alpha/setjmp.S: Likewise.
33412         * sysdeps/arm/sysdep.h: Likewise.
33413         * sysdeps/i386/setjmp.S: Likewise.
33414         * sysdeps/m68k/setjmp.c: Likewise.
33415         * sysdeps/posix/getcwd.c: Likewise.
33416         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33417         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33418         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33419         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33420         * sysdeps/sh/sh3/setjmp.S: Likewise.
33421         * sysdeps/sh/sh4/setjmp.S: Likewise.
33422         * sysdeps/unix/alpha/sysdep.h: Likewise.
33423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33424         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33425         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33426         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33430         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33431         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33434         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33435         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33436         * sysdeps/x86_64/setjmp.S: Likewise.
33438 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33440         [BZ #17263]
33441         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33442         <stdint.h>.
33443         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33444         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33446 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33448         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33450         [BZ #17262]
33451         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33452         and __x86_64__ when disabling x87 inline functions.
33454 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33456         [BZ #17259]
33457         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33458         asm statement with __cpuid_count.
33460 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33462         * configure.ac: Change __ehdr_start code to dereference the struct.
33463         Run readelf on the output to look for relocations.
33464         * configure: Regenerated.
33466 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33468         [BZ #17261]
33469         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33470         value to 0.
33471         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33473 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33475         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33477 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33479         [BZ #16892]
33480         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33481         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33483 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33485         * malloc/malloc.c: Fix typo in comment.
33487 2014-08-09  Allan McRae  <allan@archlinux.org>
33489         * Regenerate libc.po.
33491 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33493         * intl/tst-gettext2.sh: Check every lang file for creation.
33495 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33497         * sysdeps/aarch64/fpu/math_private.h
33498         (libc_feholdsetround_noex_aarch64_ctx): New function.
33500 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33502         * sysdeps/arm/armv6/strcpy.S (strcpy):
33503         Fix performance issue in misaligned cases.
33505 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33507         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33508         Move definition from termios.h.
33509         (struct termio): Likewise.
33510         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33511         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33512         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33513         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33514         Likewise.
33515         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33516         Move definition to ioctl-types.h
33517         (struct termio): Likewise.
33518         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33519         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33520         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33521         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33522         Likewise.
33524 2014-08-05  Richard Henderson  <rth@redhat.com>
33526         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33527         exceptions.
33528         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33529         Add fraiseexcpt.
33530         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33531         Use __feraiseexcept.
33532         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33533         Protect libm symbols with IS_IN_libm.
33535         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33537 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33539         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33541 2014-08-04  Will Newton  <will.newton@linaro.org>
33543         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33544         file.
33546 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33548         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33549         variants for each function.
33551 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33553         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33554         appended ...
33555         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33556         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33557         appended ...
33558         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33559         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33560         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33561         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33562         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33563         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33564         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33565         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33566         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33567         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33568         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33569         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33570         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33571         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33572         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33573         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33574         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33575         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33576         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33577         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33578         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33579         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33580         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33581         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33582         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33583         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33584         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33585         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33586         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33587         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33588         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33589         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33590         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33591         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33592         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33593         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33594         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33595         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33596         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33597         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33598         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33599         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33600         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33601         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33602         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33603         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33604         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33605         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33606         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33607         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33608         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33609         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33610         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33611         Update #include.
33612         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33613         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33615 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33617         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33618         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33619         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33620         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33621         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33622         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33624 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33626         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33627         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33628         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33629         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33631 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33633         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33634         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33635         (__libc_vfork): Define function under this name.
33636         (__vfork): Define as an alias.
33637         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33638         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33640 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33642         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33643         that was previously under [RESET_PID].
33644         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33646 2014-08-04  Andreas Schwab  <schwab@suse.de>
33648         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33650 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33652         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33653         (main): Likewise.
33655 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33657         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33659 2014-08-01  Richard Henderon  <rth@redhat.com>
33661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33662         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33663         typo in exact zero test.
33664         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33665         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33668 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33670         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33671         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33672         * sysdeps/arm/sysdep.h: ... here.
33673         [!__ASSEMBLER__]: Include <stdint.h>.
33675 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33677         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33678         (HAVE_WCTYPE_H): Likewise.
33679         (HAVE_ISWCTYPE): Likewise.
33680         (ENABLE_NLS): Likewise.
33681         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33682         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33684         * posix/regex_internal.c: Check if DEBUG is defined and is
33685         set.
33687         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33688         (HAVE_MBSRTOWCS): Likewise.
33689         * posix/fnmatch.c: Include string.h unconditionally.
33691 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33693         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33694         reversal.
33696 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33698         * sysdeps/generic/safe-fatal.h: New file.
33699         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33700         * nptl/forward.c: Include it.
33701         (__pthread_unwind): Use __safe_fatal as default action, rather
33702         than a bogus use of INTERNAL_SYSCALL that could never work.
33704         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33705         * configure.ac (libc_cv_builtin_trap): New test.
33706         * configure: Regenerated.
33707         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33708         (ABORT_INSTRUCTION): Define using __builtin_trap.
33710         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33711         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33712         * sysdeps/nptl/nptl-signals.h: New file.
33713         * nptl/pthreadP.h: Include <nptl-signals.h>.
33715 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33717         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33718         (ONE_DIRECTION): Define.
33719         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33720         (ONE_DIRECTION): Define.
33721         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33722         (ONE_DIRECTION): Define.
33724 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33726         * sysdeps/s390/Makefile: Delete file.
33727         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33728         * sysdeps/s390/__longjmp.c: Delete file.
33729         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33730         Remove fields __flags and __reserved.
33731         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33732         and add versioning.
33733         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33734         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33735         * sysdeps/s390/rtld-setjmp.S: Likewise.
33736         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33737         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33738         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33739         * sysdeps/s390/s390-32/setjmp.S: ... here.
33740         Add versioning.
33741         (__sigsetjmp): Remove setting __flags field.
33742         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33743         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33744         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33745         * sysdeps/s390/s390-64/setjmp.S: ... here.
33746         Add versioning.
33747         (__sigsetjmp): Remove setting __flags field.
33748         * sysdeps/s390/setjmp.S: Delete file.
33749         * sysdeps/s390/sigjmp.c: Likewise.
33750         * sysdeps/s390/v1-longjmp.c: Likewise.
33751         * sysdeps/s390/v1-setjmp.h: Likewise.
33752         * sysdeps/s390/v1-sigjmp.c: Likewise.
33753         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33754         Remove v1-longjmp_chk.
33755         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33756         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33757         Include debug/longjmp_chk.c and add versioning.
33758         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33759         Include nptl/pt-longjmp.c and add versioning.
33760         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33761         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33762         Include __longjmp.c.
33763         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33764         Move to ...
33765         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33766         (__getcontext): Remove setting __flags field.
33767         Add versioning.
33768         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33769         Don't restore upper high grps.
33770         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33771         Likewise.
33772         (__swapcontext): Remove setting uc_flags field.
33773         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33774         Delete file.
33775         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33776         Include __longjmp.c.
33777         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33778         Move to ...
33779         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33780         (__getcontext): Remove setting __flags field.
33781         Add versioning.
33782         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33783         (__swapcontext): Remove setting uc_flags field.
33784         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33785         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33786         Remove fields uc_high_gprs and __reserved.
33787         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33788         New file with reverted content.
33789         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33790         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33791         Regenerated.
33792         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33793         Regenerated.
33795 2014-07-31  Andreas Schwab  <schwab@suse.de>
33797         * config.h.in (HAVE_IFUNC): Define to 0.
33798         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
33799         definedness.
33801 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
33803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33804         memmove-avx-unaligned, memcpy-avx-unaligned and
33805         mempcpy-avx-unaligned.
33806         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33807         Add tests for AVX memcpy functions.
33808         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
33809         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
33810         memcpy_chk.
33811         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
33812         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
33813         memmove_chk.
33814         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
33815         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
33816         mempcpy_chk.
33817         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
33818         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
33819         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
33821 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33823         [BZ #17213]
33824         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
33825         powerpc64le.
33827 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
33829         [BZ #16839]
33830         * manual/llio.texi: Add section about open file description locks.
33831         * manual/examples/ofdlocks.c: Example of open file description
33832         lock usage.
33833         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
33834         F_OFD_SETLK, and F_OFD_SETLKW.
33836 2014-07-23  Allan McRae  <allan@archlinux.org>
33838         * po/es.po: Update Spanish translation from translation project.
33840 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
33842         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
33844 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
33846         [BZ #17078]
33847         * sysdeps/arm/dl-machine.h (elf_machine_rela)
33848         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
33849         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
33851 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
33853         [BZ #17088]
33854         * math/fesetenv.c (__fesetenv)
33855         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
33856         * math/feupdateenv.c (__feupdateenv)
33857         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33859         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
33860         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33861         (__ASSUME_SOCKETCALL): Do not define.
33863         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
33864         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
33865         (__ASSUME_SOCKETCALL): Do not define.
33866         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
33867         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33868         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33869         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33870         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33871         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33872         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33873         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33875         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33876         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
33877         (__ASSUME_SOCKETCALL): Do not define.
33878         (__ASSUME_IPC64): Define unconditionally.
33879         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33880         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33881         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33882         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33883         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
33884         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33885         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
33886         Likewise.
33888         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
33889         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
33890         (__ASSUME_SOCKETCALL): Do not define.
33891         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
33892         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33893         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33894         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33895         (__ASSUME_REQUEUE_PI): Define unconditionally.
33896         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
33897         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
33898         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33899         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
33900         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33901         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33903         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
33904         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
33905         (__ASSUME_SOCKETCALL): Do not define.
33906         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
33907         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33908         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33909         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
33910         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33911         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33913         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
33914         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
33915         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33916         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
33917         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33918         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
33919         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33920         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
33921         (__ASSUME_GETCPU_SYSCALL): Likewise.
33923         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
33924         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
33925         cases for individual architectures.
33926         * sysdeps/gnu/configure: Regenerated.
33927         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
33928         LIBC_SLIBDIR_RTLDDIR.
33929         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
33930         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
33931         LIBC_SLIBDIR_RTLDDIR.
33932         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
33934         LIBC_SLIBDIR_RTLDDIR.
33935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33936         Regenerated.
33937         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
33938         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
33939         file.
33940         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
33941         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
33942         file.
33943         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
33944         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
33945         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
33946         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
33948         * sysdeps/aarch64/shlib-versions: Move to ...
33949         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
33950         * sysdeps/alpha/shlib-versions: Move to ...
33951         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
33952         * sysdeps/arm/shlib-versions: Move to ...
33953         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
33954         * sysdeps/hppa/shlib-versions: Move all contents except for
33955         libgcc_s entry to ...
33956         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
33957         entry from ...
33958         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
33959         * sysdeps/ia64/shlib-versions: Move to ...
33960         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
33961         entry from ...
33962         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
33963         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
33964         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
33965         * sysdeps/microblaze/shlib-versions: Move to ...
33966         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
33967         * sysdeps/mips/shlib-versions: Move to ...
33968         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
33969         entry from ...
33970         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
33971         * sysdeps/tile/shlib-versions: Move to ...
33972         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
33973         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
33974         from ...
33975         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
33976         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33977         entry from ...
33978         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
33980 2014-07-17  Will Newton  <will.newton@linaro.org>
33982         * sysdeps/arm/bits/atomic.h
33983         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33984         (__arch_compare_and_exchange_bool_16_int): Likewise.
33985         (__arch_compare_and_exchange_bool_64_int): Likewise.
33987         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33988         into an #else block.
33990 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33992         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33993         just Linux configurations.  Test empirically that the compiler sets
33994         __ARM_EABI__, rather than using the tuple to decide.
33995         * sysdeps/arm/preconfigure: Regenerated.
33996         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33997         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33998         contents appended ...
33999         * sysdeps/arm/configure.ac: ... here.
34000         * sysdeps/arm/configure: Regenerated.
34002 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34004         * nptl/pthread_kill.c: New file.
34005         * nptl/pthread_sigmask.c: New file.
34006         * nptl/pthread_sigqueue.c: New file.
34008         * sysdeps/nptl/lowlevellock.h: New file.
34009         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34010         * sysdeps/nptl/lowlevellock-futex.h: New file.
34012         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34013         Remove dead declarations.
34015 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34017         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34018         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34019         config-cflags-avx2.
34020         * sysdeps/x86_64/configure.ac: Likewise.
34021         * sysdeps/i386/configure: Regenerated.
34022         * sysdeps/x86_64/configure: Likewise.
34023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34024         memset-avx2 only if config-cflags-avx2 is yes.
34025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34026         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34027         defined.
34028         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34029         only if HAVE_AVX2_SUPPORT is defined.
34030         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34032 2014-07-14  Alan Modra  <amodra@gmail.com>
34034         [BZ #17153]
34035         * elf/elf.h (DT_PPC64_NUM): Correct value.
34036         * NEWS: Add to fixed bug list.
34038 2014-07-13  Jim Meyering  <meyering@fb.com>
34040         [BZ 17150]
34041         regex: don't deref NULL upon heap allocation failure
34042         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34043         failure in one more place.
34044         To trigger the segfault, configure grep -with-included-regex,
34045         build it, and run these commands:
34046         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34048 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34050         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34052 2014-07-11  Richard Henderson  <rth@redhat.com>
34054         * sysdeps/aarch64/libm-test-ulps: Update.
34056 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34058         [BZ #17135]
34059         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34060         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34061         (__nptl_setxid): Initialize error member.  Call
34062         __nptl_setxid_error.
34063         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34064         * nptl/descr.h (struct xid_command): Add error member.
34065         * nptl/tst-setuid3.c: New file.
34066         * nptl/Makefile (tests): Add it.
34068 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34070         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34071         New define.
34072         (__lll_trylock): Use __lll_base_trylock.
34073         (__lll_cond_trylock): Likewise.
34075 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34077         * nptl/pthread_create.c (start_thread): Use atomic_or and
34078         lll_futex_wake directly rather than lll_robust_dead.
34079         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34080         (lll_robust_dead): Macro removed.
34081         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34082         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34083         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34084         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34085         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34086         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34087         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34088         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34089         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34090         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34091         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34092         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34093         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34094         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34095         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34097         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34098         Use atomic_compare_and_exchange_val_acq directly rather than
34099         lll_robust_trylock.
34100         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34101         (__lll_robust_trylock, lll_robust_trylock): Removed.
34102         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34103         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34104         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34106         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34107         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34108         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34109         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34110         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34111         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34112         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34113         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34114         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34117 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34119         * manual/locale.texi (Locale Names): New section documenting
34120         locale name syntax.  Adjust menu and node chaining accordingly.
34121         (Choosing Locale): Reference Locale Names, Locale Categories.
34122         Mention setting LC_ALL=C.  Reflect that name syntax is now
34123         documented.
34124         (Locale Categories): New section title.  Reference Locale Names.
34125         LC_ALL is an environment variable, but not a category.
34126         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34127         description, now in Locale Name.  Reference that section.  Locale
34128         name syntax is now documented.
34130 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34132         [BZ #17137]
34133         * locale/findlocale.c (name_present, valid_locale_name): New
34134         functions.
34135         (_nl_find_locale): Use the loc_name variable to store name
34136         candidates.  Call name_present and valid_locale_name to check and
34137         validate locale names.  Return an error if the locale is invalid.
34139 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34141         * locale/setlocale.c (setlocale): Use strdup for allocating
34142         composite name copy.
34144 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34146         Sync up with gnulib.
34147         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34148         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34149         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34150         and _GL_ARG_NONNULL.
34151         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34152         [!_LIBC]: Include code for Windows and Cygwin.
34153         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34154         Include prototype for int strerror_r.
34155         [!_LIBC] (is_open): New function.
34156         (flush_stdout): New function.
34157         (print_errno_message): Use it.
34158         (error): Likewise.
34159         (error_at_line): Likewise.
34160         (error_tail) Add function attribute macros.  Use
34161         __builtin_expect.
34163         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34165         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34167         * io/ftw.c: Include sys/param.h unconditionally.
34169         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34171         [BZ #17125]
34172         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34173         libc_freeres_ptr.
34174         (freecache): New function to free CACHE on exit.
34176         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34177         initialization.
34179 2014-07-09  David S. Miller  <davem@davemloft.net>
34181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34183         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34184         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34185         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34186         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34187         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34188         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34189         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34190         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34191         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34192         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34193         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34194         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34195         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34197 2014-07-09  Andreas Schwab  <schwab@suse.de>
34199         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34200         output.
34201         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34202         (do_test): Likewise.
34204         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34206 2014-07-09  Will Newton  <will.newton@linaro.org>
34208         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34209         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34210         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34211         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34212         * sysdeps/hppa/start.S (_start): Likewise.
34214 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34216         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34218         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34219         defined.
34221 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34223         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34224         after checking that it is non-NULL.
34226         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34228 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34230         * sysdeps/powerpc/memmove.c: Remove file.
34231         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34232         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34233         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34234         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34235         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34236         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34237         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34238         string memmove instead of removed powerpc one.
34240         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34241         [weak_alias]: Fix compiler warning due trailing data.
34242         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34243         [weak_alias]: Likewise.
34244         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34245         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34248         (__libc_ifunc_impl_list): Add memmove functions.
34250 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34252         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34253         Remove code.
34254         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34255         Likewise.
34256         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34257         Likewise.
34258         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34259         Likewise.
34260         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34261         Likewise.
34262         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34263         Likewise.
34264         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34265         Likewise.
34266         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34267         Likewise.
34268         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34269         Likewise.
34270         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34271         Likewise.
34272         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34273         Likewise.
34274         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34275         Likewise.
34276         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34277         Likewise.
34278         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34279         Likewise.
34280         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34281         Likewise.
34282         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34283         Likewise.
34284         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34285         Likewise.
34287 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34289         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34290         to avoid alignment traps in non-cacheable memory.
34291         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34294         multiarch objects.
34295         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34296         file: multiarch power7 memmove.
34297         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34298         multiarch default memmove.
34299         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34300         multiarch memove for powerpc32/power4.
34302         * string/bcopy.c: Use full path to include memmove.c.
34303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34304         multiarch objects.
34305         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34306         bcopy for powerpc64.
34307         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34308         bcopy for powerpc64.
34309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34310         and memmove implementations.
34311         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34312         optimized multiarch memmove for POWER7/powerpc64.
34313         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34314         default multiarch memmove for powerpc64.
34315         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34316         multiarch for powerpc64.
34317         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34318         for POWER7/powerpc64.
34319         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34320         memmove for POWER7/powerpc64.
34322         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34323         glibc default one.
34325         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34326         __ELF_NATIVE_CLASS equal to 64.
34328 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34330         * sysdeps/nptl/lowlevellock.h: File removed.
34332         * NEWS: NPTL is no longer an add-on!
34333         * nptl/internaltypes.h: Moved ...
34334         * sysdeps/nptl/internaltypes.h: ... here.
34335         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34336         * sysdeps/nptl/fork.c: Likewise.
34337         * sysdeps/nptl/gai_misc.h: Likewise.
34338         * sysdeps/nptl/librt-cancellation.c: Likewise.
34339         * sysdeps/nptl/jmp-unwind.c: Likewise.
34340         * sysdeps/nptl/setxid.h: Likewise.
34341         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34342         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34343         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34344         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34345         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34346         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34347         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34348         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34349         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34350         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34351         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34352         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34353         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34354         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34355         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34356         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34357         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34358         * nptl/Makeconfig: Moved ...
34359         * sysdeps/nptl/Makeconfig: ... here.
34360         * nptl/configure: File removed.
34361         * nptl/ANNOUNCE: File removed.
34362         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34363         * sysdeps/unix/sysv/linux/configure: Regenerated.
34365         * nptl/Makefile (routines): Add libc_pthread_init,
34366         libc_multiple_threads, register-atfork and unregister-atfork.
34367         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34368         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34369         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34370         pthread-pi-defines.sym, structsem.sym.
34371         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34372         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34373         [$(subdir) = nptl] (tests): Add tst-setgetname.
34374         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34375         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34376         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34377         [!LIBC_SIGACTION]: Remove aliases.
34378         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34379         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34380         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34381         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34382         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34383         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34384         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34385         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34386         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34387         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34388         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34389         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34390         __libc_allocate_rtsig_private.
34391         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34392         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34393         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34394         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34395         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34396         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34397         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34398         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34399         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34400         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34401         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34402         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34403         * nptl/internaltypes.h: ... here.
34404         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34405         * sysdeps/nptl/jmp-unwind.c: ... here.
34406         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34407         * nptl/libc-lowlevellock.c: ... here.
34408         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34409         * nptl/libc_multiple_threads.c: ... here.
34410         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34411         * nptl/libc_pthread_init.c: ... here.
34412         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34413         * nptl/lowlevelbarrier.sym: ... here.
34414         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34415         * nptl/lowlevelcond.sym: ... here.
34416         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34417         * nptl/lowlevellock.c: ... here.
34418         * nptl/lowlevellock.h: Moved ...
34419         * sysdeps/nptl/lowlevellock.h: ... here.
34420         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34421         * nptl/lowlevelrobustlock.c: ... here.
34422         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34423         * nptl/lowlevelrobustlock.sym: ... here.
34424         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34425         * nptl/lowlevelrwlock.sym: ... here.
34426         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34427         * nptl/pt-fork.c: ... here.
34428         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34429         * nptl/pthread-pi-defines.sym: ... here.
34430         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34431         * nptl/pthread_attr_getaffinity.c: ... here.
34432         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34433         * nptl/pthread_attr_setaffinity.c: ... here.
34434         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34435         * nptl/pthread_mutex_cond_lock.c: ... here.
34436         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34437         Update #include.
34438         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34439         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34440         * nptl/pthread_once.c: ... here, replacing old file.
34441         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34442         * nptl/pthread_yield.c: ... here.
34443         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34444         * nptl/register-atfork.c: ... here.
34445         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34446         * nptl/sem_post.c: ... here.
34447         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34448         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34449         * nptl/sem_timedwait.c: ... here.
34450         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34451         * nptl/sem_trywait.c: ... here.
34452         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34453         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34454         * nptl/sem_wait.c: ... here.
34455         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34456         * nptl/structsem.sym: ... here.
34457         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34458         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34459         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34460         * nptl/unregister-atfork.c: ... here.
34461         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34462         * nptl/unwindbuf.sym: ... here.
34463         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34464         * sysdeps/nptl/fork.c: ... here.
34465         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34466         * sysdeps/nptl/fork.h: ... here.
34467         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34468         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34469         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34470         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34471         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34472         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34473         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34474         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34475         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34476         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34477         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34478         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34479         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34480         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34481         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34482         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34483         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34484         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34485         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34486         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34487         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34488         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34489         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34490         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34491         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34492         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34493         * sysdeps/unix/sysv/linux/raise.c: ... here.
34494         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34495         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34496         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34497         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34498         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34499         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34500         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34501         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34502         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34503         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34504         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34505         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34506         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34507         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34508         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34510 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34512         * sysdeps/generic/memcopy.h: Add comment for
34513         MEMCPY_OK_FOR_FWD_MEMMOVE.
34515 2014-07-04  Will Newton  <will.newton@linaro.org>
34517         * string/memchr.c: Merge from gnulib.
34518         [_LIBC]: Remove conditionals.
34519         (__ptr_t): Remove define.
34520         (LONG_MAX_32_BITS): Likewise.
34521         (LONG_MAX): Likewise.
34522         (MEMCHR): Use ANSI prototype and optimize algorithm.
34524         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34526 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34528         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34529         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34531         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34532         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34533         in a bare environment with no <stdlib.h> installed.
34534         * sysdeps/nptl/configure: Regenerated.
34536         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34538         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34539         AC_EGREP_CPP for kernel header checks, so they only succeed if
34540         including <linux/version.h> actually works right.
34541         * sysdeps/unix/sysv/linux/configure: Regenerated.
34543         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34544         value so it's not diagnosed as unused.
34546         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34547         thing) with "ifeq ($(subdir),rt)".
34549 2014-07-03  Richard Henderson  <rth@redhat.com>
34551         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34552         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34553         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34555         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34556         (math_force_eval): New.
34558         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34559         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34561         * sysdeps/alpha/fpu/s_round.c: Remove file.
34562         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34564         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34565         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34566         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34567         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34568         (_dl_start, print_statistics): Likewise.
34569         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34570         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34572         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34573         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34574         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34575         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34576         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34577         (HP_SMALL_TIMING_AVAIL): Define.
34578         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34579         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34580         (HP_SMALL_TIMING_AVAIL): Define.
34581         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34582         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34584         * sysdeps/aarch64/hp-timing.h: New file.
34586         * sysdeps/generic/hp-timing.h: Remove dead comment.
34587         * sysdeps/generic/hp-timing-common.h: New file.
34588         * sysdeps/alpha/hp-timing.h: Include it.
34589         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34590         * sysdeps/i386/i686/hp-timing.h: Likewise.
34591         * sysdeps/ia64/hp-timing.h: Likewise.
34592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34593         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34594         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34595         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34596         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34597         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34598         (hp_timing_t): New.
34600         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34601         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34602         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34603         * elf/rtld.c (_dl_start_final): Likewise.
34604         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34605         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34606         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34607         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34608         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34609         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34610         (HP_TIMING_DIFF_INIT): Remove.
34611         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34612         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34613         (HP_TIMING_DIFF_INIT): Remove.
34614         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34615         * sysdeps/i386/i686/hp-timing.c: Remove file.
34616         * sysdeps/x86_64/hp-timing.c: Remove file.
34617         * sysdeps/ia64/hp-timing.c: Remove file.
34618         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34619         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34620         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34621         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34623         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34624         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34625         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34626         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34627         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34628         (HP_TIMING_ACCUM): Remove.
34629         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34631         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34633         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34634         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34635         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34636         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34637         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34638         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34639         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34640         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34642         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34644 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34646         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34648 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34650         Sync up with gettext.
34651         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34652         [_MSC_VER]: Include malloc.h
34653         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34654         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34655         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34656         TEMP_FAILURE_RETRY.  Cast return of alloca.
34657         [!_LIBC] Call gl_rwlock_init.
34658         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34660 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34662         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34663         before checking its value.
34665 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34667         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34669         * debug/memcpy_chk.c: Don't include pagecopy.h.
34670         * debug/mempcpy_chk.c: Likewise.
34671         * string/memcpy.c: Likewise.
34672         * string/memmove.c: Likewise.
34673         * sysdeps/powerpc/memmove.c: Likewise.
34674         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34675         definition of PAGE_COPY_FWD_MAYBE here...
34676         * sysdeps/generic/pagecopy.h: ... from here.
34677         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34679 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34680             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34682         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34684         optimizations.
34685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34686         (__libc_ifunc_impl_list): Likewise.
34687         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34688         multiarch strcat for PPC64.
34689         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34690         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34692 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34694         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34696 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34698         * intl/loadmsgcat.c: Remove declaration of
34699         get_sysdep_segment_value.
34700         (get_sysdep_segment_value): Use ISO C style.
34701         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34702         semicolon.  Fix typo and formatting in comment.
34703         (_nl_unload_domain): Use ISO C style.
34705         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34707 2014-07-02  Will Newton  <will.newton@linaro.org>
34709         * malloc/obstack.c: Merge from gnulib master.
34710         [HAVE_CONFIG_H]: Remove conditional code.
34711         [!_LIBC]: Include config.h.
34712         [!ELIDE_CODE]: Don't include inttypes.h, include
34713         stdint.h unconditionally.
34714         (print_and_abort): Mark as _Noreturn.
34715         (_obstack_allocated_p): Mark as __attribute_pure__.
34716         (obstack_free): Rename to __obstack_free.
34717         [!__attribute__]: Remove conditional code.
34718         * malloc/obstack.h: Merge from gnulib master.
34719         [__cplusplus]: Move conditional down.
34720         [!__attribute_pure__]: Define __attribute_pure__ here
34721         if it is not already defined.
34722         (_obstack_memory_used): Mark as __attribute_pure__.
34723         [!__obstack_free]: Define as obstack_free.
34724         [__GNUC__]: Remove check for ancient NeXT gcc.
34726 2014-07-02  Will Newton  <will.newton@linaro.org>
34727             Paul Eggert  <eggert@cs.ucla.edu>
34729         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34731 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34733         * resolv/gethnamaddr.c: Add comment warning that the file is
34734         not maintained.
34736 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34738         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34739         entries.
34741         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34742         entry for aio_cancel and aio_cancel64.
34743         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34744         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34745         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34746         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34747         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34748         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34749         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34750         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34751         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34752         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34753         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34754         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34755         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34757 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34759         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34760         * nptl/pthread_mutex_lock.c: Likewise.
34761         * nptl/pthread_mutex_timedlock.c: Likewise.
34762         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34764 2014-07-01  Richard henderson  <rth@redhat.com>
34766         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34767         (__isnan, __isnanl): Remove.
34768         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34770         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34772 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34774         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34776 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34778         * resolv/nss_dns/dns-host.c (getanswer_r)
34779         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34781 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34783         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34784         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34785         undefine.
34786         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34787         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34789 2014-07-01  Roland McGrath <roland@hack.frob.com>
34791         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34792         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34794         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34795         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34797         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
34798         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
34799         ... here.
34800         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34801         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
34803         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
34804         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
34805         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
34806         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
34808         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34809         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
34810         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
34811         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
34812         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34813         Moved ...
34814         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
34815         ... here.
34816         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
34817         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
34818         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
34819         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
34820         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
34821         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34822         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
34823         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
34824         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
34825         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
34826         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
34827         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
34828         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
34829         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
34830         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
34831         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
34832         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
34833         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
34834         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
34835         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
34836         ... here.
34837         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
34838         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
34839         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
34840         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
34841         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
34842         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
34843         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
34844         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
34846 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
34848         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
34849         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
34850         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
34851         Add sysdep.
34853 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34857 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34859         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34860         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34862         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34864         * sysdeps/arm/libm-test-ulps: Regenerated.
34866 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34867             Roland McGrath <roland@hack.frob.com>
34869         * test-skeleton.c (signal_handler): Kill the whole process group
34870         before killing the child individually.
34871         (main): Report any failure on `setpgid'.
34873 2014-06-30  Roland McGrath  <roland@hack.frob.com>
34875         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
34876         from _TLS_H to _ARM_NPTL_TLS_H.
34877         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
34878         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
34880 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34882         [BZ #16539]
34883         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
34884         (__expm1l): Return argument unchanged when small but not
34885         subnormal.
34887         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
34888         include macro name.
34889         (_FP_UNPACK_RAW_1_P): Likewise.
34890         (_FP_PACK_RAW_1): Likewise.
34891         (_FP_PACK_RAW_1_P): Likewise.
34892         (_FP_MUL_MEAT_1_wide): Likewise.
34893         (_FP_MUL_MEAT_DW_1_hard): Likewise.
34894         (_FP_MUL_MEAT_1_hard): Likewise.
34895         (_FP_DIV_MEAT_1_imm): Likewise.
34896         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
34897         (_FP_DIV_MEAT_1_udiv): Likewise.
34898         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
34899         (_FP_UNPACK_RAW_2): Likewise.
34900         (_FP_UNPACK_RAW_2_P): Likewise.
34901         (_FP_PACK_RAW_2): Likewise.
34902         (_FP_PACK_RAW_2_P): Likewise.
34903         (_FP_MUL_MEAT_DW_2_wide): Likewise.
34904         (_FP_MUL_MEAT_2_wide): Likewise.
34905         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34906         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34907         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
34908         (_FP_MUL_MEAT_2_gmp): Likewise.
34909         (_FP_DIV_MEAT_2_udiv): Likewise.
34910         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
34911         (_FP_FRAC_SRL_4): Likewise.
34912         (_FP_FRAC_SRST_4): Likewise.
34913         (_FP_FRAC_SRS_4): Likewise.
34914         (_FP_UNPACK_RAW_4): Likewise.
34915         (_FP_UNPACK_RAW_4_P): Likewise.
34916         (_FP_PACK_RAW_4): Likewise.
34917         (_FP_PACK_RAW_4_P): Likewise.
34918         (_FP_MUL_MEAT_DW_4_wide): Likewise.
34919         (_FP_MUL_MEAT_4_wide): Likewise.
34920         (_FP_MUL_MEAT_4_gmp): Likewise.
34921         (umul_ppppmnnn): Likewise.
34922         (_FP_DIV_MEAT_4_udiv): Likewise.
34923         (__FP_FRAC_ADD_4): Likewise.
34924         (__FP_FRAC_SUB_3): Likewise.
34925         (__FP_FRAC_SUB_4): Likewise.
34926         (__FP_FRAC_DEC_3): Likewise.
34927         (__FP_FRAC_DEC_4): Likewise.
34928         (__FP_FRAC_ADDI_4): Likewise.
34929         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
34930         (_FP_FRAC_SRL_8): Likewise.
34931         (_FP_FRAC_SRS_8): Likewise.
34933         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
34934         include macro name.
34935         (FP_UNPACK_RAW_EP): Likewise.
34936         (FP_PACK_RAW_E): Likewise.
34937         (FP_PACK_RAW_EP): Likewise.
34938         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
34939         (_FP_ISSIGNAN): Likewise.
34940         (_FP_ADD_INTERNAL): Likewise.
34941         (_FP_FMA): Likewise.
34942         (_FP_CMP): Likewise.
34943         (_FP_SQRT): Likewise.
34944         (_FP_TO_INT): Likewise.
34945         (_FP_FROM_INT): Likewise.
34946         (FP_EXTEND): Likewise.
34947         (_FP_DIV_MEAT_N_loop): Likewise.
34949 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34951         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
34952         throughout.
34954 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
34956         [BZ #17097]
34957         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
34958         result with correct sign in case of exponents that produce
34959         overflow except for X very close to 1.
34961 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
34963         mktime: merge #if/#ifdef usage from glibc
34964         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
34965         as that works with both Glibc's and Gnulib's style.
34966         See thread starting at Siddhesh Poyarekar's bug report at:
34967         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
34969 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34971         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
34972         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
34973         * sysdeps/tile/tilegx/memmove.c: Remove file.
34975 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34977         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34978         abi-name definition.
34979         * scripts/soversions.awk: Do not handle or generate ABI lines.
34980         * shlib-versions: Remove ABI entries.
34981         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34982         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34984 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34987         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34988         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34989         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34991         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34993         Moved ...
34994         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34995         ... here.
34996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34997         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34999         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35001         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35003         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35005         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35007         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35009         Moved ...
35010         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35012         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35014         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35016         Moved ...
35017         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35019         Moved ...
35020         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35022         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35024         Moved ...
35025         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35027         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35029         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35031         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35033         Moved ...
35034         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35036         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35037         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35038         Moved ...
35039         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35041         Moved ...
35042         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35044         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35046         Moved ...
35047         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35048         ... here.
35049         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35050         Identical file removed.
35051         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35052         Moved ...
35053         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35054         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35055         Identical file removed.
35056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35057         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35058         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35059         Moved ...
35060         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35061         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35062         Identical file removed.
35063         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35064         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35066         Identical file removed.
35067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35068         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35070         Identical file removed.
35071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35072         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35074         Identical file removed.
35075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35076         Moved ...
35077         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35079         Identical file removed.
35080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35081         Moved ...
35082         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35084         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35086         Identical file removed.
35087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35088         Moved ...
35089         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35090         ... here.
35091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35092         Identical file removed.
35093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35094         Moved ...
35095         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35097         Identical file removed.
35098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35099         Moved ...
35100         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35102         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35104         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35106         Moved ...
35107         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35108         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35109         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35111         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35112         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35113         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35114         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35115         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35117 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35119         [BZ #17092]
35120         * nscd/nscd.c (monitor_child): Return exit status of child
35121         instead of return value from wait syscall.
35123 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35125         * configure.ac (libc_commonpagesize): Remove variable.
35126         (libc_relro_required): Likewise.
35127         (libc_cv_z_relro): Remove configure test.
35128         * configure: Regenerated.
35129         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35130         variable.
35131         (libc_relro_required): Likewise.
35132         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35133         (libc_relro_required): Likewise.
35134         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35135         (libc_relro_required): Likewise.
35136         * sysdeps/arm/preconfigure: Regenerated.
35137         * sysdeps/ia64/preconfigure: Remove file.
35138         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35139         variable.
35140         (libc_relro_required): Likewise.
35142         [BZ #16561]
35143         [BZ #16562]
35144         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35145         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35146         recompute overflowing results in original rounding mode.
35147         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35148         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35149         recompute overflowing results in original rounding mode.
35150         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35151         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35152         recompute overflowing results in original rounding mode.
35153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35154         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35155         recompute overflowing results in original rounding mode.
35156         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35157         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35158         recompute overflowing results in original rounding mode.
35159         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35160         (libc_feholdsetround_ctx): New macro.
35161         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35162         * sysdeps/i386/fpu/libm-test-ulps: Update.
35163         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35165 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35167         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35168         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35169         corresponding .cpsetup call.
35171 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35173         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35174         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35175         * sysdeps/arm/Makefile [$(subdir) = csu]
35176         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35177         (static-only-routines): Add aeabi_read_tp here.
35178         (shared-only-routines): Add libc-aeabi_read_tp here.
35179         (CFLAGS-libc-start.c): Add -fexceptions here.
35180         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35181         (sysdep_routines, static-only-routines, shared-only-routines):
35182         Don't add to these here.
35183         (CFLAGS-libc-start.c): Likewise.
35185         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35186         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35187         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35188         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35189         * sysdeps/arm/Makefile [$(subdir) = rt]
35190         (librt-sysdep_routines, librt-shared-only-routines):
35191         Append rt-aeabi_unwind_cpp_pr1 here.
35192         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35193         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35194         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35195         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35196         Append nptl-aeabi_unwind_cpp_pr1 here.
35197         (tests): Filter out tst-cleanupx4 here.
35198         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35199         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35200         Don't do those here.
35202 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35204         * scripts/list-sources.sh: Do not handle ports specially.
35206 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35208         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35209         * sysdeps/arm/feupdateenv.c: Likewise.
35211         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35213 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35215         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35216         trailing whitespace removed.
35217         * scripts/config.guess: Update to version 2014-03-23.
35218         * scripts/config.sub: Update to version 2014-05-01
35219         * scripts/install-sh: Update to version 2013-12-25.23.
35220         * scripts/move-if-change: Update from gnulib.
35222 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35224         * debug/memmove_chk.c: Remove pagecopy.h include.
35226 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35228         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35229         identical to gnulib mktime.
35231 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35233         * configure.ac: Do not test for machine being rs6000.  Do not test
35234         for powerpc*-*soft.
35235         * configure: Regenerated.
35237         [BZ #11505]
35238         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35239         test.
35240         * configure: Regenerated.
35241         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35242         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35243         Remove configure test.
35244         * sysdeps/arm/configure: Regenerated.
35245         * sysdeps/nptl/configure.ac: Do not check
35246         libc_cv_asm_cfi_directives.
35247         * sysdeps/nptl/configure: Regenerated.
35248         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35249         * sysdeps/x86_64/nptl/configure: Remove generated file.
35250         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35251         unconditional.
35252         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35254 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35256         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35257         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35258         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35259         it is defined.
35261         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35262         instead of whether it is defined.
35263         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35264         * sysdeps/hppa/dl-machine.h: Likewise.
35265         * sysdeps/ia64/dl-machine.h: Likewise.
35266         * sysdeps/m68k/dl-machine.h: Likewise.
35267         * sysdeps/microblaze/dl-machine.h: Likewise.
35268         * sysdeps/mips/dl-machine.: Likewise.
35269         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35270         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35271         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35272         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35273         * sysdeps/sh/dl-machine.h: Likewise.
35274         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35275         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35276         * sysdeps/tile/dl-machine.h: Likewise.
35277         * sysdeps/x86_64/dl-machine.h: Likewise.
35279         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35280         code.
35281         (verify_persistent_db): Likewise.
35283 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35286         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35288         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35290         Moved ...
35291         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35292         ... here.
35293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35294         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35296         Identical file removed.
35297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35298         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35300         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35302         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35304         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35306         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35308         Moved ...
35309         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35311         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35313         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35315         Moved ...
35316         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35318         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35320         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35322         Identical file removed.
35323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35324         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35326         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35328         Moved ...
35329         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35330         ... here.
35331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35332         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35334         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35336         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35338         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35340         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35342         Moved ...
35343         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35345         Moved ...
35346         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35348         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35350         Moved ...
35351         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35353         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35355         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35356         folded into ...
35357         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35358         * sysdeps/unix/sysv/linux/s390/Versions
35359         (libpthread: GLIBC_2.19): New version set.
35360         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35361         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35362         (librt: GLIBC_2.3.3): New version set.
35363         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35364         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35365         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35366         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35367         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35368         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35369         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35370         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35371         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35372         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35373         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35374         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35375         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35376         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35377         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35378         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35379         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35380         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35381         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35382         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35383         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35384         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35385         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35386         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35387         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35388         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35389         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35390         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35391         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35392         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35393         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35394         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35395         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35399         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35401         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35403         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35404         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35405         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35407         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35409         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35410         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35411         (__libc_vfork): Define the function under this name.
35412         [!NOT_IN_libc] (__vfork): Make this an alias.
35413         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35415         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35416         (__libc_vfork): Define the function under this name.
35417         [!NOT_IN_libc] (__vfork): Make this an alias.
35418         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35419         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35420         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35422         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35423         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35425         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35426         code that was previously under [RESET_PID].
35427         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35428         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35431         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35432         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35433         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35434         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35435         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35436         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35437         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35438         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35439         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35440         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35441         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35442         Moved ...
35443         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35444         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35445         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35446         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35447         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35448         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35449         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35450         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35451         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35452         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35453         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35454         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35455         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35456         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35457         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35458         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35459         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35460         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35461         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35462         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35463         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35464         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35465         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35466         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35467         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35468         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35469         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35470         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35471         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35473 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35475         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35476         that was previously under [RESET_PID].
35477         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35479 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35481         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35482         not undefine and redefine.
35483         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35484         [O_CLOEXEC]: Make code unconditional.
35485         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35486         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35487         <kernel-features.h>.
35488         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35489         conditional variable definition.
35490         (shm_open) [O_CLOEXEC]: Make code unconditional.
35491         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35492         code.
35494         * configure.ac (USE_REGPARMS): Don't define here.
35495         * configure: Regenerated.
35496         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35497         * sysdeps/i386/configure: Regenerated.
35499         * nptl/createthread.c: Don't include kernel-features.h.
35500         * nptl/pthread_cancel.c: Likewise.
35501         * nptl/pthread_condattr_setclock.c: Likewise.
35502         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35503         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35504         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35505         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35506         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35507         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35508         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35509         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35510         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35511         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35512         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35513         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35514         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35515         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35516         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35517         * nscd/gai.c: Likewise.
35518         * nss/nss_db/db-open.c: Likewise.
35519         * sysdeps/generic/ldsodefs.h: Likewise.
35520         * sysdeps/sh/nptl/tls.h: Likewise.
35521         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35522         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35523         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35524         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35525         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35526         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35527         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35528         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35529         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35530         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35531         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35532         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35533         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35534         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35535         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35536         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35537         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35538         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35539         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35540         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35541         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35542         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35543         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35544         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35546         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35548         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35549         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35550         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35551         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35552         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35553         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35554         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35555         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35556         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35557         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35558         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35559         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35560         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35561         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35562         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35563         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35564         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35565         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35566         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35567         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35568         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35569         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35570         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35571         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35572         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35573         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35574         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35575         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35576         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35577         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35578         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35601         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35602         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35603         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35604         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35605         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35606         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35607         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35608         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35609         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35610         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35611         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35612         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35613         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35614         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35615         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35616         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35617         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35618         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35619         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35620         * sysdeps/unix/sysv/linux/system.c: Likewise.
35621         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35622         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35623         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35624         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35625         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35626         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35627         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35629         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35630         * configure: Regenerated.
35631         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35633         * configure.ac (base_machine): Do not set specially for particular
35634         machines here.
35635         * configure: Regenerated.
35636         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35637         settings from configure.ac.
35638         * sysdeps/i386/preconfigure: New file.
35639         * sysdeps/s390/preconfigure: Likewise.
35640         * sysdeps/sh/preconfigure: Likewise.
35641         * sysdeps/sparc/preconfigure: Likewise.
35643 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35645         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35646         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35647         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35648         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35649         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35650         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35651         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35652         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35653         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35654         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35655         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35656         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35657         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35658         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35659         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35660         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35661         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35662         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35663         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35665         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35666         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35667         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35668         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35669         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35670         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35671         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35672         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35673         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35674         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35675         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35676         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35677         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35678         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35679         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35680         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35681         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35682         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35683         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35684         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35685         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35686         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35687         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35688         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35689         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35690         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35691         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35692         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35693         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35694         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35695         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35696         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35697         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35698         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35699         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35700         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35701         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35702         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35705         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35707         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35709         Moved ...
35710         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35711         ... here.
35712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35713         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35715         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35717         Moved ...
35718         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35720         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35722         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35724         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35726         Moved ...
35727         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35729         Moved ...
35730         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35732         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35734         Moved ...
35735         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35737         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35739         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35741         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35743         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35745         Moved ...
35746         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35747         ... here.
35748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35749         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35751         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35753         Moved ...
35754         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35756         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35758         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35760         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35762         Moved ...
35763         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35765         Moved ...
35766         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35768         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35770         Moved ...
35771         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35773         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35775         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35777 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35779         * timezone/checktab.awk: Update from tzcode 2014e.
35780         * timezone/private.h: Likewise.
35781         * timezone/tzfile.h: Likewise.
35782         * timezone/zdump.c: Likewise.
35783         * timezone/zic.c: Likewise.
35785         * sysdeps/unix/sysv/linux/kernel-features.h
35786         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35787         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35788         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35789         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35790         Remove conditional code.
35792 2014-06-25  Will Newton  <will.newton@linaro.org>
35794         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35795         (_dl_arm_cap_flags): Add HWCAP2 values.
35796         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35797         (_DL_HWCAP_COUNT): Increase to 37.
35798         (_DL_HWCAP_LAST): New define.
35799         (_DL_HWCAP2_LAST): New define.
35800         (_dl_procinfo): Add support for printing
35801         AT_HWCAP2 entries.
35802         (_dl_string_hwcap): Use _dl_hwcap_string.
35804 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35808 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35810         * README: Do not mention ports directory.
35812         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
35813         Remove macro.
35814         * sysdeps/unix/sysv/linux/futimes.c: Do not include
35815         <kernel-features.h>.
35816         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35817         conditional variable definition.
35818         (__futimes): Update comment.
35819         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
35820         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
35822         [BZ #16560]
35823         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
35824         arguments close to 0.
35825         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35826         Likewise.
35827         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
35828         Likewise.
35829         * math/auto-libm-test-in: Add more tests of exp10.
35830         * math/auto-libm-test-out: Regenerated.
35831         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35833         * sysdeps/unix/sysv/linux/kernel-features.h
35834         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
35835         * sysdeps/unix/sysv/linux/readv.c: Do not include
35836         <kernel-features.h>.
35837         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35838         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35839         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35840         unconditional.
35841         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35842         conditional code.
35843         * sysdeps/unix/sysv/linux/writev.c: Do not include
35844         <kernel-features.h>.
35845         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35846         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35847         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35848         unconditional.
35849         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35850         conditional code.
35852 2014-06-25  Will Newton  <will.newton@linaro.org>
35854         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
35855         comment changes throughout the file.  Remove checks
35856         for HAVE_*_H definitions that are not required.
35857         (__gen_tempname): Call abort if an unknown kind value is
35858         passed.
35860 2014-06-25  Andreas Schwab  <schwab@suse.de>
35862         [BZ #17086]
35863         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
35864         scalbln, scalblnf, scalblnl in libc.
35866 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35868         [BZ #17086]
35869         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
35870         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35871         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35873 2014-06-24  Roland McGrath  <roland@hack.frob.com>
35875         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
35876         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
35877         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
35878         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
35879         Update #include.
35880         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
35881         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
35882         Update #include.
35883         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
35884         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
35885         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35886         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
35887         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
35888         * sysdeps/x86/bits/pthreadtypes.h: ... here.
35889         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
35890         * sysdeps/x86/bits/semaphore.h: ... here.
35891         * sysdeps/x86/nptl/elide.h: Moved ...
35892         * sysdeps/x86/elide.h: ... here.
35893         * sysdeps/x86_64/nptl/Implies: File removed.
35894         * sysdeps/i386/nptl/Implies: File removed.
35896 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
35898         [BZ #16539]
35899         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
35900         return the argument for normal arguments with exponent below -64.
35901         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35902         Likewise.
35903         * math/auto-libm-test-in: Add another test of expm1.
35904         * math/auto-libm-test-out: Regenerated.
35906         [BZ #16287]
35907         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
35908         calling __erfcl for arguments at least 16.
35909         * math/auto-libm-test-in: Add more tests of erf.
35910         * math/auto-libm-test-out: Regenerated.
35912         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
35913         individual architectures.
35914         * sysdeps/unix/sysv/linux/configure: Regenerated.
35915         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
35916         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
35917         * sysdeps/unix/sysv/linux/powerpc/configure.ac
35918         (ldd_rewrite_script): Define variable.
35919         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
35921         file.
35922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
35923         generated file.
35924         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
35925         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
35926         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
35927         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
35928         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
35929         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35930         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
35931         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
35933 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35935         [BZ #17084]
35936         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
35937         Rename member __data.d to __data.__elision_data.
35939 2014-06-24  Wilco  <wdijkstr@arm.com>
35941         * NEWS: Add 16918 to fixed bug list.
35943 2014-06-24  Wilco  <wdijkstr@arm.com>
35945         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
35947 2014-06-24  Wilco  <wdijkstr@arm.com>
35949         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
35950         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
35951         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
35952         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
35953         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
35954         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
35955         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
35956         Use _FPU_MASK_RM.
35958 2014-06-24  Wilco  <wdijkstr@arm.com>
35960         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
35962 2014-06-24  Wilco  <wdijkstr@arm.com>
35964         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
35965         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
35966         * sysdeps/arm/fesetround.c (fesetround): Remove space.
35967         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
35969 2014-06-24  Wilco  <wdijkstr@arm.com>
35971         [BZ #16918]
35972         * sysdeps/arm/feupdateenv.c (feupdateenv):
35973         Rewrite to reduce FPSCR accesses and fix return value.
35975 2014-06-24  Wilco  <wdijkstr@arm.com>
35977         * sysdeps/arm/fclrexcpt.c (feclearexcept):
35978         Optimize to avoid unnecessary FPSCR writes.
35979         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35980         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35981         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35982         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35984 2014-06-24  Wilco  <wdijkstr@arm.com>
35986         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35987         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35988         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35989         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35990         Call libc_fetestexcept_vfp.
35991         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35992         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35993         __SOFTFP__ ifdef so that they can be built for softfp.
35995 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35997         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35998         argument type signed char.
36000         * Makerules (check-abi): Dump diff of symlist if the test
36001         fails.
36003 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36005         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36006         using abort.
36008         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36009         Remove unused variable ST.
36011 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36013         [BZ #16354]
36014         [BZ #17061]
36015         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36016         small arguments before calling __expm1.
36017         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36018         small arguments before calling __expm1f.
36019         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36020         small arguments before calling __expm1l.
36021         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36022         Likewise.
36023         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36024         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36025         spurious underflow for some cosh tests.
36026         * math/auto-libm-test-out: Regenerated.
36027         * sysdeps/i386/fpu/libm-test-ulps: Update.
36029         [BZ #17050]
36030         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36031         (__ieee754_y1): Set errno if return value overflows.
36032         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36033         (__ieee754_y1f): Set errno if return value overflows.
36034         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36035         (__ieee754_y1l): Set errno if return value overflows.
36036         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36037         (__ieee754_y1l): Set errno if return value overflows.
36038         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36039         * math/auto-libm-test-out: Regenerated.
36041         * math/gen-auto-libm-tests.c: Document use of
36042         ignore-zero-inf-sign.
36043         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36044         (input_flags): Add ignore-zero-inf-sign.
36045         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36046         * math/gen-libm-test.pl (generate_testfile): Handle
36047         ignore-zero-inf-sign.
36048         * math/auto-libm-test-in: Mark some cpow tests with
36049         ignore-zero-inf-sign and some with xfail-rounding.
36050         * math/auto-libm-test-out: Regenerated.
36051         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36052         * sysdeps/i386/fpu/libm-test-ulps: Update.
36053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36055         [BZ #16315]
36056         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36057         overflowing or underflowing operations take place with sign of
36058         result.
36059         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36060         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36061         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36062         (__ieee754_pow): Recompute overflowing and underflowing results in
36063         original rounding mode.
36064         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36065         (__powl_helper): Allow negative argument X and scale negated value
36066         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36067         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36068         overflowing or underflowing operations take place with sign of
36069         result.
36070         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36071         Include <math.h>.
36072         * math/auto-libm-test-in: Add more tests of pow.
36073         * math/auto-libm-test-out: Regenerated.
36074         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36075         (pow_tonearest_test_data): Remove.
36076         (pow_test_tonearest): Likewise.
36077         (pow_towardzero_test_data): Likewise.
36078         (pow_test_towardzero): Likewise.
36079         (pow_downward_test_data): Likewise.
36080         (pow_test_downward): Likewise.
36081         (pow_upward_test_data): Likewise.
36082         (pow_test_upward): Likewise.
36083         (main): Don't call removed functions.
36084         * sysdeps/i386/fpu/libm-test-ulps: Update.
36085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36087 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36090         Moved ...
36091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36093         Moved ...
36094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36096         Moved ...
36097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36099         Moved ...
36100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36102         File removed.
36103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36104         File removed.
36105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36106         File removed.
36107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36108         File removed.
36109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36110         File removed.
36111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36112         File removed.
36113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36114         File removed.
36115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36116         File removed.
36117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36118         File removed.
36119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36120         File removed.
36121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36122         File removed.
36123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36124         File removed.
36125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36126         Moved ...
36127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36129         Moved ...
36130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36131         ... here.
36132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36133         Moved ...
36134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36136         Moved ...
36137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36139         Moved ...
36140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36142         Moved ...
36143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36145         Moved ...
36146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36148         Moved ...
36149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36151         Moved ...
36152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36155         ... here.
36156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36157         Moved ...
36158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36160         Moved ...
36161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36162         ... here.
36163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36164         Moved ...
36165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36166         ... here.
36167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36168         Moved ...
36169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36170         ... here.
36171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36172         Moved ...
36173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36175         Moved ...
36176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36180         Moved ...
36181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36182         ... here.
36183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36184         Moved ...
36185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36186         ... here.
36187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36188         Moved ...
36189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36191         Moved ...
36192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36194         Moved ...
36195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36197         Moved ...
36198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36200         Moved ...
36201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36202         ... here.
36203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36204         Moved ...
36205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36207         Moved ...
36208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36210         Moved ...
36211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36213         Moved ...
36214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36218         Moved ...
36219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36221         Moved ...
36222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36224         Moved ...
36225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36226         ... here.
36227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36228         Moved ...
36229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36230         ... here.
36231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36232         Moved ...
36233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36234         ... here.
36235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36236         Moved ...
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36239         Moved ...
36240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36242         Moved ...
36243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36245         Moved ...
36246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36247         ... here.
36248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36249         Moved ...
36250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36251         ... here.
36252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36253         Moved ...
36254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36255         ... here.
36256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36257         Moved ...
36258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36260         Moved ...
36261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36263 2014-06-23  Will Newton  <will.newton@linaro.org>
36264             Wilco  <wdijkstr@arm.com>
36266         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36267         implementation.  Include get-rounding-mode.h.
36268         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36269         [!libc_feholdsetround_noex_ctx]: Define
36270         libc_feholdsetround_noex_ctx.
36271         [!libc_feholdsetround_noexf_ctx]: Define
36272         libc_feholdsetround_noexf_ctx.
36273         [!libc_feholdsetround_noexl_ctx]: Define
36274         libc_feholdsetround_noexl_ctx.
36275         (libc_feholdsetround_ctx): New function.
36276         (libc_feresetround_ctx): New function.
36277         (libc_feholdsetround_noex_ctx): New function.
36278         (libc_feresetround_noex_ctx): New function.
36280 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36282         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36283         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36284         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36285         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36286         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36287         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36289         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36290         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36291         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36292         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36293         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36294         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36296         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36298         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36300         Moved ...
36301         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36302         ... here.
36303         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36304         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36305         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36306         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36307         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36308         Moved ...
36309         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36311         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36313         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36315         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36316         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36317         Moved ...
36318         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36320         Moved ...
36321         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36322         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36323         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36324         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36325         Moved ...
36326         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36328         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36329         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36330         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36331         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36332         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36334         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36336         Moved ...
36337         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36338         ... here.
36339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36340         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36341         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36342         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36344         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36345         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36346         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36347         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36348         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36350         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36352         Moved ...
36353         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36354         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36355         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36356         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36357         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36359         Moved ...
36360         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36362         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36363         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36364         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36366         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36367         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36368         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36369         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36370         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36371         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36372         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36373         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36374         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36375         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36376         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36377         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36378         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36379         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36380         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36381         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36382         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36383         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36384         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36385         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36386         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36387         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36388         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36389         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36390         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36391         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36392         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36393         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36395 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36397         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36398         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36399         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36400         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36401         (IPV6_PMTUDISC_INTERFACE): Likewise.
36402         (IPV6_PMTUDISC_OMIT): Likewise.
36404 2014-06-23  Andreas Schwab  <schwab@suse.de>
36406         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36407         Remove unused errout label.
36409 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36411         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36412         macro: hardware supports Vector Crypto instructions.
36414 2014-06-23  Will Newton  <will.newton@linaro.org>
36416         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36417         rather than __builtin_expect.
36419         * elf/dl-lookup.c (undefined_msg): Remove variable.
36420         (_dl_lookup_symbol_x): Replace undefined_msg with string
36421         literal.
36423         * elf/dl-lookup.c (do_lookup_unique): New function.
36424         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36425         to a separate function.
36427 2014-06-23  Andreas Schwab  <schwab@suse.de>
36429         [BZ #17079]
36430         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36431         before reading the next line.
36433 2014-06-23  Will Newton  <will.newton@linaro.org>
36435         * test-skeleton.c (signal_handler): Use printf and %m
36436         rather than perror.  Use printf rather than fprintf to
36437         stderr.  Use puts rather than fputs to stderr.
36438         (main): Likewise.
36440 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36442         * nscd/nscd.c (thread_info_t): Remove typedef.
36443         (thread_info): Remove variable.
36445 2014-06-21  Allan McRae  <allan@archlinux.org>
36447         * NEWS: Mention CVE-2014-4043.
36449 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36451         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36452         * nptl/smp.h: ... here.
36454         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36456         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36457         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36458         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36459         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36461         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36462         * nptl/stack-aliasing.h: New file.
36463         * sysdeps/i386/i686/stack-aliasing.h: New file.
36464         * sysdeps/i386/i686/nptl/Makefile: File removed.
36465         * sysdeps/x86_64/stack-aliasing.h: New file.
36466         * sysdeps/x86_64/nptl/Makefile
36467         (CFLAGS-pthread_create.c): Variable removed.
36469         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36470         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36471         old file.
36472         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36473         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36474         old file.
36476 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36478         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36479         (__ASSUME_SIGFRAME_V2): Remove macro.
36480         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36481         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36482         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36483         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36484         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36485         Declare as function.  Remove conditional macro definitions.
36486         (__default_rt_sa_restorer): Likewise.
36487         (__default_sa_restorer_v1): Remove declaration.
36488         (__default_sa_restorer_v2): Likewise.
36489         (__default_rt_sa_restorer_v1): Likewise.
36490         (__default_rt_sa_restorer_v2): Likewise.
36491         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36492         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36493         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36495 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36497         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36498         (libpthread-routines): Add sysdep.
36499         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36500         * sysdeps/unix/sysv/linux/sparc/Versions
36501         (libpthread: GLIBC_2.3.3): New version set.
36502         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36503         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36504         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36505         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36506         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36507         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36508         Moved ...
36509         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36510         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36511         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36512         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36513         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36514         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36515         * sysdeps/sparc/nptl/sem_init.c: ... here.
36516         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36517         * sysdeps/sparc/nptl/sem_post.c: ... here.
36518         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36519         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36520         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36521         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36522         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36523         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36524         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36525         (libpthread-routines): Add cpu_relax.
36526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36527         File removed.
36528         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36529         (librt: GLIBC_2.3.3): New version set.
36530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36531         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36532         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36533         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36536         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36538         Moved ...
36539         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36541         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36543         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36545         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36547         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36549         Moved ...
36550         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36551         Update #include.
36552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36553         Moved ...
36554         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36555         Update #include.
36556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36557         Moved ...
36558         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36559         Update #include.
36560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36561         Moved ...
36562         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36563         Update #include.
36564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36565         Moved ...
36566         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36567         Update #include.
36568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36569         Moved ...
36570         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36571         Update #include.
36572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36573         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36575         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36577         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36579         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36581         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36583         Moved ...
36584         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36586         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36588         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36590 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36592         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36593         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36594         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36595         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36596         * nscd/nscd.c: Likewise.
36597         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36598         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36599         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36600         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36602         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36603         <kernel-features.h>.
36604         (init_mq_netlink): Remove conditional have_sock_cloexec
36605         definitions.  Remove code conditional on have_sock_cloexec < 0.
36606         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36607         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36608         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36609         <kernel-features.h>.
36610         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36611         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36613 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36616         Add tests for memset_chk and memset.
36618         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36619         with AVX2_Usable.
36621 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36623         [BZ #16046]
36624         * elf/tst-dl-iter-static.c: New file.
36625         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36627         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36628         error.
36630 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36632         * sysdeps/unix/sysv/linux/kernel-features.h
36633         (__ASSUME_F_GETOWN_EX): Remove macro.
36634         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36635         <kernel-features.h>.
36636         (miss_F_GETOWN_EX): Remove variable or macro.
36637         (do_fcntl): Do not check miss_F_GETOWN_EX.
36638         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36640         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36641         Remove macro.
36642         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36643         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36644         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36646         * sysdeps/unix/sysv/linux/kernel-features.h
36647         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36648         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36649         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36650         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36652 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36654         [BZ #17075]
36655         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36656         Fix calculation of the symbol's value.
36657         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36658         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36659         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36660         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36661         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36662         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36663         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36664         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36665         (modules-names): Add `tst-armtlsdescmod',
36666         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36667         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36668         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36669         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36670         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36671         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36672         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36673         ($(objpfx)tst-armtlsdescloc): New dependency.
36674         ($(objpfx)tst-armtlsdescextnow): Likewise.
36675         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36676         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36677         TLS scheme support.
36678         * sysdeps/arm/configure: Regenerate.
36680 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36682         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36683         (__atfct_seterrno_2): Likewise.
36684         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36685         <kernel-features.h>.
36686         (__ASSUME_ATFCTS): Do not undefine and redefine.
36687         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36688         (__have_atfcts): Remove conditional definition.
36689         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36690         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36691         unreachable if [__ASSUME_ATFCTS].
36692         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36693         not undefine and redefine.
36694         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36695         <kernel-features.h>.
36696         (faccessat) [__NR_faccessat]: Make code unconditional.
36697         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36698         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36699         <kernel-features.h>.
36700         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36701         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36702         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36703         <kernel-features.h>.
36704         (fchownat) [__NR_fchownat]: Make code unconditional.
36705         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36706         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36707         <kernel-features.h>.
36708         (futimesat) [__NR_futimesat]: Make code unconditional.
36709         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36710         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36711         <kernel-features.h>.
36712         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36713         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36714         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36715         <kernel-features.h>.
36716         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36717         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36718         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36719         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36720         <kernel-features.h>.
36721         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36722         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36723         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36724         <kernel-features.h>.
36725         (linkat) [__NR_linkat]: Make code unconditional.
36726         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36727         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36728         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36729         <kernel-features.h>.
36730         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36731         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36732         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36733         <kernel-features.h>.
36734         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36735         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36736         * sysdeps/unix/sysv/linux/openat.c: Do not include
36737         <kernel-features.h>.
36738         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36739         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36740         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36741         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36742         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36743         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36744         <kernel-features.h>.
36745         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36746         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36747         result of INLINE_SYSCALL directly, not via int variable.
36748         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36749         <kernel-features.h>.
36750         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36751         (renameat) [__NR_renameat]: Make code unconditional.
36752         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36753         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36754         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36755         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36756         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36757         (__ASSUME_ATFCTS): Do not undefine and redefine.
36758         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36759         <kernel-features.h>.
36760         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36761         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36762         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36763         <kernel-features.h>.
36764         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36765         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36766         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36767         (__ASSUME_ATFCTS): Do not undefine and redefine.
36768         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36769         <kernel-features.h>.
36770         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36771         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36772         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36773         <kernel-features.h>.
36774         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36775         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36777 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36779         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36781 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36783         [BZ #17069]
36784         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36785         constructed tree before returning error.
36786         * posix/bug-regexp36.c: Expand test case.
36788 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36790         [BZ #6803]
36791         * math/libm-test.inc (scalbln_test_date):
36792         Add errno expectations.
36793         * math/w_scalblnf.c: New File.
36794         Add wrapper which checks for setting errno to ERANGE.
36795         Add weak_alias for corresponding scalbln function.
36796         * math/w_scalbln.c: Likewise.
36797         * math/w_scalblnl.c: Likewise.
36798         * math/Makefile (libm-calls): Add w_scalbln.
36799         * sysdeps/ieee754/flt-32/s_scalblnf.c:
36800         Remove weak_alias for corresponding scalbln function.
36801         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36802         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36803         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36805         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
36806         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36807         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
36808         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36809         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
36810         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
36811         Remove long_double_symbol for scalblnl function in libm, libc.
36812         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
36813         Add wrapper which checks for setting errno to ERANGE.
36814         Add long_double_symbol for scalblnl function in libm, libc.
36815         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
36816         Remove long_double_symbol for scalblnl in libm.
36817         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
36818         Add wrapper which checks for setting errno to ERANGE.
36819         Add long_double_symbol for scalblnl function in libm.
36820         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
36821         Do not use wrapper because of own implementation.
36823 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
36825         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
36826         3 bytes for __pad1 for x32.
36827         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
36829 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
36830             H.J. Lu  <hongjiu.lu@intel.com>
36832         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
36833         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
36834         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36835         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36836         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
36838 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
36840         [BZ #17069]
36841         * posix/regcomp.c (parse_expression): Deallocate partially
36842         constructed tree before returning error.
36843         * posix/Makefile.c (tests): Add bug-regex36.
36844         (generated): Add bug-regex36.mtrace.
36845         (tests-special): Add $(objpfx)bug-regex36-mem.out
36846         (bug-regex36-ENV): New variable.
36847         ($(objpfx)bug-regex36-mem.out): New rule.
36848         * posix/bug-regex36.c: New file.
36850 2014-06-19  Will Newton  <will.newton@linaro.org>
36852         * malloc/malloc.c (systrim): If extra is zero then return
36853         early.
36855 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36857         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
36859 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
36861         * sysdeps/aarch64/strchr.S: New file.
36863 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36865         [BZ #17022]
36866         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
36867         from arguments -2 or below.
36868         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36869         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
36871 2014-06-18  Andreas Schwab  <schwab@suse.de>
36873         [BZ #17062]
36874         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
36875         of a bracket expr not to run off the end of the string.
36876         * posix/Makefile (tests): Add tst-fnmatch3.
36877         * posix/tst-fnmatch3.c: New file.
36879 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36881         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
36882         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36883         [$(cross-compiling) = no]: Likewise.
36884         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36885         [$(cross-compiling) = no]: Likewise.
36887 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36889         [BZ #17031]
36890         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
36891         double, adjusted for any remainder from the high double.
36892         * math/libm-test.inc (nearbyint): Add tests.
36893         (rint): Likewise.
36895 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36897         * nptl/sysdeps/powerpc/Makefile: Moved ...
36898         * sysdeps/powerpc/nptl/Makefile: ... here.
36899         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
36900         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
36901         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
36902         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
36903         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
36904         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
36905         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36906         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
36907         * nptl/sysdeps/powerpc/tls.h: Moved ...
36908         * sysdeps/powerpc/nptl/tls.h: ... here.
36910 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
36912         [BZ #16681]
36913         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
36914         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
36915         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
36916         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
36917         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
36918         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
36919         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
36920         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
36921         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
36923 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
36925         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36927 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
36929         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
36930         defined operator.
36932         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
36933         $TIMEOUTFACTOR.
36935 2014-06-16  Florian Weimer  <fweimer@redhat.com>
36937         [BZ #17058]
36938         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
36939         non-executed part of the test.
36941 2014-06-16  Andreas Schwab  <schwab@suse.de>
36943         * string/bits/string2.h (strdup, strndup): Update feature guard.
36945 2014-06-14  David S. Miller  <davem@davemloft.net>
36947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36949 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
36951         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
36952         that was previously under [RESET_PID].
36953         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
36955         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
36956         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
36957         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
36958         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36959         (__libc_vfork): New strong alias.
36960         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36962 2014-06-14 Andi Kleen  <ak@linux.intel.com>
36964         * sysdeps/generic/elide.h: New file.
36966 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36968         * Makefile (installed-headers): Adjust path of pthread.h header.
36970 2014-06-13  Roland McGrath  <roland@hack.frob.com>
36972         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
36973         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
36974         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
36975         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36977         * nptl/sysdeps/s390/Makefile: Moved ...
36978         * sysdeps/s390/nptl/Makefile: ... here.
36979         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36980         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36981         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36982         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36983         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36984         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36985         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36986         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36987         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36988         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36989         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36990         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36991         * nptl/sysdeps/s390/tls.h: Moved ...
36992         * sysdeps/s390/nptl/tls.h: ... here.
36994         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36995         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36997 2014-06-13  David S. Miller  <davem@davemloft.net>
36999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37002         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37006         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37007         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37008         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37009         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37010         Remove RESET_PID cpp guards.
37011         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37012         Remove RESET_PID cpp guards.
37013         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37015 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37017         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37018         __sp to uintptr_t.
37020 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37022         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37023         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37024         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37025         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37026         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37027         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37028         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37029         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37030         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37031         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37032         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37033         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37035         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37036         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37037         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37038         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37039         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37040         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37041         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37043         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37044         (pthread_rwlock_rdlock): Add elision.
37045         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37046         (pthread_rwlock_wrlock): Add elision.
37047         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37048         (pthread_rwlock_trywrlock): Add elision.
37049         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37050         (pthread_rwlock_tryrdlock): Add elision.
37051         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37052         (pthread_rwlock_tryrdlock): Add elision unlock.
37053         * nptl/sysdeps/pthread/pthread.h:
37054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37055         (PTHREAD_RWLOCK_INITIALIZER,
37056         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37057         Handle new elision field.
37058         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37059         * sysdeps/arm/nptl/bits/pthreadtypes.h
37060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37061         * sysdeps/sh/nptl/bits/pthreadtypes.h
37062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37063         * sysdeps/tile/nptl/bits/pthreadtypes.h
37064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37065         * sysdeps/a/nptl/bits/pthreadtypes.h
37066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37067         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37069         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37071         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37073         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37074         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37075         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37077         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37079         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37081         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37083         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37084         (elision_init): Set try_xbegin to zero when no RTM.
37085         * sysdeps/x86/nptl/bits/pthreadtypes.h
37086         (pthread_rwlock_t): Change __pad1 to __rwelision.
37087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37089 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37091         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37092         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37093         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37094         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37096 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37098         [BZ #16996]
37099         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37100         that the cached result has been set before returning it.
37102 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37104         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37105         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37106         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37107         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37108         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37109         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37111         * nptl/sysdeps/sparc/Makefile: Moved ...
37112         * sysdeps/sparc/nptl/Makefile: ... here.
37113         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37114         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37115         * nptl/sysdeps/sparc/tls.h: Moved ...
37116         * sysdeps/sparc/nptl/tls.h: ... here.
37117         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37118         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37119         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37120         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37121         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37122         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37123         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37124         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37125         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37126         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37127         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37128         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37129         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37130         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37131         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37132         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37133         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37134         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37135         Update #include.
37136         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37137         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37138         Update #include.
37139         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37140         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37141         Update #include.
37142         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37143         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37144         Update #include.
37146         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37148         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37149         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37151         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37152         (struct list_links): Type removed.
37153         (struct thread_node, struct timer_node): Replace struct list_links
37154         with struct list_head.
37155         (list_unlink_ip): Likewise.
37156         * sysdeps/pthread/timer_routines.c
37157         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37158         (list_append, list_insbefore): Likewise.
37159         (list_init): Function removed.
37160         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37161         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37162         * sysdeps/pthread/Makefile: ... here, new file.
37164         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37165         * sysdeps/nptl/Implies: ... here.
37166         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37167         * nptl/sysdeps/pthread/list.h: Moved ...
37168         * include/list.h: ... here.
37169         * nptl/sysdeps/pthread/createthread.c: Moved ...
37170         * nptl/createthread.c: ... here.
37171         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37172         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37173         * nptl/pt-longjmp.c: ... here.
37174         * nptl/sysdeps/pthread/Makefile: Moved ...
37175         * sysdeps/nptl/Makefile: ... here.
37176         * nptl/sysdeps/pthread/Subdirs: Moved ...
37177         * sysdeps/nptl/Subdirs: ... here.
37178         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37179         * sysdeps/nptl/aio_misc.h: ... here.
37180         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37181         * sysdeps/nptl/bits/libc-lock.h: ... here.
37182         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37183         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37184         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37185         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37186         * nptl/sysdeps/pthread/configure: Moved ...
37187         * sysdeps/nptl/configure: ... here.
37188         * nptl/sysdeps/pthread/configure.ac: Moved ...
37189         * sysdeps/nptl/configure.ac: ... here.
37190         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37191         * sysdeps/nptl/gai_misc.h: ... here.
37192         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37193         * sysdeps/nptl/librt-cancellation.c: ... here.
37194         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37195         * sysdeps/nptl/malloc-machine.h: ... here.
37196         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37197         * sysdeps/nptl/pthread-functions.h: ... here.
37198         * nptl/sysdeps/pthread/pthread.h: Moved ...
37199         * sysdeps/nptl/pthread.h: ... here.
37200         * nptl/sysdeps/pthread/setxid.h: Moved ...
37201         * sysdeps/nptl/setxid.h: ... here.
37202         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37203         * sysdeps/nptl/sigfillset.c: ... here.
37204         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37205         * sysdeps/nptl/tcb-offsets.h: ... here.
37206         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37207         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37208         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37209         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37210         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37211         * sysdeps/pthread/allocalim.h: ... here.
37212         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37213         * sysdeps/pthread/bits/sigthread.h: ... here.
37214         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37215         * sysdeps/pthread/flockfile.c: ... here.
37216         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37217         * sysdeps/pthread/ftrylockfile.c: ... here.
37218         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37219         * sysdeps/pthread/funlockfile.c: ... here.
37220         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37221         * sysdeps/pthread/posix-timer.h: ... here.
37222         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37223         * sysdeps/pthread/timer_create.c: ... here.
37224         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37225         * sysdeps/pthread/timer_delete.c: ... here.
37226         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37227         * sysdeps/pthread/timer_getoverr.c: ... here.
37228         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37229         * sysdeps/pthread/timer_gettime.c: ... here.
37230         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37231         * sysdeps/pthread/timer_routines.c: ... here.
37232         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37233         * sysdeps/pthread/timer_settime.c: ... here.
37234         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37235         * sysdeps/pthread/tst-timer.c: ... here.
37236         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37237         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37239         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37240         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37242         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37243         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37244         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37245         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37246         Update #include target.
37247         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37248         * sysdeps/i386/i686/nptl/Makefile: ... here.
37249         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37250         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37251         Update #include target.
37252         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37253         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37254         * nptl/sysdeps/i386/Makefile: Moved ...
37255         * sysdeps/i386/nptl/Makefile: ... here.
37256         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37257         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37258         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37259         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37260         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37261         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37262         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37263         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37264         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37265         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37266         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37267         * nptl/sysdeps/i386/tls.h: Moved ...
37268         * sysdeps/i386/nptl/tls.h: ... here.
37270         * sysdeps/sh/Makefile [$(subdir) = csu]
37271         (gen-as-const-headers): Add tcb-offsets.sym.
37272         * nptl/sysdeps/sh/Makefile: File removed.
37273         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37274         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37275         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37276         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37277         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37278         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37279         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37280         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37281         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37282         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37283         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37284         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37285         * nptl/sysdeps/sh/tls.h: Moved ...
37286         * sysdeps/sh/nptl/tls.h: ... here.
37287         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37288         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37289         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37290         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37291         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37292         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37293         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37294         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37295         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37296         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37297         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37298         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37300         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37302         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37303         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37304         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37305         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37306         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37307         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37308         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37309         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37310         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37311         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37312         Moved ...
37313         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37314         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37315         Moved ...
37316         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37318         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37320         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37321         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37322         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37323         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37324         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37325         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37326         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37327         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37328         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37329         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37330         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37331         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37332         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37333         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37334         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37336 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37338         * posix/spawn_faction_addopen.c: Include string.h.
37340 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37342         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37343         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37344         * nptl/sysdeps/x86_64/Makefile: Moved ...
37345         * sysdeps/x86_64/nptl/Makefile: ... here.
37346         * nptl/sysdeps/x86_64/configure: Moved ...
37347         * sysdeps/x86_64/nptl/configure: ... here.
37348         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37349         * sysdeps/x86_64/nptl/configure.ac: ... here.
37350         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37351         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37352         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37353         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37354         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37355         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37356         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37357         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37358         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37359         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37360         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37361         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37362         * nptl/sysdeps/x86_64/tls.h: Moved ...
37363         * sysdeps/x86_64/nptl/tls.h: ... here.
37364         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37365         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37366         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37367         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37369         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37371 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37375 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37377         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37378         type.
37379         [POSIX] (off_t): Likewise.
37380         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37381         [POSIX] (S_ISBLK): Require macro.
37382         [POSIX] (S_ISCHR): Likewise.
37383         [POSIX] (S_ISDIR): Likewise.
37384         [POSIX] (S_ISFIFO): Likewise.
37385         [POSIX] (S_ISREG): Likewise.
37386         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37387         optional-macro.
37388         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37389         type.
37390         [POSIX] (time_t): Likewise.
37391         [POSIX] (timer_t): Likewise.
37393 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37395         [BZ #17048]
37396         * posix/spawn_int.h (struct __spawn_action): Make the path string
37397         non-const to support deallocation.
37398         * posix/spawn_faction_addopen.c
37399         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37400         * posix/spawn_faction_destroy.c
37401         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37402         path in all spawn_do_open actions.
37403         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37404         posix_spawn_file_actions_addopen.
37406 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37408         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37409         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37410         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37411         conditional code always true.
37412         (__libc_vfork): New alias.
37414 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37416         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37417         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37419         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37421         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37422         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37424         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37425         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37427         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37428         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37430 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37432         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37433         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37434         multiarch strcmp for PPC64.
37435         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37436         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37438         multiarch optimizations.
37439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37440         (__libc_ifunc_impl_list): Likewise.
37442 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37444         * benchtests/scripts/validate_benchout.py: New script.
37445         * benchtests/Makefile (bench-func): Call it.
37446         * benchtests/scripts/benchout.schema.json: New file.
37448 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37450         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37451         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37452         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37453         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37454         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37455         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37456         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37457         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37458         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37459         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37460         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37461         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37462         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37463         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37464         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37465         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37467         Moved ...
37468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37469         ... here.
37470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37471         Moved ...
37472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37474         Moved ...
37475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37476         ... here.
37477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37478         Moved ...
37479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37480         ... here.
37481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37482         Moved ...
37483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37485         Moved ...
37486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37487         ... here.
37488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37489         Moved ...
37490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37491         ... here.
37492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37493         Moved ...
37494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37496         Moved ...
37497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37498         ... here.
37499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37500         Moved ...
37501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37502         ... here.
37503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37504         Moved ...
37505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37506         ... here.
37507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37508         Moved ...
37509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37511         Moved ...
37512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37513         ... here.
37514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37515         Moved ...
37516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37517         ... here.
37518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37519         Moved ...
37520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37521         ... here.
37522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37523         Moved ...
37524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37526         Moved ...
37527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37528         ... here.
37529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37530         Moved ...
37531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37532         ... here.
37533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37534         Moved ...
37535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37537         Moved ...
37538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37539         ... here.
37540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37541         Moved ...
37542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37544         Moved ...
37545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37547         Moved ...
37548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37549         ... here.
37550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37551         Moved ...
37552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37553         ... here.
37554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37555         Moved ...
37556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37557         ... here.
37558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37559         Moved ...
37560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37562         Moved ...
37563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37564         ... here.
37565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37566         Moved ...
37567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37568         ... here.
37569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37570         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37572         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37574         Moved ...
37575         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37576         ... here.
37577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37578         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37580         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37582         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37583         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37584         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37586         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37588         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37590         Moved ...
37591         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37592         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37593         Moved ...
37594         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37596         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37598         Moved ...
37599         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37600         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37601         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37602         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37603         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37604         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37605         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37607 2014-06-10  Wilco  <wdijkstr@arm.com>
37609         * math/test-fenv-return.c: New file.
37610         * math/Makefile: Add new test test-fenv-return.
37612 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37614         [BZ #17042]
37615         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37616         when x - 1 is zero.
37617         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37618         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37619         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37620         0.0L for an argument of 1.0L.
37621         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37622         Likewise.
37623         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37624         value when x - 1 is zero.
37625         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37626         * sysdeps/i386/fpu/libm-test-ulps: Update.
37627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37629 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37631         [BZ #15119]
37632         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37634 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37636         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37637         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37639 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37641         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37642         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37644         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37645         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37647         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37648         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37650         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37651         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37653         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37654         if not already defined.
37655         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37656         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37657         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37658         (TLS_INIT_TP): Use it.
37659         (TLS_DEFINE_INIT_TP): New macro.
37660         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37662 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37664         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37665         constant.
37666         [POSIX] (IXANY): Likewise.
37667         [POSIX] (OLCUC): Likewise.
37668         [POSIX || POSIX2008] (CBAUD): Do not allow.
37669         [POSIX || POSIX2008] (DEFECHO): Likewise.
37670         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37671         [POSIX || POSIX2008] (ECHOKE): Likewise.
37672         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37673         [POSIX || POSIX2008] (EXTA): Likewise.
37674         [POSIX || POSIX2008] (EXTB): Likewise.
37675         [POSIX || POSIX2008] (FLUSHO): Likewise.
37676         [POSIX || POSIX2008] (LOBLK): Likewise.
37677         [POSIX || POSIX2008] (PENDIN): Likewise.
37678         [POSIX || POSIX2008] (SWTCH): Likewise.
37679         [POSIX || POSIX2008] (VDISCARD): Likewise.
37680         [POSIX || POSIX2008] (VDSUSP): Likewise.
37681         [POSIX || POSIX2008] (VLNEXT): Likewise.
37682         [POSIX || POSIX2008] (VREPRINT): Likewise.
37683         [POSIX || POSIX2008] (VSTATUS): Likewise.
37684         [POSIX || POSIX2008] (VWERASE): Likewise.
37685         (B*): Change to B[0123456789]*.
37686         * conform/data/time.h-data [POSIX || UNIX98]
37687         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37688         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37689         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37690         [POSIX] (tm_*): Do not allow.
37692 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37694         * Makefile (install): Don't set LANGUAGE.
37695         * Makefile.in (install): Likewise.
37696         * assert/Makefile (test-assert-ENV): Remove variable.
37697         (test-assert-perr-ENV): Likewise.
37698         * elf/Makefile (neededtest4-ENV): Likewise.
37699         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37700         [$(cross-compiling) = no]: Don't set LANGUAGE.
37701         * io/ftwtest-sh (LANG): Remove variable.
37702         * libio/Makefile (tst-widetext-ENV): Likewise.
37703         * manual/install.texi (Running make install): Don't refer to
37704         environment settings for make install.
37705         * INSTALL: Regenerated.
37706         * nptl/tst-tls6.sh: Don't set LANG.
37707         * posix/globtest.sh (LANG): Remove variable.
37708         * string/Makefile (tester-ENV): Likewise.
37709         (inl-tester-ENV): Likewise.
37710         (noinl-tester-ENV): Likewise.
37711         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37712         [$(cross-compiling) = no]: Don't set LANGUAGE.
37713         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37714         without explicit environment settings.
37716 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37718         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37719         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37720         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37721         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37723 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37725         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37726         other files in the crypt directory.
37727         * crypt/crypt.c: Remove duplicate includes.
37728         * crypt/crypt-entry.c: Likewise.
37729         * crypt/crypt_util.c: Likewise.
37731 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37733         * Makeconfig (run-program-env): New variable.
37734         (run-program-prefix-before-env): Likewise.
37735         (run-program-prefix-after-env): Likewise.
37736         (run-program-prefix): Define in terms of new variables.
37737         (built-program-cmd-before-env): New variable.
37738         (built-program-cmd-after-env): Likewise.
37739         (built-program-cmd): Define in terms of new variables.
37740         (test-program-prefix-before-env): New variable.
37741         (test-program-prefix-after-env): Likewise.
37742         (test-program-prefix): Define in terms of new variables.
37743         (test-program-cmd-before-env): New variable.
37744         (test-program-cmd-after-env): Likewise.
37745         (test-program-cmd): Define in terms of new variables.
37746         * Rules (make-test-out): Use $(run-program-env).
37747         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37748         (help): Do not mention environment variables.  Mention
37749         --timeoutfactor option.
37750         (timeoutfactor): New variable.
37751         (blacklist_exports): Remove function.
37752         (exports): Remove variable.
37753         (command): Do not include ${exports}.
37754         * manual/install.texi (Configuring and compiling): Do not mention
37755         test wrappers preserving environment variables.  Mention that last
37756         assignment to a variable must take precedence.
37757         * INSTALL: Regenerated.
37758         * benchtests/Makefile (run-bench): Use $(run-program-env).
37759         * catgets/Makefile ($(objpfx)test1.cat): Use
37760         $(built-program-cmd-before-env), $(run-program-env) and
37761         $(built-program-cmd-after-env).
37762         ($(objpfx)test2.cat): Do not specify environment variables
37763         explicitly.
37764         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37765         $(run-program-env) and $(built-program-cmd-after-env).
37766         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37767         $(run-program-env) and $(test-program-cmd-after-env).
37768         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37769         explicitly.
37770         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37771         run_program_env and test_program_cmd_after_env arguments.
37772         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37773         * elf/tst-pathopt.sh: Use run_program_env argument.
37774         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37775         $(test-wrapper-env) and $(run-program-env).
37776         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37777         run_program_env arguments.
37778         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37779         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37780         $(test-program-prefix-before-env), $(run-program-env) and
37781         $(test-program-prefix-after-env).
37782         ($(objpfx)tst-gettext2.out): Likewise.
37783         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37784         run_program_env and test_program_prefix_after_env arguments.
37785         * intl/tst-gettext2.sh: Likewise.
37786         * intl/tst-gettext4.sh: Do not set environment variables
37787         explicitly.
37788         * intl/tst-gettext6.sh: Likewise.
37789         * intl/tst-translit.sh: Likewise.
37790         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37791         $(test-program-prefix-before-env), $(run-program-env) and
37792         $(test-program-prefix-after-env).
37793         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37794         run_program_env and test_program_prefix_after_env arguments.
37795         * math/Makefile (run-regen-ulps): Use $(run-program-env).
37796         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37797         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
37798         explicitly with each use of ${test_wrapper_env}.
37799         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
37800         $(test-program-prefix-before-env), $(run-program-env) and
37801         $(test-program-prefix-after-env).
37802         * posix/tst-getconf.sh: Do not set environment variables
37803         explicitly.
37804         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
37805         run_program_env and test_program_prefix_after_env arguments.
37806         * stdio-common/tst-printf.sh: Do not set environment variables
37807         explicitly.
37808         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
37809         $(test-program-prefix-before-env), $(run-program-env) and
37810         $(test-program-prefix-after-env).
37811         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
37812         run_program_env and test_program_prefix_after_env arguments.
37813         Split $test calls into $test_pre and $test.
37814         * timezone/Makefile (build-testdata): Use
37815         $(built-program-cmd-before-env), $(run-program-env) and
37816         $(built-program-cmd-after-env).
37818 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37820         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
37821         strlen for non SHARED builds.
37823 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37825         * nptl/allocatestack.c (check_list): Inlined function...
37826         (__reclaim_stacks): ... here.
37828 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37830         [BZ #15698]
37831         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37832         memory overrun.
37834 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
37836         * Rules (make-test-out): Include
37837         LOCPATH=$(common-objpfx)localedata in default environment.
37838         * debug/Makefile (tst-chk1-ENV): Remove variable.
37839         (tst-chk2-ENV): Likewise.
37840         (tst-chk3-ENV): Likewise.
37841         (tst-chk4-ENV): Likewise.
37842         (tst-chk5-ENV): Likewise.
37843         (tst-chk6-ENV): Likewise.
37844         (tst-lfschk1-ENV): Likewise.
37845         (tst-lfschk2-ENV): Likewise.
37846         (tst-lfschk3-ENV): Likewise.
37847         (tst-lfschk4-ENV): Likewise.
37848         (tst-lfschk5-ENV): Likewise.
37849         (tst-lfschk6-ENV): Likewise.
37850         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
37851         (tst-iconv7-ENV): Likewise.
37852         * intl/Makefile (LOCPATH-ENV): Likewise.
37853         (tst-codeset-ENV): Likewise.
37854         (tst-gettext3-ENV): Likewise.
37855         (tst-gettext5-ENV): Likewise.
37856         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
37857         (tst-fopenloc-ENV): Likewise.
37858         (tst-fgetws-ENV): Remove variable.
37859         (tst-ungetwc1-ENV): Likewise.
37860         (tst-ungetwc2-ENV): Likewise.
37861         (bug-ungetwc2-ENV): Likewise.
37862         (tst-swscanf-ENV): Likewise.
37863         (bug-ftell-ENV): Likewise.
37864         (tst-fgetwc-ENV): Likewise.
37865         (tst-fseek-ENV): Likewise.
37866         (tst-ftell-partial-wide-ENV): Likewise.
37867         (tst-ftell-active-handler-ENV): Likewise.
37868         (tst-ftell-append-ENV): Likewise.
37869         * posix/Makefile (tst-fnmatch-ENV): Likewise.
37870         (tst-regexloc-ENV): Likewise.
37871         (bug-regex1-ENV): Likewise.
37872         (tst-regex-ENV): Likewise.
37873         (tst-regex2-ENV): Likewise.
37874         (bug-regex5-ENV): Likewise.
37875         (bug-regex6-ENV): Likewise.
37876         (bug-regex17-ENV): Likewise.
37877         (bug-regex18-ENV): Likewise.
37878         (bug-regex19-ENV): Likewise.
37879         (bug-regex20-ENV): Likewise.
37880         (bug-regex22-ENV): Likewise.
37881         (bug-regex23-ENV): Likewise.
37882         (bug-regex25-ENV): Likewise.
37883         (bug-regex26-ENV): Likewise.
37884         (bug-regex30-ENV): Likewise.
37885         (bug-regex32-ENV): Likewise.
37886         (bug-regex33-ENV): Likewise.
37887         (bug-regex34-ENV): Likewise.
37888         (bug-regex35-ENV): Likewise.
37889         (tst-rxspencer-ENV): Likewise.
37890         (tst-rxspencer-no-utf8-ENV): Likewise.
37891         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
37892         (tst-sscanf-ENV): Likewise.
37893         (tst-swprintf-ENV): Likewise.
37894         (tst-swscanf-ENV): Likewise.
37895         (test-vfprintf-ENV): Likewise.
37896         (scanf13-ENV): Likewise.
37897         (bug14-ENV): Likewise.
37898         (tst-grouping-ENV): Likewise.
37899         * stdlib/Makefile (tst-strtod-ENV): Likewise.
37900         (tst-strtod3-ENV): Likewise.
37901         (tst-strtod4-ENV): Likewise.
37902         (tst-strtod5-ENV): Likewise.
37903         (testmb2-ENV): Likewise./
37904         * string/Makefile (tst-strxfrm-ENV): Likewise.
37905         (tst-strxfrm2-ENV): Likewise.
37906         (bug-strcoll1-ENV): Likewise.
37907         (test-strcasecmp-ENV): Likewise.
37908         (test-strncasecmp-ENV): Likewise.
37909         * time/Makefile (tst-strptime-ENV): Likewise.
37910         (tst-ftime_l-ENV): Likewise.
37911         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
37912         (tst-mbrtowc-ENV): Likewise.
37913         (tst-wcrtomb-ENV): Likewise.
37914         (tst-mbrtowc2-ENV): Likewise.
37915         (tst-c16c32-1-ENV): Likewise.
37916         (tst-mbsnrtowcs-ENV): Likewise.
37918 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37920         * manual/resource.texi (How to get information about the memory
37921         subsystem?): Fix typo.
37922         Reported by Peon de la Parra Ivan <peon@keba.com>
37924 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
37926         [BZ #16882]
37927         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
37928         (pthread_spin_lock): Branch out of spin loop to proper location.
37929         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
37930         (pthread_spin_lock): Likewise.
37932         * nptl/tst-spin4.c: New test.
37933         * nptl/Makefile (tests): Add tst-spin4.
37935 2014-06-03  Andreas Schwab  <schwab@suse.de>
37937         [BZ #15946]
37938         * resolv/res_send.c (send_dg): Reload file descriptor after
37939         calling reopen.
37941 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
37943         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37945 2014-06-03  Richard Henderson  <rth@redhat.com>
37947         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
37948         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
37949         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
37950         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
37951         in the SAVE_PID block.
37952         (__libc_vfork): New alias.
37953         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
37955         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
37956         child in registers, not on the stack.  Remove RESET_PID conditionals.
37957         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
37959 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37961         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37963 2014-06-03  Wilco  <wdijkstr@arm.com>
37965         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
37966         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
37967         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37968         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
37969         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
37970         Likewise.
37972 2014-06-03  Wilco  <wdijkstr@arm.com>
37974         * sysdeps/aarch64/fpu/math_private.h
37975         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
37976         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37977         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37978         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37979         Fix declarations.
37981 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37983         * crypt/crypt-private.h: Include ufc-crypt.h.
37984         (__b64_from_24bit): Declare extern.
37985         * crypt/crypt_util.c(__b64_from_24bit): New function.
37986         (b64t): New static const variable.
37987         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37988         (b64t): Remove variable.
37989         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37990         * crypt/sha256-crypt.c: Include crypt-private.h.
37991         (b64t): Remove variable.
37992         (__sha256_crypt_r): Remove b64_from_24bit and replace
37993         with __b64_from_24bit.
37994         * crypt/sha512-crypt.c: Likewise.
37996 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37998         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37999         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38000         Label the code __libc_vfork rather than __vfork.
38001         [!NOT_IN_libc] (vfork): Define as weak alias.
38002         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38003         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38004         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38006 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38008         * malloc/malloc.c (malloc_info): Fix format specifier for
38009         n_mmaps.
38011 2014-06-02  Wilco  <wdijkstr@arm.com>
38013         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38014         FPCR write.
38016 2014-06-02  Wilco  <wdijkstr@arm.com>
38018         [BZ #17009]
38019         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38020         Rewrite to reduce FPCR/FPSR accesses.
38022 2014-06-01  David S. Miller  <davem@davemloft.net>
38024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38026 2014-05-31  David S. Miller  <davem@davemloft.net>
38028         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38029         to occur in round to nearest mode when |x| >= 2.0
38031 2014-05-30  Richard Henderson  <rth@twiddle.net>
38033         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38034         (PSEUDO_RET_NOERRNO): Remove.
38035         (ret): Don't redefine.
38036         (ret_NOERRNO): Define in terms of ret.
38037         (ret_ERRVAL): Likewise.
38039         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38040         use of PSEUDO_RET; perform the error check directly.
38042 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38044         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38045         with __int128_t.
38047 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38049         * malloc/malloc (malloc_info): Fix formatting.
38051 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38052             Roland McGrath  <roland@hack.frob.com>
38054         * malloc/malloc (malloc_info): Also print mmapped statistics.
38056 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38058         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38059         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38061 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38063         * malloc/malloc.c (malloc_info): Inline mi_arena.
38065 2014-05-29  Richard Henderson  <rth@twiddle.net>
38067         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38068         Remove comma before expanding ASM_ARGS_##nr.
38069         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38070         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38071         of ASM_ARGS_##nr.
38072         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38073         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38074         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38075         (ASM_ARGS_1): Add leading comma.
38077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38078         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38079         to __errno_location.
38080         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38081         Remove the expected plt for __errno_location.
38083         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38084         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38085         call to __read_tp.
38087         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38088         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38089         it and break it down.
38090         (DOCARGS_0, DOCARGS_1): Do nothing.
38091         (DOCARGS_2): Update to store into the new stack frame.
38092         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38093         (UNDOCARGS_1): Update to restore from the new stack frame.
38094         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38095         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38097         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38098         (SINGLE_THREAD_P): New parameter for result regno.
38099         (PSEUDO): Update to match; use cbz instead of beq.
38101         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38102         Use ENTRY to define the _nocancel entry point.  Share the syscall
38103         and syscall error check paths with the cancel path.
38104         (PSEUDO_END): New.
38106         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38107         whitespace; tabs before and after asm mnemonics.
38109 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38111         [BZ #15132]
38112         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38113         Call fstat64 or stat64 internally, depending on arguments passed.
38114         Replace stat buffer argument with file descriptor argument.
38115         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38116         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38117         Pass fd to __internal_statvfs instead of calling fstat64.
38118         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38119         Pass fd to __internal_statvfs64 instead of calling fstat64.
38120         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38121         Pass -1 to __internal_statvfs instead of calling stat64.
38122         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38123         Pass -1 to __internal_statvfs64 instead of calling stat64.
38125 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38127         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38128         that was previously under [RESET_PID].
38129         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38131         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38132         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38134 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38136         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38138         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38139         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38141 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38143         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38145 2014-05-27  Andreas Schwab  <schwab@suse.de>
38147         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38148         TLS_INIT_TP macro.
38149         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38150         * elf/rtld.c (init_tls, dl_main): Likewise.
38151         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38152         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38153         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38154         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38155         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38156         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38157         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38158         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38159         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38160         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38161         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38162         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38163         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38164         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38165         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38166         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38167         * sysdeps/generic/tls.h: Update description.
38169 2014-05-27  Will Newton  <will.newton@linaro.org>
38171         [BZ #16990]
38172         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38173         and restore r2 rather than just restoring.
38175 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38177         [BZ #16724]
38178         * libio/tst-ftell-append.c: New test case.
38179         * libio/Makefile (tests): Add test case.
38180         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38181         append mode.
38182         * libio/wfileops.c (do_ftell_wide): Likewise.
38184 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38188         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38189         ...
38190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38192         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38193         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38194         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38195         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38196         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38197         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38199         Moved ...
38200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38202         Moved ...
38203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38204         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38205         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38206         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38207         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38208         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38209         ...
38210         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38211         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38212         Moved ...
38213         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38214         here.
38215         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38216         ...
38217         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38218         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38219         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38221         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38222         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38223         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38224         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38227         merge into ...
38228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38229         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38230         ...
38231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38233         ...
38234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38236         Moved ...
38237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38238         here.
38239         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38240         Moved ...
38241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38243         Moved ...
38244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38247         conditional [RESET_PID].
38248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38249         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38250         removed.
38251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38252         removed.
38254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38255         <tcb-offsets.h>.
38256         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38257         (__libc_vfork): New strong alias.
38258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38259         removed.
38260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38261         Removed.
38263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38264         <tcb-offsets.h>.
38265         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38266         (__libc_vfork): New strong alias.
38267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38268         removed.
38269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38270         removed.
38272 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38274         * malloc/malloc.c (mi_arena): New function.
38275         (malloc_info): Remove nested function mi_arena. Call non-nosted
38276         function mi_arena.
38278 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38280         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38281         by insrwi.
38282         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38283         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38284         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38285         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38286         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38287         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38288         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38290 2014-05-26  Andreas Schwab  <schwab@suse.de>
38292         [BZ #16984]
38293         * locale/programs/repertoire.c (repertoire_read): Add slash
38294         between I18NPATH element and file name.
38295         * locale/programs/locfile.c (locfile_read): Likewise.
38297 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38299         * nptl/pthread_mutexattr_settype.c
38300         (__pthread_mutexattr_settype):
38301         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38303 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38305         * nptl/tst-mutex5 (do_test):
38306         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38308 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38310         * benchtests/README: Document 'init' directive.
38311         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38312         BENCH_INIT.
38313         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38314         (parse_file): Recognize 'init' directive.
38316 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38318         [BZ #16796]
38319         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38320         alignment of struct pthread.
38322 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38324         [BZ #16878]
38325         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38326         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38327         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38328         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38330 2014-05-25  Richard Henderson  <rth@twiddle.net>
38332         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38333         (SINGLE_THREAD_P_PIC): Remove.
38334         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38335         (SINGLE_THREAD_P_PIC): Remove.
38337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38338         branch to syscall error ...
38339         (PSEUDO): ... here.
38340         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38341         from __local_syscall_error to .Lsyscall_error.
38342         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38343         (SYSCALL_ERROR): Update label name.
38345         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38346         Do not use DOARGS/UNDOARGS.
38347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38348         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38349         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38350         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38351         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38354         block comment.
38356         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38357         define if !NOT_IN_libc.
38358         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38359         define with non-default symbol versions.
38361 2014-05-23  Richard Henderson  <rth@twiddle.net>
38363         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38364         (vfork, __vfork): Define via compat_symbol.
38366         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38367         [!HAVE_IFUNC] (vfork_compat): Remove.
38368         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38370 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38372         [BZ #16978]
38373         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38374         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38375         variable.
38377 2014-05-23  Richard Henderson  <rth@twiddle.net>
38379         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38380         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38381         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38382         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38384         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38385         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38386         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38387         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38388         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38389         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38390         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38391         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38392         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38393         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38394         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38395         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38396         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38397         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38398         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38399         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38400         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38401         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38402         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38403         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38404         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38405         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38406         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38407         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38408         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38409         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38410         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38411         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38412         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38413         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38414         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38415         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38416         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38417         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38418         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38419         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38420         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38421         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38422         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38423         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38424         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38425         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38426         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38427         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38428         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38429         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38430         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38431         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38432         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38433         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38435         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38437         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38438         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38439         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38441         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38442         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38443         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38444         before exiting on error.
38445         (__libc_vfork): New strong alias.
38446         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38447         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38449         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38450         that was previously under [RESET_PID].
38451         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38453         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38455 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38457         [BZ #16977]
38458         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38459         value when x - 1 is zero.
38460         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38461         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38462         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38463         0.0L for an argument of 1.0L.
38464         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38465         Likewise.
38466         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38467         value when x - 1 is zero.
38468         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38469         * sysdeps/i386/fpu/libm-test-ulps: Update.
38470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38472 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38474         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38475         alphasort and versionsort.
38477 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38479         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38480         macro.
38481         [copysignf]: Likewise.
38483 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38485         * crypt/md5-crypt.c: Fix formatting.
38487 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38489         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38490         (b64_from_24bit): New function.
38492 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38494         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38495         libc_hidden_builtin_def to ifunc.
38496         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38497         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38499 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38501         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38502         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38504 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38506         * nscd/Depend (linuxthreads): Remove.
38507         (nptl): Add.
38508         * resolv/Depend (linuxthreads): Remove.
38509         * rt/Depend (linuxthreads): Remove.
38511         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38512         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38513         $(common-objpfx)elf/.
38514         (link-libc-before-gnulib): Likewise.
38515         (elfobjdir): Remove variable.
38516         * Makefile (install): Use $(elf-objpfx) instead of
38517         $(common-objpfx)elf/.
38518         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38519         $(elfobjdir)/.
38520         (link-libc-deps): Likewise.
38521         ($(common-objpfx)libc.so): Likewise.
38522         ($(common-objpfx)linkobj/libc.so): Likewise.
38523         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38524         instead of $(common-objpfx)elf/.
38525         (symbolic-link-list): Likewise.
38526         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38527         [$(cross-compiling) = no]: Likewise.
38528         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38529         $(elfobjdir)/.
38530         (static-gnulib-arch): Likewise.
38531         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38532         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38533         $(common-objpfx)elf/.
38535 2014-05-21  Richard Henderson  <rth@redhat.com>
38537         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38538         (SINGLE_THREAD_P): Use the correct width load.  Fold
38539         into the ldr offset.
38541         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38542         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38544 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38546         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38547         (libgcc_s_resume): Use __attribute_used__.
38548         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38549         Likewise.
38551 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38553         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38554         optimization when used with float constants.
38556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38558 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38560         [BZ #16915]
38561         * locale/nl_langinfo_l.c: Make direct reference to every
38562         _nl_current_CATEGORY symbol.
38563         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38564         (tests-static): Add tst-langinfo-static.
38565         (tests-special): Add tst-langinfo-static.out.
38566         ($(objpfx)tst-langinfo.out): Redirect output.
38567         ($(objpfx)tst-langinfo-static.out): New.
38568         * localedata/tst-langinfo.sh: Send output to stdout.
38569         * localedata/tst-langinfo-static.c: New file.
38571         [BZ #16965]
38572         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38573         when the shift amount is modulo the limb size.
38575 2014-05-20  Richard Henderson  <rth@redhat.com>
38577         [BZ #16967]
38578         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38579         Change type of sa_flags from unsigned int to int.
38581         [BZ #16966]
38582         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38584         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38586 2014-05-20  Will Newton  <will.newton@linaro.org>
38588         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38589         Test the return value of the system call in the nocancel case.
38591 2014-05-20  Will Newton  <will.newton@linaro.org>
38592             Yvan Roux  <yvan.roux@linaro.org>
38594         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38595         #include of asm/ptrace.h.
38596         (PTRACE_GET_THREAD_AREA): Remove #undef.
38597         (PTRACE_GETHBPREGS): Likewise.
38598         (PTRACE_SETHBPREGS): Likewise.
38599         (struct user_regs_struct): New structure.
38600         (struct user_fpsimd_struct): New structure.
38601         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38602         #include of asm/ptrace.h and second #include of sys/user.h.
38603         (PTRACE_GET_THREAD_AREA): Remove #undef.
38604         (PTRACE_GETHBPREGS): Likewise.
38605         (PTRACE_SETHBPREGS): Likewise.
38606         (ELF_NGREG): Use new struct user_regs_struct.
38607         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38609 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38611         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38612         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38614 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38616         [BZ #16958]
38617         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38618         membar to avoid block loads/stores to overlap previous stores.
38620 2014-05-17  Richard Henderson  <rth@redhat.com>
38622         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38623         Create the __##syscall_name##_nocancel entry point.
38624         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38625         Remove; let the sysdep-cancel.h code create it.
38627 2014-05-17  David S. Miller  <davem@davemloft.net>
38629         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38630         Protect with __USE_GNU.
38631         (TIOCSET_TEMPT): Likewise.
38632         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38633         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38634         these are already provided in bits/ioctl-types.h
38636 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38638         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38639         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38641         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38642         Use wait4 regardless of [__NR_waitpid].
38644 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38646         PR libgcc/60166
38647         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38648         (_FP_NANSIGN_Q): Set the quiet bit.
38650 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38652         * benchtests/Makefile
38653         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38654         not $(common-objpfx)math/libm.so.
38655         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38656         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38657         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38658         $(common-objpfx)dlfcn/libdl.so.
38659         ($(objpfx)tst-audit8): Depend on $(libm), not
38660         $(common-objpfx)math/libm.so.
38661         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38662         not $(common-objpfx)dlfcn/libdl.so.
38663         * math/Makefile
38664         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38665         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38666         [$(build-shared) = yes].
38667         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38668         $(common-objpfx)nptl/libpthread.so.
38669         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38670         $(common-objpfx)math/libm.so$(libm.so-version) or
38671         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38672         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38673         $(common-objpfx)dlfcn/libdl.so.
38674         * setjmp/Makefile (link-libm): Remove variable.
38675         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38676         * stdio-common/Makefile (link-libm): Remove variable.
38677         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38678         * stdlib/Makefile (link-libm): Remove variable.
38679         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38680         ($(objpfx)tst-strtod-round): Likewise.
38681         ($(objpfx)tst-tininess): Likewise.
38682         ($(objpfx)tst-strtod-underflow): Likewise.
38683         ($(objpfx)tst-strtod6): Likewise.
38684         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38685         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38686         $(common-objpfx)dlfcn/libdl.so.
38688 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38690         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38691         BSD terminal modes definitions.
38693 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38695         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38696         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38698         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38699         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38700         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38701         Don't do #include_next.
38702         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38703         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38704         Don't do #include_next.
38705         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38706         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38707         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38708         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38710 2014-05-16  Allan McRae  <allan@archlinux.org>
38712         * po/sv.po: Update Swedish translation from translation project.
38714         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38715         in sed expression.
38717 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38719         [BZ #16917]
38720         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38721         errno if the TIOCGPTN ioctl fails with an error different than
38722         EINVAL.
38723         * login/tst-ptsname.c: New file.
38724         * login/Makefile (tests): Add tst-ptsname.
38726         [BZ #16943]
38727         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38728         and prlimit64.
38730 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38732         [BZ #16849]
38733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38734         herrno to return EAI_AGAIN.
38736 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38738         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38739         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38740         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38741         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38742         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38743         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38744         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38745         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38746         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38747         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38748         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38749         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38750         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38751         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38752         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38753         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38754         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38755         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38756         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38757         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38758         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38759         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38760         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38761         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38762         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38763         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38764         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38765         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38766         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38767         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38769         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38771         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38773         Moved ...
38774         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38776         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38778         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38780         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38782         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38784         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38786         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38788         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38790         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38792         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38794         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38796         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
38798         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
38799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
38800         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
38801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38802         Moved ...
38803         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
38804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
38805         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
38806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
38807         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
38808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
38809         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
38810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
38811         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
38812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
38813         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
38814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
38815         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
38816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
38817         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
38818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
38819         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
38820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
38821         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
38822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38823         Moved ...
38824         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
38825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
38826         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
38828         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
38829         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
38830         (libpthread-sysdep_routines): Add elision-related stuff here instead.
38831         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
38832         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
38833         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
38834         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
38835         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
38836         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
38837         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
38838         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
38839         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
38840         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
38841         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
38842         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
38843         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
38844         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
38845         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
38846         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
38847         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
38848         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
38849         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
38850         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
38851         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
38852         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
38853         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
38854         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
38855         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
38856         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
38857         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
38858         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
38860         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
38861         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
38863         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
38864         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
38865         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
38866         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
38867         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
38868         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
38869         Moved ...
38870         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
38871         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
38872         Moved ...
38873         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
38874         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
38875         Moved ...
38876         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
38877         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
38878         Moved ...
38879         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
38880         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
38881         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
38882         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
38883         Moved ...
38884         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
38885         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
38886         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
38887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
38888         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
38889         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
38890         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
38891         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
38892         Moved ...
38893         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
38894         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38895         Moved ...
38896         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38897         ... here.
38898         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
38899         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
38900         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
38901         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
38902         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38903         Moved ...
38904         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38905         ... here.
38906         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
38907         Moved ...
38908         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
38909         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
38910         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
38911         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
38912         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
38913         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
38914         Moved ...
38915         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
38916         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
38917         Moved ...
38918         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
38919         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
38920         Moved ...
38921         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
38922         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
38923         Moved ...
38924         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
38925         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
38926         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
38927         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
38928         Moved ...
38929         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
38930         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
38931         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
38932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
38933         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
38934         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
38935         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
38936         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
38937         Moved ...
38938         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
38939         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38940         Moved ...
38941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38942         ... here.
38943         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
38944         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
38945         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
38946         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
38947         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38948         Moved ...
38949         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38950         ... here.
38951         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
38952         Moved ...
38953         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
38954         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
38955         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
38956         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
38957         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
38958         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
38959         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
38960         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
38961         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
38962         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
38963         Moved ...
38964         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
38965         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
38966         Moved ...
38967         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
38968         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
38969         Moved ...
38970         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
38971         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
38972         Moved ...
38973         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
38974         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
38975         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
38976         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38977         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38979         Moved ...
38980         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38981         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38982         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38984         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38985         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38986         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38988         Moved ...
38989         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38990         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38991         Moved ...
38992         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38993         ... here.
38994         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38995         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38996         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38997         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38998         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38999         Moved ...
39000         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39001         ... here.
39002         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39003         Moved ...
39004         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39005         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39006         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39007         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39008         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39009         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39010         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39011         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39012         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39013         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39014         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39016         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39017         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39019         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39020         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39022         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39023         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39024         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39025         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39026         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39027         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39028         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39029         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39030         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39031         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39032         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39033         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39034         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39035         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39036         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39037         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39038         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39039         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39040         Moved ...
39041         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39042         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39043         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39045         Moved ...
39046         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39048         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39049         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39050         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39051         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39052         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39054         Moved ...
39055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39056         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39057         Moved ...
39058         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39060         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39064         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39065         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39066         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39067         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39068         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39069         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39070         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39071         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39072         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39073         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39074         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39076         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39077         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39078         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39079         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39080         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39082         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39083         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39084         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39085         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39086         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39087         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39088         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39089         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39090         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39091         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39094         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39096         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39097         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39098         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39099         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39100         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39101         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39102         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39103         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39104         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39105         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39106         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39107         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39108         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39109         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39111         Update #include.
39112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39113         Likewise.
39114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39115         Likewise.
39116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39117         Likewise.
39118         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39119         Likewise.
39120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39121         Likewise.
39122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39123         Likewise.
39124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39125         Likewise.
39126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39127         Likewise.
39128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39129         Likewise.
39130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39131         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39132         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39134         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39135         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39136         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39137         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39138         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39139         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39140         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39141         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39142         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39143         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39144         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39146         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39147         that was previously under [RESET_PID].
39148         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39149         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39150         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39152         * sysdeps/i386/nptl/Implies: New file.
39153         * sysdeps/x86_64/nptl/Implies: New file.
39154         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39155         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39156         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39157         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39159         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39160         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39161         (__libc_vfork): New strong alias.
39162         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39163         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39165         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39166         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39167         (__libc_vfork): New strong alias.
39168         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39169         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39171         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39172         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39173         (__libc_vfork): New strong alias.
39174         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39175         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39176         * nptl/pt-vfork.c: New file.
39177         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39178         (libpthread: GLIBC_2.20): New version set (empty).
39180 2014-05-14  Will Newton  <will.newton@linaro.org>
39182         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39183         rather than #if.
39185 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39187         [BZ #16564]
39188         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39189         arguments with exponent 65 or above.
39190         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39191         arguments 0x1p113L or above.
39192         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39193         to arguments 0x1p107L or above.
39194         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39195         positive arguments with exponent 65 or above.
39196         * math/auto-libm-test-in: Add more tests of log1p.
39197         * math/auto-libm-test-out: Regenerated.
39199         [BZ #16928]
39200         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39201         non-finite arguments is +0.
39202         * math/s_cacosf.c (__cacosf): Likewise.
39203         * math/s_cacosl.c (__cacosl): Likewise.
39204         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39205         * sysdeps/i386/fpu/libm-test-ulps: Update.
39206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39208         [BZ #16927]
39209         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39210         value.
39211         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39212         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39213         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39214         for explicit high bit of mantissa when testing for argument equal
39215         to 1.
39216         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39217         * sysdeps/i386/fpu/libm-test-ulps: Update.
39218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39220         [BZ #16516]
39221         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39222         (__erf): Scale by 16 instead of 8 in potentially underflowing
39223         case.  Ensure exception if result actually underflows.
39224         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39225         (__erff): Scale by 16 instead of 8 in potentially underflowing
39226         case.  Ensure exception if result actually underflows.
39227         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39228         (efx8): Remove variable.
39229         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39230         case.  Ensure exception if result actually underflows.
39231         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39232         (efx8): Remove variable.
39233         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39234         case.  Ensure exception if result actually underflows.
39235         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39236         (efx8): Remove variable.
39237         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39238         case.  Ensure exception if result actually underflows.
39239         * math/auto-libm-test-in: Add more tests of erf.
39240         * math/auto-libm-test-out: Regenerated.
39242 2014-05-14  Andreas Schwab  <schwab@suse.de>
39244         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39245         Remove code conditionalized on USE___THREAD.
39247         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39248         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39249         not definedness.
39251 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39253         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39254         Define unconditionally.
39255         (__ASSUME_O_CLOEXEC): Likewise.
39256         (__ASSUME_SOCK_CLOEXEC): Likewise.
39257         (__ASSUME_IN_NONBLOCK): Likewise.
39258         (__ASSUME_PIPE2): Likewise.
39259         (__ASSUME_EVENTFD2): Likewise.
39260         (__ASSUME_SIGNALFD4): Likewise.
39261         (__ASSUME_DUP3): Likewise.
39262         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39263         (__ASSUME_DUP3): Do not define.
39264         (__ASSUME_EVENTFD2): Likewise.
39265         (__ASSUME_IN_NONBLOCK): Likewise.
39266         (__ASSUME_O_CLOEXEC): Likewise.
39267         (__ASSUME_PIPE2): Likewise.
39268         (__ASSUME_SIGNALFD4): Likewise.
39269         (__ASSUME_SOCK_CLOEXEC): Likewise.
39270         (__ASSUME_UTIMES): Undefine.
39271         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39272         (__ASSUME_UTIMES): Do not define.
39273         (__ASSUME_O_CLOEXEC): Likewise.
39274         (__ASSUME_SOCK_CLOEXEC): Likewise.
39275         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39276         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39277         0x020621].
39278         (__ASSUME_PIPE2): Likewise.
39279         (__ASSUME_EVENTFD2): Likewise.
39280         (__ASSUME_SIGNALFD4): Likewise.
39281         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39282         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39283         Do not define.
39284         (__ASSUME_EVENTFD2): Likewise.
39285         (__ASSUME_SIGNALFD4): Likewise.
39286         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39287         (__ASSUME_32BITUIDS): Likewise.
39288         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39289         (__ASSUME_IPC64): Likewise.
39290         (__ASSUME_ST_INO_64_BIT): Likewise.
39291         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39292         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39293         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39294         (__ASSUME_UTIMES): Do not define.
39295         (__ASSUME_PSELECT): Likewise.
39296         (__ASSUME_PPOLL): Likewise.
39297         (__ASSUME_O_CLOEXEC): Likewise.
39298         (__ASSUME_SOCK_CLOEXEC): Likewise.
39299         (__ASSUME_IN_NONBLOCK): Likewise.
39300         (__ASSUME_PIPE2): Likewise.
39301         (__ASSUME_EVENTFD2): Likewise.
39302         (__ASSUME_SIGNALFD4): Likewise.
39303         (__ASSUME_DUP3): Likewise.
39304         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39305         (__ASSUME_UTIMES): Likewise.
39306         (__ASSUME_O_CLOEXEC): Likewise.
39307         (__ASSUME_SOCK_CLOEXEC): Likewise.
39308         (__ASSUME_IN_NONBLOCK): Likewise.
39309         (__ASSUME_PIPE2): Likewise.
39310         (__ASSUME_EVENTFD2): Likewise.
39311         (__ASSUME_SIGNALFD4): Likewise.
39312         (__ASSUME_DUP3): Likewise.
39313         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39314         (__ASSUME_UTIMES): Likewise.
39315         (__ASSUME_O_CLOEXEC): Likewise.
39316         (__ASSUME_SOCK_CLOEXEC): Likewise.
39317         (__ASSUME_IN_NONBLOCK): Likewise.
39318         (__ASSUME_PIPE2): Likewise.
39319         (__ASSUME_EVENTFD2): Likewise.
39320         (__ASSUME_SIGNALFD4): Likewise.
39321         (__ASSUME_DUP3): Likewise.
39322         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39323         Likewise.
39324         (__ASSUME_UTIMES): Likewise.
39325         (__ASSUME_EVENTFD2): Likewise.
39326         (__ASSUME_SIGNALFD4): Likewise.
39327         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39328         (__ASSUME_O_CLOEXEC): Likewise.
39329         (__ASSUME_SOCK_CLOEXEC): Likewise.
39330         (__ASSUME_IN_NONBLOCK): Likewise.
39331         (__ASSUME_PIPE2): Likewise.
39332         (__ASSUME_EVENTFD2): Likewise.
39333         (__ASSUME_SIGNALFD4): Likewise.
39334         (__ASSUME_DUP3): Likewise.
39335         (__ASSUME_UTIMES): Undefine.
39337         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39338         feclearexcept.  Remove symbol versioning code.
39339         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39340         symbol versioning code.
39341         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39342         symbol versioning code.
39343         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39344         feupdateenv.  Remove symbol versioning code.
39345         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39346         fegetexceptflag.  Remove symbol versioning code.
39347         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39348         fesetexceptflag.  Remove symbol versioning code.
39349         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39350         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39351         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39352         (__posix_fadvise64_l32): Remove prototype.
39353         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39354         code.
39356 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39358         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39359         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39360         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39361         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39363 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39365         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39366         current working directory
39368 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39370         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39371         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39372         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39373         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39374         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39375         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39376         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39377         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39378         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39379         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39380         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39381         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39382         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39383         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39384         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39385         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39386         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39387         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39388         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39389         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39390         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39391         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39392         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39393         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39394         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39395         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39396         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39397         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39398         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39399         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39400         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39401         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39402         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39403         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39404         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39405         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39406         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39407         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39408         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39409         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39410         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39411         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39413         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39414         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39416         * sysdeps/unix/sysv/linux/arm/Makefile
39417         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39418         Add rt-aeabi_unwind_cpp_pr1.
39419         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39420         Add nptl-aeabi_unwind_cpp_pr1.
39421         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39422         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39423         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39424         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39425         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39426         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39428         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39429         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39430         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39431         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39433         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39434         Deconditionalize the code that was previously under [RESET_PID].
39435         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39437         * sysdeps/generic/exit-thread.h: New file.
39438         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39439         * include/unistd.h (__exit_thread): Remove declaration.
39440         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39441         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39442         * csu/libc-start.c: Include <exit-thread.h>.
39443         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39444         * nptl/pthread_create.c: Include <exit-thread.h>.
39445         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39446         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39447         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39448         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39449         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39450         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39451         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39452         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39453         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39454         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39455         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39456         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39457         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39458         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39459         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39460         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39461         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39463 2014-05-13  Andreas Schwab  <schwab@suse.de>
39465         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39467 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39469         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39470         (__ASSUME_UTIMES): Do not condition on kernel version.
39471         (__ASSUME_PSELECT): Define unconditionally.
39472         (__ASSUME_PPOLL): Likewise.
39473         (__ASSUME_ATFCTS): Likewise.
39474         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39475         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39476         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39477         (__ASSUME_UTIMENSAT): Define unconditionally.
39478         (__ASSUME_PRIVATE_FUTEX): Likewise.
39479         (__ASSUME_FALLOCATE): Likewise.
39480         (__ASSUME_O_CLOEXEC): Likewise.
39481         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39482         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39483         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39484         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39485         (__ASSUME_IN_NONBLOCK): Likewise.
39486         (__ASSUME_PIPE2): Likewise.
39487         (__ASSUME_EVENTFD2): Likewise.
39488         (__ASSUME_SIGNALFD4): Likewise.
39489         (__ASSUME_DUP3): Likewise.
39490         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39491         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39492         (__ASSUME_AT_RANDOM): Likewise.
39493         (__ASSUME_PREADV): Likewise.
39494         (__ASSUME_PWRITEV): Likewise.
39495         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39496         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39497         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39498         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39499         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39500         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39501         (__ASSUME_O_CLOEXEC): Define unconditionally.
39502         (__ASSUME_PSELECT): Do not undefine conditionally.
39503         (__ASSUME_PPOLL): Likewise.
39504         (__ASSUME_ATFCTS): Likewise.
39505         (__ASSUME_SET_ROBUST_LIST): Likewise.
39506         (__ASSUME_UTIMENSAT): Likewise.
39507         (__ASSUME_FDATASYNC): Define unconditionally.
39508         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39509         (__ASSUME_SIGFRAME_V2): Likewise.
39510         )__ASSUME_EVENTFD2): Likewise.
39511         (__ASSUME_SIGNALFD4): Likewise.
39512         (__ASSUME_PSELECT): Do not undefine conditionally.
39513         (__ASSUME_PPOLL): Likewise.
39514         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39515         (__ASSUME_PSELECT): Define unconditionally.
39516         (__ASSUME_PPOLL): Likewise.
39517         (__ASSUME_O_CLOEXEC): Likewise.
39518         (__ASSUME_SOCK_CLOEXEC): Likewise.
39519         (__ASSUME_IN_NONBLOCK): Likewise.
39520         (__ASSUME_PIPE2): Likewise.
39521         (__ASSUME_EVENTFD2): Likewise.
39522         (__ASSUME_SIGNALFD4): Likewise.
39523         (__ASSUME_DUP3): Likewise.
39524         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39525         (__ASSUME_O_CLOEXEC): Likewise.
39526         (__ASSUME_SOCK_CLOEXEC): Likewise.
39527         (__ASSUME_IN_NONBLOCK): Likewise.
39528         (__ASSUME_PIPE2): Likewise.
39529         (__ASSUME_EVENTFD2): Likewise.
39530         (__ASSUME_SIGNALFD4): Likewise.
39531         (__ASSUME_DUP3): Likewise.
39532         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39533         (__ASSUME_EVENTFD2): Likewise.
39534         (__ASSUME_SIGNALFD4): Likewise.
39535         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39537 2014-05-12  Andreas Schwab  <schwab@suse.de>
39539         [BZ #16932]
39540         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39541         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39542         than maximum RPC packet size.
39543         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39544         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39545         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39546         (_nss_nis_getservbyport_r): Likewise.
39548 2014-05-12  Will Newton  <will.newton@linaro.org>
39550         * malloc/Makefile (tests): Add tst-mallopt.
39551         * malloc/tst-mallopt.c: New file.
39553 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39555         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39556         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39558 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39560         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39561         (tst-tlsmod6.so): Likewise.
39563 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39565         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39567 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39569         [BZ #16064]
39570         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39571         and <dl-procinfo.h>.
39572         (__fegetenv): Save SSE state in envp->__eip if supported.
39573         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39574         envp->__eip if supported.
39575         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39576         and <dl-procinfo.h>.
39577         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39578         __data_offset and __data_selector in environment to 0.  Set SSE
39579         state if supported.
39580         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39581         test-fenv-sse.
39582         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39583         -mfpmath=sse.
39584         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39586 2014-05-09  Will Newton  <will.newton@linaro.org>
39588         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39589         and libc_relro_required for ARM.
39590         * sysdeps/arm/preconfigure: Regenerate.
39592 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39593             Stefan Liebler  <stli@linux.vnet.ibm.com>
39595         * config.make.in (enable-lock-elision): New Makefile variable.
39596         * configure.ac: Likewise.
39597         * configure: Regenerate.
39598         * sysdeps/s390/configure.ac:
39599         Add check for gcc transactions support.
39600         * sysdeps/s390/configure: Regenerate.
39601         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39602         Build elision files if enabled.
39603         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39604         Add lock elision support for s390.
39605         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39606         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39607         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39608         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39609         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39610         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39611         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39612         Likewise.
39613         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39614         Likewise.
39615         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39616         Likewise.
39617         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39618         Likewise.
39619         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39620         (__lll_timedlock_elision, __lll_lock_elision)
39621         (__lll_unlock_elision, __lll_trylock_elision)
39622         (lll_timedlock_elision, lll_lock_elision)
39623         (lll_unlock_elision, lll_trylock_elision): Add.
39624         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39625         (pthread_mutex_t): Add lock elision support for s390.
39627 2014-05-14  Wilco  <wdijkstr@arm.com>
39629         * sysdeps/arm/fclrexcpt.c: Cleanup.
39630         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39631         * sysdeps/arm/feenablxcpt.c: Cleanup.
39632         * sysdeps/arm/fegetenv.c: Cleanup.
39633         * sysdeps/arm/fegetexcept.c: Cleanup.
39634         * sysdeps/arm/fegetround.c: Cleanup.
39635         * sysdeps/arm/feholdexcpt.c: Cleanup.
39636         * sysdeps/arm/fesetenv.c: Cleanup.
39637         * sysdeps/arm/fesetround.c: Cleanup.
39638         * sysdeps/arm/feupdateenv.c: Cleanup.
39639         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39640         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39641         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39642         * sysdeps/arm/ftestexcept.c: Cleanup.
39643         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39644         * sysdeps/arm/setfpucw.c: Cleanup.
39646 2014-05-09  Will Newton  <will.newton@linaro.org>
39648         * sysdeps/arm/armv7/strcmp.S: New file.
39649         * NEWS: Mention addition of ARMv7 optimized strcmp.
39651 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39653         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39654         look for %.ac rather than %.in.
39656         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39657         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39658         * sysdeps/mach/hurd/configure: Regenerated.
39659         * sysdeps/unix/sysv/linux/configure: Regenerated.
39661         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39663 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39665         [BZ# 16922]
39666         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39667         (LONG_SUB): Ditto.
39668         (PTR_SUB): Ditto.
39670 2014-05-07  Andreas Schwab  <schwab@suse.de>
39672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39673         when skipping over non-matching result from nscd.
39675 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39677         [BZ #16876]
39678         * nptl/sockperf.c (client): Check socket return value.
39680         [BZ #16877]
39681         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39682         nscd security class.
39684 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39686         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39687         * sysdeps/arm/unwind.h: ... here.
39689 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39691         [BZ# 16916]
39692         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39693         Define.
39695 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39697         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39698         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39699         multiarch strncpy for PPC64.
39700         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39701         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39703         multiarch optimizations.
39704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39705         (__libc_ifunc_impl_list): Likewise.
39706         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39707         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39708         multiarch stpncpy for PPC64.
39709         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39710         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39712 2014-05-06  Andreas Schwab  <schwab@suse.de>
39714         [BZ #16912]
39715         * gmon/mcount.c (_MCOUNT_DECL): Use
39716         atomic_compare_and_exchange_bool_acq instead of
39717         catomic_compare_and_exchange_bool_acq.
39719 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39721         * elf/Makefile (others, install-bin): Remove pldd.
39722         (pldd-modules): Variable removed.
39723         ($(objpfx)pldd): Target removed.
39724         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39725         (others, install-bin): Append pldd here.
39726         ($(objpfx)pldd): New target.
39728         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39729         to 0, so the first #if test emitted later doesn't see it undefined.
39730         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39731         * sysdeps/gnu/errlist.c: Regenerated.
39733 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39735         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39736         [libc_hidden_builtin_def]: Define to empty value.
39737         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39738         [libc_hidden_builtin_def]: Likewise.
39739         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39740         [libc_hidden_builtin_def]: Likewise.
39741         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39742         [libc_hidden_builtin_def]: Likewise.
39743         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39744         __redirect_memcpy and define ifunc as default hidden symbol.
39745         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39746         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39748 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39750         * locale/iso-4217.def: Reintroduce XDR currency.
39752 2014-05-04  Allan McRae  <allan@archlinux.org>
39754         * po/eo.po: Update Esperanto translation from translation project.
39756 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39758         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39759         and FEATURE_INDEX_MAX to 1.
39760         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39762 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39764         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39765         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39766         * iconvdata/big5.c (ONE_DIRECTION): Define.
39767         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39768         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39769         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39770         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39771         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39772         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39773         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39774         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39775         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39776         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39777         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39778         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39779         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39780         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39781         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39782         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39783         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39784         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39785         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39786         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39787         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39788         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39789         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39790         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39791         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39792         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39793         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39794         * iconvdata/iso646.c (ONE_DIRECTION): Define.
39795         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39796         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39797         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
39798         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
39799         * iconvdata/johab.c (ONE_DIRECTION): Define.
39800         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
39801         * iconvdata/sjis.c (ONE_DIRECTION): Define.
39802         * iconvdata/t.61.c (ONE_DIRECTION): Define.
39803         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
39804         * iconvdata/tscii.c (ONE_DIRECTION): Define.
39805         * iconvdata/uhc.c (ONE_DIRECTION): Define.
39806         * iconvdata/unicode.c (ONE_DIRECTION): Define.
39807         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
39808         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
39809         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
39811 2014-05-01  Roland McGrath  <roland@hack.frob.com>
39813         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
39814         (_IO_JUMPS_OFFSET): Define to 0.
39816         * nptl/sysdeps/pthread/bits/libc-lock.h
39817         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39818         (__libc_lock_define_initialized_recursive): Always define using
39819         initializer.  Modern compilers treat uninitialized (implicit zero) and
39820         explicit zero initializers the same (i.e. put the datum in bss).
39822 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39824         * nscd/nscd-client.h: Include <string.h>.
39826 2014-05-01  David S. Miller  <davem@davemloft.net>
39828         [BZ #16885]
39829         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
39830         multiple zero bytes exist at the end of a string.
39831         Reported by Aurelien Jarno <aurelien@aurel32.net>
39833         * string/test-strcmp.c (check): Add explicit test for situations where
39834         there are multiple zero bytes after the first.
39836 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39838         [BZ #16890]
39839         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
39840         when compiling wprintf.
39841         * stdio-common/tstdiomisc.c (t3): New function.
39842         (main): Call it.
39844 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39846         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
39847         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
39848         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39849         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
39851 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39853         * stdlib/longlong.h: Updated from GCC.
39855 2014-05-01  Will Newton  <will.newton@linaro.org>
39856             Bernard Ogden  <bernie.ogden@linaro.org>
39858         * NEWS: Update fixed bug list.
39860         [BZ #15119]
39861         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
39863 2014-04-30  David S. Miller  <davem@davemloft.net>
39865         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
39866         (libc_feholdexcept_setround_sparc_ctx): New function.
39867         (libc_fesetenv_sparc_ctx): Likewise.
39868         (libc_feupdateenv_sparc_ctx): Likewise.
39869         (libc_feholdsetround_sparc_ctx): Likewise.
39870         (libc_feholdexcept_setround_ctx): Define.
39871         (libc_feholdexcept_setroundf_ctx): Likewise.
39872         (libc_feholdexcept_setroundl_ctx): Likewise.
39873         (libc_fesetenv_ctx): Likewise.
39874         (libc_fesetenvf_ctx): Likewise.
39875         (libc_fesetenvl_ctx): Likewise.
39876         (libc_feupdateenv_ctx): Likewise.
39877         (libc_feupdateenvf_ctx): Likewise.
39878         (libc_feupdateenvl_ctx): Likewise.
39879         (libc_feresetround_ctx): Likewise.
39880         (libc_feresetroundf_ctx): Likewise.
39881         (libc_feresetroundl_ctx): Likewise.
39882         (libc_feholdsetround_ctx): Likewise.
39883         (libc_feholdsetroundf_ctx): Likewise.
39884         (libc_feholdsetroundl_ctx): Likewise.
39886         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39887         with __USE_GNU instead of XOPEN cpp guards.
39889         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
39890         0.
39892         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39893         with XOPEN cpp guards.
39895 2014-04-30  Julian Brown  <julian@codesourcery.com>
39897         [BZ #16888]
39898         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
39899         handling.
39901 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
39903         [BZ #9894]
39904         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
39905         Change to 2.6.32.
39906         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
39907         * sysdeps/unix/sysv/linux/configure: Regenerated.
39908         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
39909         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
39910         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
39911         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
39912         * README: Update reference to required Linux kernel version.
39913         * manual/install.texi (Linux): Update reference to required Linux
39914         kernel headers version.
39915         * INSTALL: Regenerated.
39917         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
39918         header inclusion.
39919         [POSIX] (limits.h): Likewise.
39920         [POSIX] (math.h): Likewise.
39921         [POSIX] (sys/wait.h): Likewise.
39922         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
39923         function.
39924         [POSIX] (stddef.h): Do not allow header inclusion.
39926 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39928         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
39930 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
39932         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
39933         Return immediately after lll_futex_wake.
39935 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39937         [BZ #16791]
39938         * nscd/nscd-client.h (datahead_init_common): Initialize entire
39939         structure.
39940         (datahead_init_pos): Call datahead_init_common early.
39941         (datahead_init_neg): Likewise.
39943         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
39944         datahead_init_neg): New functions.
39945         * nscd/aicache.c (addhstaiX): Use them.
39946         * nscd/grpcache.c (cache_addgr): Likewise.
39947         * nscd/hstcache.c (cache_addhst): Likewise.
39948         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39949         * nscd/netgroupcache.c (do_notfound): Likewise.
39950         (addgetnetgrentX): Likewise.
39951         (addinnetgrX): Likewise.
39952         * nscd/pwdcache.c (cache_addpw): Likewise.
39953         * nscd/servicescache.c (cache_addserv): Likewise.
39955 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39956             Atsushi Onoe  <atsushi@onoe.org>
39958         [BZ #14308]
39959         [BZ #12994]
39960         [BZ #13651]
39961         * resolv/res_query.c (__libc_res_nsearch): Return if at least
39962         one response is valid.
39963         * resolv/res_send.c (send_dg): Check for validity of other
39964         response if the current response is a referral.
39966 2014-04-29  Steve Ellcey  <sellcey@mips.com>
39968         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
39970 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
39972         [BZ #16823]
39973         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
39974         Always divide by positive zero when computing -Inf result.
39975         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39976         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39978 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39980         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39981         FPSCR if value do not change.
39982         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39983         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39984         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39985         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39986         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39987         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39988         function.
39990 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39992         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39993         * sysdeps/unix/sysv/linux/hppa: Move directory from
39994         ports/systeps/unix/sysv/linux/hppa.
39995         * README: Update listing for hppa-*-linux-gnu.
39997 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39999         [BZ #16754]
40000         * manual/stdio.texi (Hook functions): Fix types of stream hook
40001         functions.
40002         [BZ #16854]
40003         * socket/sys/socket.h: Fix typo in comment.
40005 2014-04-28  Wilco  <wdijkstr@arm.com>
40007         * sysdeps/arm/fenv_private.h: New file.
40008         * sysdeps/arm/math_private.h: New file.
40009         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40011 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40013         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40014         with __int128_t.
40015         (La_x86_64_retval): Likewise.
40017 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40019         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40020         fpsr if value didn't change.
40021         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40022         to fpcr if value didn't change.
40023         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40024         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40025         fpsr or fpcr if value didn't change.
40026         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40027         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40028         fpcr if value didn't change.
40029         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40030         to fpsr if value didn't change.
40032 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40034         * nptl/tst-sem3.c: Use test-skeleton.c
40035         (main): Rename to do_test.  Use return instead of
40036         exit.
40037         * nptl/tst-sem4.c: Use test-skeleton.c
40038         (main): Rename to do_test.
40040 2014-04-22  David S. Miller  <davem@davemloft.net>
40042         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40043         (struct sigaction): New struct member __glibc_reserved0, change
40044         type of sa_flags to int.
40046 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40048         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40049         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40051 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40053         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40054         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40056 2014-04-22  Will Newton  <will.newton@linaro.org>
40057             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40059         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40060         (__longjmp): Add longjmp and longjmp_target SystemTap
40061         probes.
40062         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40063         (__sigsetjmp): Add setjmp SystemTap probe.
40065 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40067         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40068         match manual order.
40070 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40072         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40074         * sysdeps/powerpc/fpu/fenv_private.h
40075         (libc_feholdexcept_setroundl_ctx): Define to
40076         libc_feholdexcept_setround_ppc_ctx.
40077         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40078         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40079         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40080         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40082 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40084         * sysdeps/aarch64/math-tests.h: New file.
40086 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40088         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40089         New.
40090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40091         Check and set bit_AVX2_Usable.
40092         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40093         macro.
40094         (bit_AVX2): Likewise.
40095         (index_AVX2_Usable): Likewise.
40096         (CPUID_AVX2): Likewise.
40097         (HAS_AVX2): Likewise.
40099 2014-04-17  Will Newton  <will.newton@linaro.org>
40101         * manual/setjmp.texi (System V contexts): Add note that
40102         calling setcontext on a context created by a call to a
40103         signal handler is undefined.  Update text to note that
40104         setcontext from a signal handler is possible but not
40105         recommended.
40107         [BZ #16629]
40108         * stdlib/tst-setcontext.c: Include signal.h.
40109         (main): Check that the signal stack before and
40110         after swapcontext is the same.
40112         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40113         Re-implement to restore registers in user code and avoid
40114         rt_sigreturn system call.
40116 2014-04-17  Wilco  <wdijkstr@arm.com>
40118         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40119         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40120         * math/test-fenv.c: Skip exception trap tests on targets which only
40121         support non-stop mode.
40123 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40124             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40126         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40127         (libc_feholdsetround_aarch64_ctx)
40128         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40129         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40130         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40131         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40132         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40133         (libc_feresetround_noexl_ctx): Define.
40135 2014-04-16  Richard Henderson  <rth@redhat.com>
40137         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40139         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40140         unwind tables.
40142         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40143         const from the non-libc, non-ldso copy.
40145         * sysdeps/alpha/libm-test-ulps: Regenerate.
40147 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40148             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40150         * sysdeps/aarch64/fpu/math_private.h: New file.
40152 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40154         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40156 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40158         [BZ #16275]
40159         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40160         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40161         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40162         Intel MPX bound registers before _dl_profile_fixup.
40163         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40164         registers after _dl_profile_fixup.  Save and restore bound
40165         registers bnd0/bnd1 when calling _dl_call_pltexit.
40166         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40167         (LR_BND_OFFSET): Likewise.
40168         (LRV_BND0_OFFSET): Likewise.
40169         (LRV_BND1_OFFSET): Likewise.
40171 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40173         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40174         to...
40175         * sysdeps/mach/hurd/i386/tls.h: ... here.
40176         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40177         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40178         fields.
40180 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40182         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40184 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40186         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40188 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40190         [BZ #14770]
40191         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40192         * sysdeps/s390/configure: Regenerate.
40194         [BZ #16824]
40195         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40196         Set round-to-nearest internally to reduce error accumulation.
40198 2014-04-16  Alan Modra  <amodra@gmail.com>
40200         [BZ #16740]
40201         [BZ #16619]
40202         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40203         * math/libm-test.inc (frexp_test_data): Add tests.
40204         * NEWS: Update fixed bug list.
40206 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40208         * benchtests/Makefile: Depend on libraries in build directory.
40209         (bench-math): Separate out math tests.
40210         (bench-pthread): Separate out pthread tests.
40211         (bench): Include math and pthread tests.
40213 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40215         [BZ #16831]
40216         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40217         _dl_debug_initialize.
40219         * configure.ac: Remove SELinux header check.
40220         * configure: Regenerate.
40221         * nscd/selinux.c (perms): Array of const char* to permission names.
40222         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40223         default policy. Call string_to_security_class and string_to_av_perm to
40224         translate strings. Enforce default policy and call avs_has_perm with
40225         results of translated strings.
40227 2014-04-13  David S. Miller  <davem@davemloft.net>
40229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40231 2014-04-12  Allan McRae  <allan@archlinux.org>
40233         [BZ #16838]
40234         * manual/string.texi (Collation Functions): Fix qsort argument
40235         order in example.
40236         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40238 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40240         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40241         Make the test a no-op if there are no exceptions defined.
40243 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40245         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40246         enable-hardcoded-path-in-tests
40248 2014-04-11  Will Newton  <will.newton@linaro.org>
40250         * benchtests/Makefile (extra-objs): Add json-lib.o.
40251         (bench-func): Tidy up JSON output.
40252         * benchtests/bench-skeleton.c: Include json-lib.h.
40253         (main): Use JSON library functions to do output of
40254         benchmark results.
40255         * benchtests/bench-timing-type.c (main): Output the
40256         timing type simply, leaving formatting to the user.
40257         * benchtests/json-lib.c: New file.
40258         * benchtests/json-lib.h: Likewise.
40260 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40262         [BZ #15215]
40263         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40264         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40265         memory barriers.  Add comments.
40266         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40267         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40268         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40269         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40270         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40271         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40273 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40275         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40276         * sysdeps/s390/s390-64/configure.ac: ... this ...
40277         * sysdeps/s390/configure.ac: ... to here.
40278         * sysdeps/s390/s390-32/configure: Delete file.
40279         * sysdeps/s390/s390-64/configure: Delete file.
40280         * sysdeps/s390/configure: Regenerate.
40282 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40284         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40286 2014-04-11  Will Newton  <will.newton@linaro.org>
40288         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40289         to zero if it is not defined elsewhere.  (mtrim): Test
40290         the value of MALLOC_DEBUG with #if rather than #ifdef.
40292 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40294         * benchtests/pthread_once-inputs: New file.
40295         * benchtests/pthread_once-source.c: New file.
40296         * benchtests/README: Update documentation.
40298 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40299             H.J. Lu  <hongjiu.lu@intel.com>
40301         [BZ #16275]
40302         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40303         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40304         * sysdeps/x86_64/configure: Regenerated.
40305         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40306         macro.
40307         (REGISTER_SAVE_RAX): Likewise.
40308         (REGISTER_SAVE_RCX): Likewise.
40309         (REGISTER_SAVE_RDX): Likewise.
40310         (REGISTER_SAVE_RSI): Likewise.
40311         (REGISTER_SAVE_RDI): Likewise.
40312         (REGISTER_SAVE_R8): Likewise.
40313         (REGISTER_SAVE_R9): Likewise.
40314         (REGISTER_SAVE_BND0): Likewise.
40315         (REGISTER_SAVE_BND1): Likewise.
40316         (REGISTER_SAVE_BND2): Likewise.
40317         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40318         bound registers when calling _dl_fixup.
40320 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40322         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40323         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40324         of its definition.
40325         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40326         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40327         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40328         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40329         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40330         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40331         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40333 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40335         [BZ #15514]
40336         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40337         pathconf(_PC_NAME_MAX).
40339 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40341         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40342         Remove macro usage.
40343         (__PTHREAD_SPINS): Move definition to ...
40344         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40345         (__PTHREAD_SPINS): ... here.
40346         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40347         (__PTHREAD_SPIN): Likewise.
40348         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40349         (__PTHREAD_SPIN): Likewise.
40350         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40351         (__PTHREAD_SPIN): Likewise.
40352         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40353         (__PTHREAD_SPIN): Likewise.
40354         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40355         (__PTHREAD_SPIN): Likewise.
40356         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40357         (__PTHREAD_SPIN): Likewise.
40358         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40359         (__PTHREAD_SPIN): Likewise.
40360         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40361         (__PTHREAD_SPIN): Likewise.
40362         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40363         (__PTHREAD_SPIN): Likewise.
40364         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40365         (__PTHREAD_SPIN): Likewise.
40366         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40367         (__PTHREAD_SPIN): Likewise.
40368         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40369         (__PTHREAD_SPIN): Likewise.
40371         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40372         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40373         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40374         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40375         imply folder.
40376         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40377         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40378         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40379         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40380         correct imply path.
40381         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40382         strlen symbol for non multi-arch builds.
40383         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40384         missing hidden_def and weak_alias.
40386 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40388         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40390 2014-04-07  Will Newton  <will.newton@linaro.org>
40392         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40393         and contents.  [!_LIBC] Remove #ifndef and contents.
40394         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40395         * string/memccpy.c (__memccpy): Use ANSI prototype.
40396         * string/memfrob.c (memfrob): Likewise.
40397         * string/strcoll.c (STRCOLL): Likewise.
40398         * string/strlen.c (strlen): Likewise.
40399         * string/strtok.c (STRTOK): Likewise.
40400         * string/strcat.c: Remove unused #include of memcopy.h.
40401         (strcat): Use ANSI prototype.
40402         * string/strchr.c: Remove unused #include of memcopy.h.
40403         (strchr): Use ANSI prototype.
40404         * string/strcmp.c: Remove unused #include of memcopy.h.
40405         (strcmp): Use ANSI prototype.
40406         * string/strcpy.c: Remove unused #include of memcopy.h.
40407         (strcpy): Use ANSI prototype.
40409 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40411         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40412         * config.make.in (config-extra-cppflags): Set it from
40413         libc_extra_cppflags.
40414         * configure.ac (libc_extra_cflags): Make it accumulate over
40415         configure fragments.
40416         (libc_extra_cppflags): New flag.
40417         * configure. Regenerate.
40418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40419         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40420         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40423         [BZ #16815]
40424         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40425         result for FE_DOWNWARD rounding mode.
40426         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40427         Likewise.
40428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40430 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40432         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40433         in function argument name.
40435 2014-04-03  David Svoboda  <svoboda@cert.org>
40437         [BZ #5666]
40438         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40439         explicitly.
40441 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40443         * elf/dl-unmap-segments.h: New file.
40444         * sysdeps/generic/ldsodefs.h
40445         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40446         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40447         * elf/dl-fptr.c: Likewise.
40448         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40449         * sysdeps/aarch64/tlsdesc.c: Likewise.
40450         * sysdeps/arm/tlsdesc.c: Likewise.
40451         * sysdeps/i386/tlsdesc.c: Likewise.
40452         * sysdeps/tile/dl-runtime.c: Likewise.
40453         * sysdeps/x86_64/tlsdesc.c: Likewise.
40454         * elf/dl-load.h: New file.
40455         * elf/dl-load.c: Include it.
40456         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40457         Macros moved to dl-load.h.
40458         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40459         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40460         Use _dl_unmap_segments in place of __munmap.
40461         Break out segment-mapping loop into ...
40462         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40464 2014-04-03  Will Newton  <will.newton@linaro.org>
40466         * elf/dl-lookup.c (do_lookup_x): Remove comment
40467         referring to nested function and move variable
40468         declarations down to before first use.
40470 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40472         [BZ #16799]
40473         [BZ #16800]
40474         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40475         with 0 numerator.
40476         * math/s_catanf.c (__catanf): Likewise.
40477         * math/s_catanh.c (__catanh): Likewise.
40478         * math/s_catanhf.c (__catanhf): Likewise.
40479         * math/s_catanhl.c (__catanhl): Likewise.
40480         * math/s_catanl.c (__catanl): Likewise.
40481         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40482         by positive zero when computing -Inf result.
40483         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40484         (catanh_test): Likewise.
40485         * sysdeps/i386/fpu/libm-test-ulps: Update.
40486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40488         [BZ #16789]
40489         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40490         instead of using underflowing value in computing result.
40491         * math/s_clog10.c (__clog10): Likewise.
40492         * math/s_clog10f.c (__clog10f): Likewise.
40493         * math/s_clog10l.c (__clog10l): Likewise.
40494         * math/s_clogf.c (__clogf): Likewise.
40495         * math/s_clogl.c (__clogl): Likewise.
40496         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40497         (clog10_test): Likewise.
40498         * sysdeps/i386/fpu/libm-test-ulps: Update.
40499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40501 2014-04-02  Alan Modra  <amodra@gmail.com>
40503         [BZ #16739]
40504         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40505         output when value is near a power of two.  Use int64_t for lx and
40506         remove casts.  Use decimal rather than hex exponent constants.
40507         Don't use long double multiplication when double will suffice.
40508         * math/libm-test.inc (nextafter_test_data): Add tests.
40509         * NEWS: Add 16739 and 16786 to bug list.
40511         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40513         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40515 2014-04-01  Will Newton  <will.newton@linaro.org>
40517         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40518         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40520 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40522         [BZ #13347]
40523         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40524         * nptl/tst-setuid2.c: New file.
40525         * nptl/Makefile (xtests): Add tst-setuid2.
40527 2014-04-01  Alan Modra  <amodra@gmail.com>
40529         [BZ #16786]
40530         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40532 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40534         [BZ #6803]
40535         [BZ #6804]
40536         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40537         set errno as appropriate.
40538         * math/w_scalbf.c (__scalbf): Likewise.
40539         * math/w_scalbl.c (__scalbl): Likewise.
40540         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40541         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40542         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40543         Add more NaN tests.
40545         [BZ #16349]
40546         * math/w_atan2.c: Include <errno.h>.
40547         (__atan2): Set errno for result underflowing to zero.
40548         * math/w_atan2f.c: Include <errno.h>.
40549         (__atan2f): Set errno for result underflowing to zero.
40550         * math/w_atan2l.c: Include <errno.h>.
40551         (__atan2l): Set errno for result underflowing to zero.
40552         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40553         tests.
40554         * math/auto-libm-test-out: Regenerated.
40556 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40558         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40559         Encode instruction correctly in little endian.
40560         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40561         Likewise.
40562         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40563         Likewise.
40564         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40565         Likewise.
40566         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40567         Likewise.
40569 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40571         [BZ #9894]
40572         * sysdeps/unix/sysv/linux/kernel-features.h
40573         [__sparc__ && !__arch64__ && !__sparc_v9__]
40574         (__ASSUME_SET_ROBUST_LIST): Do not define.
40575         [__sparc__ && !__arch64__ && !__sparc_v9__]
40576         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40577         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40578         Likewise.
40579         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40580         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40581         (__ASSUME_REQUEUE_PI): Likewise.
40582         (__ASSUME_SET_ROBUST_LIST): Likewise.
40583         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40584         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40585         Undefine.
40586         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40587         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40588         Likewise.
40589         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40590         Likewise.
40591         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40592         Likewise.
40593         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40594         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40595         Undefine.
40596         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40597         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40598         Likewise.
40600         [BZ #16648]
40601         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40602         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40603         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40605 2014-03-31  Will Newton  <will.newton@linaro.org>
40607         * benchtests/Makefile (bench): Add ffs and ffsll to list
40608         of tests.
40609         * benchtests/ffs-inputs: New file.
40610         * benchtests/ffsll-inputs: Likewise.
40612 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40614         [BZ #16770]
40615         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40616         too large before casting to int.
40617         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40618         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40619         * math/libm-test.inc (scalb_test_data): Add more tests.
40621 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40623         * benchtests/Makefile (DETAILED_OPT): New make option.
40624         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40625         set.
40626         * benchtests/bench-skeleton.c: Include stdbool.h.
40627         (main): Store and print timings per input.
40628         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40629         member to each argument value.
40630         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40631         (_print_arg_data): Initialize per-input timing to 0.
40633         * benchtests/Makefile (timing-type): New binary.
40634         (bench-clean): Also remove bench-timing-type.
40635         (bench): New target for timing-type.
40636         (bench-func): Print output in JSON format.
40637         * benchtests/bench-skeleton.c (main): Print output in JSON
40638         format.
40639         * benchtests/bench-timing-type.c: New file.
40640         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40641         (TIMING_PRINT_STATS): Remove.
40642         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40643         name separately.
40645         * benchtests/bench-modf.c: Remove.
40646         * benchtests/modf-inputs: New inputs file.
40648 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40650         [BZ #16362]
40651         * math/s_clog10.c (M_PI_LOG10E): New macro.
40652         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40653         imaginary parts are 0.
40654         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40655         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40656         imaginary parts are 0.
40657         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40658         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40659         imaginary parts are 0.
40660         * math/libm-test.inc (clog10_test_data): Update expected results
40661         for when real and imaginary parts are 0.
40663 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40665         * elf/dl-load.c: Finish conversion of __builtin_expect into
40666         __glibc_{un}likely.
40668 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40670         [BZ #16348]
40671         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40672         1+x for argument with exponent below -67.
40673         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40674         Likewise.
40675         * math/auto-libm-test-in: Add more tests of exp.
40676         * math/auto-libm-test-out: Regenerated.
40678 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40680         [BZ #16759]
40681         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40682         (nscd_getnetgrent): Use it.
40684         [BZ #16760]
40685         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40686         of stpcpy.
40688 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40690         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40691         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40692         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40693         (lll_robust_unlock): Remove out of line section. Use cfi
40694         intrinsics.
40695         (LLL_STUB_UNWIND_INFO*): Remove.
40696         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40697         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40698         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40699         (lll_robust_unlock): Remove out of line section. Use cfi
40700         intrinsics.
40701         (LLL_STUB_UNWIND_INFO*): Remove.
40703 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40705         [BZ #16758]
40706         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40707         blank values.
40709 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40711         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40713 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40715         [BZ #16198]
40716         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40717         fnstenv.
40718         * math/test-fenv-preserve.c: New file.
40719         * math/Makefile (tests): Add test-fenv-preserve.
40721 2014-03-26  Will Newton <will.newton@linaro.org>
40723         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40725 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40727         * scripts/versionlist.awk: Partition the version sets and emit all
40728         GLIBC_* (sorted) before all others (sorted).
40730 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40732         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40733         GLIBC_2.2.5 version.
40735 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40737         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40738         calls.
40740         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40741         previous change.
40743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40745 2014-03-25  Andreas Schwab  <schwab@suse.de>
40747         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40748         label to be used after in6ailist is initialized.
40750 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40752         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40753         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40755 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40757         [BZ #16357]
40758         [BZ #16599]
40759         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40760         min_plus_half.
40761         (fp_formats): Update initializers.
40762         (init_fp_formats): Initialize new field.
40763         (output_for_one_input_case): Allow underflow for results up to
40764         min_plus_half.
40765         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40766         * math/auto-libm-test-in: Don't mark some underflows from asin and
40767         atanh as spurious.
40768         * math/auto-libm-test-out: Regenerated.
40769         * sysdeps/i386/fpu/libm-test-ulps: Update.
40770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40772 2014-03-25  Andreas Schwab  <schwab@suse.de>
40774         * libio/Makefile (tst-ftell-partial-wide-ENV)
40775         (tst-ftell-active-handler-ENV): Define.
40777 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40779         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40781 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40783         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40785 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40787         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40788         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40789         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40791 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40793         [BZ #16634]
40794         * elf/dl-load.c (open_verify): Add mode parameter.
40795         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40796         (open_path): Change from boolean 'secure' to complete flag 'mode'
40797         (_dl_map_object): Adjust.
40798         * elf/Makefile (tests): Add tst-dlopen-aout.
40799         * elf/tst-dlopen-aout.c: New test.
40801 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
40803         [BZ #16714]
40804         * sysdeps/unix/sysv/linux/s390/bits/stat.h
40805         (struct stat): Rename member pad0 to __glibc_reserved0.
40807         [BZ #16712]
40808         * sysdeps/s390/s390-32/bits/wordsize.h
40809         (__WORDSIZE32_SIZE_ULONG): New define.
40810         * sysdeps/s390/s390-64/bits/wordsize.h
40811         (__WORDSIZE32_SIZE_ULONG): Likewise.
40812         * sysdeps/generic/stdint.h (SIZE_MAX):
40813         Define as UL if __WORDSIZE32_SIZE_ULONG.
40815         [BZ #16713]
40816         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
40817         (__glibc_reserved0): New variable.
40818         (sa_flags): Change type to int.
40820         * posix/Makefile (before-compile): Use += before-compile instead
40821         of a :=.
40823         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40824         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40826 2014-03-20  Andreas Schwab  <schwab@suse.de>
40828         [BZ #16743]
40829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
40830         non-matching result from nscd.
40832 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40834         * scripts/bench.py: Moved to ...
40835         * benchtests/scripts/bench.py: ... here.
40836         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
40838 2014-03-24  Andreas Schwab  <schwab@suse.de>
40840         [BZ #16002]
40841         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
40842         alloca_account and account alloca use for struct in6ailist.
40844 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40846         [BZ #16284]
40847         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40848         rounding mode to recompute results that overflow to infinity or
40849         underflow to zero.
40850         * math/auto-libm-test-in: Don't mark tests as expected to fail for
40851         bug 16284.
40852         * math/auto-libm-test-out: Regenerated.
40853         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
40854         (ccosh_test): Likewise.
40855         (csin_test_data): Use plus_oflow.
40856         (csin_test): Use ALL_RM_TEST.
40857         (csinh_test_data): Use plus_oflow.
40858         (csinh_test): Use ALL_RM_TEST.
40859         * sysdeps/i386/fpu/libm-test-ulps: Update.
40860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40862 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
40864         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
40865         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
40866         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
40868         [BZ #16731]
40869         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
40870         when x - 1 is zero.
40871         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
40872         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
40873         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40874         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
40875         argument is 1.
40876         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40877         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
40878         zero.
40879         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
40880         * sysdeps/i386/fpu/libm-test-ulps: Update.
40881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40883 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40885         * scripts/bench.pl: Remove file.
40886         * scripts/bench.py: New benchmark script.
40887         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
40888         * benchtests/README: Mention python dependency.
40889         * scripts/pylintrc: New file.
40890         * scripts/pylint: New file.
40892         * bits/mathdef.h: Use #ifdef instead of #if.
40893         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
40894         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40895         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
40896         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40897         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
40898         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40900 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40901             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40903         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
40904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
40905         and strpbrk-ppc64 objects.
40906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40907         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
40908         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
40909         multiarch strpbrk for POWER7.
40910         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
40911         multiarch strpbrk for PPC64.
40912         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
40913         ifunc selector.
40914         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
40915         strpbrk for POWER7.
40917 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40919         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
40920         (atan_test): Likewise.
40921         (atanh_test_data): Use NO_TEST_INLINE for two tests.
40922         (atanh_test): Use ALL_RM_TEST.
40923         (atan2_test_data): Likewise.
40924         (cabs_test): Likewise.
40925         (cacosh_test): Likewise.
40926         (carg_test): Likewise.
40927         (casin_test): Likewise.
40928         (casinh_test): Likewise.
40929         (cbrt_test): Likewise.
40930         (csqrt_test): Likewise.
40931         (erf_test): Likewise.
40932         (erfc_test): Likewise.
40933         (pow10_test): Likewise.
40934         (exp2_test): Likewise.
40935         (hypot_test): Likewise.
40936         (j0_test): Likewise.
40937         (j1_test): Likewise.
40938         (lgamma_test): Likewise.
40939         (gamma_test): Likewise.
40940         (sincos_test): Likewise.
40941         (tanh_test): Likewise.
40942         (y0_test): Likewise.
40943         (y1_test): Likewise.
40944         * sysdeps/i386/fpu/libm-test-ulps: Update.
40945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40947 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40949         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
40950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
40951         and strcspn-ppc64 objects.
40952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40953         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
40954         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
40955         multiarch strcspn for POWER7.
40956         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
40957         multiarch strcspn for PPC64.
40958         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
40959         ifunc selector.
40960         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
40961         strcspn for POWER7.
40963 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40965         * math/gen-libm-test.pl (generate_testfile): Expect only function
40966         name as argument to AUTO_TESTS_* and pass results for all rounding
40967         modes to parse_args.
40968         (parse_auto_input): Separate inputs of automatic tests from
40969         outputs before storing in %auto_tests.
40970         * math/libm-test.inc (acos_test_data): Update call to
40971         AUTO_TESTS_f_f.
40972         (acos_test): Use ALL_RM_TEST.
40973         (acos_tonearest_test_data): Remove.
40974         (acos_test_tonearest): Likewise.
40975         (acos_towardzero_test_data): Likewise.
40976         (acos_test_towardzero): Likewise.
40977         (acos_downward_test_data): Likewise.
40978         (acos_test_downward): Likewise.
40979         (acos_upward_test_data): Likewise.
40980         (acos_test_upward): Likewise.
40981         (acosh_test_data): Update call to AUTO_TESTS_f_f.
40982         (asin_test_data): Likewise.
40983         (asin_test): Use ALL_RM_TEST.
40984         (asin_tonearest_test_data): Remove.
40985         (asin_test_tonearest): Likewise.
40986         (asin_towardzero_test_data): Likewise.
40987         (asin_test_towardzero): Likewise.
40988         (asin_downward_test_data): Likewise.
40989         (asin_test_downward): Likewise.
40990         (asin_upward_test_data): Likewise.
40991         (asin_test_upward): Likewise.
40992         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40993         (atan_test_data): Likewise.
40994         (atanh_test_data): Likewise.
40995         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40996         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40997         (carg_test_data): Likewise.
40998         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40999         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41000         (ccosh_test_data): Likewise.
41001         (cexp_test_data): Likewise.
41002         (clog_test_data): Likewise.
41003         (clog10_test_data): Likewise.
41004         (cos_test_data): Update call to AUTO_TESTS_f_f.
41005         (cos_test): Use ALL_RM_TEST.
41006         (cos_tonearest_test_data): Remove.
41007         (cos_test_tonearest): Likewise.
41008         (cos_towardzero_test_data): Likewise.
41009         (cos_test_towardzero): Likewise.
41010         (cos_downward_test_data): Likewise.
41011         (cos_test_downward): Likewise.
41012         (cos_upward_test_data): Likewise.
41013         (cos_test_upward): Likewise.
41014         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41015         (cosh_test): Use ALL_RM_TEST.
41016         (cosh_tonearest_test_data): Remove.
41017         (cosh_test_tonearest): Likewise.
41018         (cosh_towardzero_test_data): Likewise.
41019         (cosh_test_towardzero): Likewise.
41020         (cosh_downward_test_data): Likewise.
41021         (cosh_test_downward): Likewise.
41022         (cosh_upward_test_data): Likewise.
41023         (cosh_test_upward): Likewise.
41024         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41025         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41026         (ctan_test_data): Likewise.
41027         (ctan_test): Use ALL_RM_TEST.
41028         (ctan_tonearest_test_data): Remove.
41029         (ctan_test_tonearest): Likewise.
41030         (ctan_towardzero_test_data): Likewise.
41031         (ctan_test_towardzero): Likewise.
41032         (ctan_downward_test_data): Likewise.
41033         (ctan_test_downward): Likewise.
41034         (ctan_upward_test_data): Likewise.
41035         (ctan_test_upward): Likewise.
41036         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41037         (ctanh_test): Use ALL_RM_TEST.
41038         (ctanh_tonearest_test_data): Remove.
41039         (ctanh_test_tonearest): Likewise.
41040         (ctanh_towardzero_test_data): Likewise.
41041         (ctanh_test_towardzero): Likewise.
41042         (ctanh_downward_test_data): Likewise.
41043         (ctanh_test_downward): Likewise.
41044         (ctanh_upward_test_data): Likewise.
41045         (ctanh_test_upward): Likewise.
41046         (erf_test_data): Update call to AUTO_TESTS_f_f.
41047         (erfc_test_data): Likewise.
41048         (exp_test_data): Likewise.
41049         (exp_test): Use ALL_RM_TEST.
41050         (exp_tonearest_test_data): Remove.
41051         (exp_test_tonearest): Likewise.
41052         (exp_towardzero_test_data): Likewise.
41053         (exp_test_towardzero): Likewise.
41054         (exp_downward_test_data): Likewise.
41055         (exp_test_downward): Likewise.
41056         (exp_upward_test_data): Likewise.
41057         (exp_test_upward): Likewise.
41058         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41059         (exp10_test): Use ALL_RM_TEST.
41060         (exp10_tonearest_test_data): Remove.
41061         (exp10_test_tonearest): Likewise.
41062         (exp10_towardzero_test_data): Likewise.
41063         (exp10_test_towardzero): Likewise.
41064         (exp10_downward_test_data): Likewise.
41065         (exp10_test_downward): Likewise.
41066         (exp10_upward_test_data): Likewise.
41067         (exp10_test_upward): Likewise.
41068         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41069         (expm1_test_data): Likewise.
41070         (expm1_test): Use ALL_RM_TEST.
41071         (expm1_tonearest_test_data): Remove.
41072         (expm1_test_tonearest): Likewise.
41073         (expm1_towardzero_test_data): Likewise.
41074         (expm1_test_towardzero): Likewise.
41075         (expm1_downward_test_data): Likewise.
41076         (expm1_test_downward): Likewise.
41077         (expm1_upward_test_data): Likewise.
41078         (expm1_test_upward): Likewise.
41079         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41080         (fma_test): Use ALL_RM_TEST.
41081         (fma_towardzero_test_data): Remove.
41082         (fma_test_towardzero): Likewise.
41083         (fma_downward_test_data): Likewise.
41084         (fma_test_downward): Likewise.
41085         (fma_upward_test_data): Likewise.
41086         (fma_test_upward): Likewise.
41087         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41088         (j0_test_data): Update call to AUTO_TESTS_f_f.
41089         (j1_test_data): Likewise.
41090         (jn_test_data): Update call to AUTO_TESTS_if_f.
41091         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41092         (log_test_data): Update call to AUTO_TESTS_f_f.
41093         (log10_test_data): Likewise.
41094         (log1p_test_data): Likewise.
41095         (log2_test_data): Likewise.
41096         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41097         (pow_tonearest_test_data): Likewise.
41098         (sin_test_data): Update call to AUTO_TESTS_f_f.
41099         (sin_test): Use ALL_RM_TEST.
41100         (sin_tonearest_test_data): Remove.
41101         (sin_test_tonearest): Likewise.
41102         (sin_towardzero_test_data): Likewise.
41103         (sin_test_towardzero): Likewise.
41104         (sin_downward_test_data): Likewise.
41105         (sin_test_downward): Likewise.
41106         (sin_upward_test_data): Likewise.
41107         (sin_test_upward): Likewise.
41108         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41109         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41110         (sinh_test): Use ALL_RM_TEST.
41111         (sinh_tonearest_test_data): Remove.
41112         (sinh_test_tonearest): Likewise.
41113         (sinh_towardzero_test_data): Likewise.
41114         (sinh_test_towardzero): Likewise.
41115         (sinh_downward_test_data): Likewise.
41116         (sinh_test_downward): Likewise.
41117         (sinh_upward_test_data): Likewise.
41118         (sinh_test_upward): Likewise.
41119         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41120         (sqrt_test): Use ALL_RM_TEST.
41121         (sqrt_tonearest_test_data): Remove.
41122         (sqrt_test_tonearest): Likewise.
41123         (sqrt_towardzero_test_data): Likewise.
41124         (sqrt_test_towardzero): Likewise.
41125         (sqrt_downward_test_data): Likewise.
41126         (sqrt_test_downward): Likewise.
41127         (sqrt_upward_test_data): Likewise.
41128         (sqrt_test_upward): Likewise.
41129         (tan_test_data): Update call to AUTO_TESTS_f_f.
41130         (tan_test): Use ALL_RM_TEST.
41131         (tan_tonearest_test_data): Remove.
41132         (tan_test_tonearest): Likewise.
41133         (tan_towardzero_test_data): Likewise.
41134         (tan_test_towardzero): Likewise.
41135         (tan_downward_test_data): Likewise.
41136         (tan_test_downward): Likewise.
41137         (tan_upward_test_data): Likewise.
41138         (tan_test_upward): Likewise.
41139         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41140         (tgamma_test_data): Likewise.
41141         (y0_test_data): Likewise.
41142         (y1_test_data): Likewise.
41143         (yn_test_data): Update call to AUTO_TESTS_if_f.
41144         (main): Do not call removed functions.
41146 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41148         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41149         (ldexp_test_data): Remove.
41150         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41151         scalbn_test_data.
41152         (scalb_test): Use ALL_RM_TEST.
41154 2014-03-19  Andreas Schwab  <schwab@suse.de>
41156         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41158 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41160         [BZ #16649]
41161         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41162         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41163         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41164         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41165         (__ASSUME_PREADV): Undefine.
41166         (__ASSUME_PWRITEV): Likewise.
41168 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41170         * bits/mman-linux.h: Add comment about non-Linux use.
41171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41172         bits/mman-linux.h resting place.
41174         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41175         * bits/mman-linux.h: ... here.
41177 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41179         * conform/conformtest.pl: Add standard definition when calling C
41180         preprocessor on data files.
41181         (checknamespace): Remove unused variable.
41183 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41185         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41186         minus_oflow, plus_uflow and minus_uflow in expected results.
41187         * math/libm-test.inc (scalbn_test_data): Add more tests of
41188         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41189         minus_uflow.
41190         (scalbn_test): Use ALL_RM_TEST.
41191         (scalbln_test_data): Add more tests of negative arguments.  Use
41192         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41193         (scalbln_test): Use ALL_RM_TEST.
41195 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41197         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41199 2014-03-18  Will Newton  <will.newton@linaro.org>
41201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41202         inaccurate comment.
41204 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41206         * Makerules [!subdir] (check-abi): Exit with error status if a
41207         test failed.
41209 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41211         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41212         for rint.  Include results for all rounding modes.
41213         (nearbyint_test): Use ALL_RM_TEST.
41214         (rint_test_data): Include all tests used for nearbyint.
41216 2014-03-17  Will Newton  <will.newton@linaro.org>
41218         * nptl/sysdeps/pthread/pthread.h: Revert previous
41219         change.
41221         * sysdeps/generic/ldsodefs.h: Revert previous
41222         change.
41224         * libio/genops.c: Revert previous change.
41225         * libio/libioP.h: Likewise.
41226         * stdio-common/vfprintf.c: Likewise.
41228         * sysdeps/generic/math_private.h: Revert previous
41229         change.
41231         * sysdeps/generic/math_private.h: Check whether
41232         HAVE_RM_CTX is defined with #ifdef rather
41233         than #if.
41235         * argp/argp-fmtstream.h: Check whether
41236         __STRICT_ANSI__ is defined with #ifdef rather
41237         than #if.
41238         * argp/argp.h: Likewise.
41240         * libio/genops.c: Check whether
41241         _IO_JUMPS_OFFSET is defined with #ifdef rather
41242         than #if.
41243         * libio/libioP.h: Likewise.
41244         * stdio-common/vfprintf.c: Likewise.
41246         * sysdeps/generic/ldsodefs.h: Check whether
41247         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41248         than #if.
41250         * nptl/sysdeps/pthread/pthread.h: Check
41251         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41252         its value.
41254 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41256         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41257         setting O_APPEND.
41258         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41259         test case.
41261         [BZ #16680]
41262         * libio/fileops.c (_IO_file_open): Seek to end of file but
41263         don't cache the offset.
41264         (get_file_offset): Remove function.
41265         (do_ftell): Use cached offset when available.
41266         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41267         don't cache the offset.
41268         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41269         case.
41270         (do_one_test): Call it.
41271         (do_ftell_test): Fix up expected old offset for a+ mode.
41272         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41273         available.
41275         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41276         up test status with function return status.
41277         (do_write_test): Likewise.
41278         (do_append_test): Likewise.
41280         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41281         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41282         Remove.
41284 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41286         * math/gen-libm-test.pl (parse_args): Handle results specified for
41287         each rounding mode separately.
41288         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41289         tests and results from lrint_tonearest_test_data,
41290         lrint_towardzero_test_data, lrint_downward_test_data and
41291         lrint_upward_test_data.
41292         (lrint_test): Use ALL_RM_TEST.
41293         (lrint_tonearest_test_data): Remove.
41294         (lrint_test_tonearest): Likewise.
41295         (lrint_towardzero_test_data): Likewise.
41296         (lrint_test_towardzero): Likewise.
41297         (lrint_downward_test_data): Likewise.
41298         (lrint_test_downward): Likewise.
41299         (lrint_upward_test_data): Likewise.
41300         (lrint_test_upward): Likewise.
41301         (llrint_test_data): Merge in per-rounding-mode tests and results
41302         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41303         llrint_downward_test_data and llrint_upward_test_data.
41304         (llrint_test): Use ALL_RM_TEST.
41305         (llrint_tonearest_test_data): Remove.
41306         (llrint_test_tonearest): Likewise.
41307         (llrint_towardzero_test_data): Likewise.
41308         (llrint_test_towardzero): Likewise.
41309         (llrint_downward_test_data): Likewise.
41310         (llrint_test_downward): Likewise.
41311         (llrint_upward_test_data): Likewise.
41312         (llrint_test_upward): Likewise.
41313         (rint_test_data): Merge in per-rounding-mode tests and results
41314         from rint_tonearest_test_data, rint_towardzero_test_data,
41315         rint_downward_test_data and rint_upward_test_data.  Add
41316         per-rounding-mode results for tests not in those arrays.
41317         (rint_test): Use ALL_RM_TEST.
41318         (rint_tonearest_test_data): Remove.
41319         (rint_test_tonearest): Likewise.
41320         (rint_towardzero_test_data): Likewise.
41321         (rint_test_towardzero): Likewise.
41322         (rint_downward_test_data): Likewise.
41323         (rint_test_downward): Likewise.
41324         (rint_upward_test_data): Likewise.
41325         (rint_test_upward): Likewise.
41326         (main): Don't call removed functions.
41328 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41330         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41331         "Compiled on ..." crapola.  It is anti-useful.
41333 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41335         * scripts/evaluate-test.sh: Handle fourth argument to determine
41336         whether test run should stop on failure.
41337         * Makeconfig (stop-on-test-failure): New variable.
41338         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41339         $(stop-on-test-failure).
41340         * Makefile (tests): Give a summary of results from testing and
41341         exit with failure status if they include an ERROR or FAIL.
41342         (xtests): Likewise.
41343         * manual/install.texi (Configuring and compiling): Mention
41344         stop-on-test-failure=y.
41345         * INSTALL: Regenerated.
41347 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41349         * scripts/versionlist.awk: New file.
41350         * Makerules [$(build-shared) = yes]
41351         (postclean-generated): Add Versions.def, not Versions.def.v and
41352         Versions.def.v.i.
41353         ($(common-objpfx)Versions.def.v.i): Target removed.
41354         ($(common-objpfx)Versions.def): New target.
41355         ($(common-objpfx)Versions.all): Depend on that rather that
41356         $(common-objpfx)Versions.def.v.
41357         * Versions.def: File removed.
41359         * Makeconfig (+gccwarn): Add -Wundef.
41360         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41361         a dl-sysdep.h breaking its contract.
41362         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41363         * include/stackinfo.h: New file.
41364         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41365         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41366         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41367         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41368         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41369         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41370         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41371         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41372         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41373         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41374         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41375         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41376         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41377         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41378         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41380 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41382         [BZ #16707]
41383         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41384         implementation.
41385         * math/libm-test.inc (round_test_data): Add more tests.
41387         [BZ #16706]
41388         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41389         implementation.
41390         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41392         [BZ #16701]
41393         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41394         implementation.
41395         * math/libm-test.inc (ceil_test_data): Add more tests.
41397         * math/libm-test.inc (trunc_test_data): Add more tests related to
41398         BZ#16414.
41400 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41402         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41403         with #if rather than #ifdef.
41404         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41406 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41408         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41409         first.  Disable AVX-512 GCC support if assembler doesn't support
41410         it.
41411         * sysdeps/x86_64/configure: Regenerated.
41413 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41415         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41416         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41417         (__old_pthread_attr_setstack): Likewise.
41418         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41419         [!_STACK_GROWS_DOWN]: Likewise.
41421 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41423         * config.make.in (have-bash2): Delete.
41424         * configure.ac (libc_cv_have_bash2): Delete.
41425         * configure: Regenerate.
41426         * elf/Makefile (common-ldd-rewrite): Rename to ...
41427         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41428         (sh-ldd-rewrite): Delete.
41429         (bash-ldd-rewrite): Delete.
41430         (have-bash2): Delete checks.
41431         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41432         ldd-rewrite.
41434         * config.make.in (have-ksh): Delete.
41435         (KSH): Delete.
41436         * configure.ac (libc_cv_have_ksh): Delete.
41437         * configure: Regenerate.
41439         * elf/Makefile: Delete $(have-ksh) check.
41440         ($(objpfx)sotruss): Change KSH to BASH.
41441         * elf/sotruss.ksh: Rename to ...
41442         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41443         function style to match POSIX.  Drop ksh vim mode setting.
41445         * manual/time.texi (Specifying the Time Zone with TZ): Change
41446         Tuesday to Thursday.
41448         * debug/tst-longjmp_chk2.c: Update header comment.
41449         (stackoverflow_handler): Add comment.  Call assert on pass value.
41451 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41453         [BZ #16194]
41454         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41455         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41456         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41457         (La_x86_64_vector): Add zmm.
41458         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41459         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41460         ($(objpfx)tst-audit10): New target.
41461         ($(objpfx)tst-audit10.out): Likewise.
41462         (tst-audit10-ENV): New.
41463         (AVX512-CFLAGS): Likewise.
41464         (CFLAGS-tst-audit10.c): Likewise.
41465         (CFLAGS-tst-auditmod10a.c): Likewise.
41466         (CFLAGS-tst-auditmod10b.c): Likewise.
41467         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41468         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41469         * sysdeps/x86_64/configure: Regenerated.
41470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41471         AVX-512 zmm register support.
41472         (_dl_x86_64_save_sse): Likewise.
41473         (_dl_x86_64_restore_sse): Likewise.
41474         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41475         size vector registers.
41476         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41477         (ZMM_SIZE): Likewise.
41478         * sysdeps/x86_64/tst-audit10.c: New file.
41479         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41480         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41482 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41484         * configure.ac (HAVE_EHDR_START): New check.
41485         * configure: Regenerated.
41486         * config.h.in (HAVE_EHDR_START): New #undef.
41487         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41488         assuming the lowest-addressed segment maps the start of the file.
41490 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41492         * INSTALL: Regenerated.
41494 2014-03-13  Will Newton  <will.newton@linaro.org>
41496         * manual/setjmp.texi (System V contexts): Improve
41497         clarity and grammar of documentation.
41499 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41501         [BZ #16381]
41502         * elf/Makefile (tests): Add tst-pie2.
41503         (tests-pie): Add tst-pie2.
41504         * elf/tst-pie2.c: New file.
41505         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41506         for ET_EXEC.
41507         * elf/rtld.c (map_doit): Load executable as lt_executable.
41508         (dl_main): Likewise.
41510 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41512         [BZ #16642]
41513         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41514         (__ASSUME_PSELECT): Undefine.
41516 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41518         [BZ #16689]
41519         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41520         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41521         static build.
41522         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41523         selector for static builds.
41525 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41527         [BZ #16695]
41528         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41529         key in the buffer.
41531 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41533         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41534         IFUNC selector for static builds.
41536 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41538         * sysdeps/mips/math_private.h [__mips_hard_float]
41539         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41540         libc_feresetround_mips_ctx.
41541         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41542         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41543         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41545         [BZ #16677]
41546         * math/s_nextafter.c (__nextafter): Do not return value from
41547         overflowing computation.
41548         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41549         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41550         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41551         Likewise.
41552         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41553         Likewise.
41554         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41555         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41557 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41559         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41560         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41561         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41562         the new mov targetting sp.
41564 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41566         [BZ #16683]
41567         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41568         Define it for static builds as well.
41569         (NO_BZERO_IMPL): Likewise.
41571 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41573         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41574         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41575         multiarch strspn for PPC64.
41576         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41577         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41579         (__libc_ifunc_impl_list): Likewise.
41580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41581         multiarch optimizations
41582         * string/strspn.c (strspn): Using macro to redefine symbol name.
41584 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41585             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41587         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41588         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41589         multiarch strncat for PPC64.
41590         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41591         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41593         (__libc_ifunc_impl_list): Likewise.
41594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41595         multiarch optimizations
41597 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41599         [BZ #16639]
41600         * nscd/nscd.service: Make service type forking.
41602 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41604         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41605         sign in non default rounding modes.
41606         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41608 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41610         * math/libm-test.inc (ALL_RM_TEST): New macro.
41611         (ceil_test): Use ALL_RM_TEST.
41612         (cimag_test): Likewise.
41613         (conj_test): Likewise.
41614         (copysign_test): Likewise.
41615         (cproj_test): Likewise.
41616         (creal_test): Likewise.
41617         (fabs_test): Likewise.
41618         (floor_test): Likewise.
41619         (fmax_test): Likewise.
41620         (fmin_test): Likewise.
41621         (fmod_test): Likewise.
41622         (fpclassify_test): Likewise.
41623         (frexp_test): Likewise.
41624         (ilogb_test): Likewise.
41625         (isfinite_test): Likewise.
41626         (finite_test): Likewise.
41627         (isgreater_test): Likewise.
41628         (isgreaterequal_test): Likewise.
41629         (isinf_test): Likewise.
41630         (isless_test): Likewise.
41631         (islessequal_test): Likewise.
41632         (islessgreater_test): Likewise.
41633         (isnan_test): Likewise.
41634         (isnormal_test): Likewise.
41635         (issignaling_test): Likewise.
41636         (isunordered_test): Likewise.
41637         (logb_test): Likewise.
41638         (logb_downward_test_data): Remove.
41639         (logb_test_downward): Likewise.
41640         (lround_test): Use ALL_RM_TEST.
41641         (llround_test): Likewise.
41642         (modf_test): Likewise.
41643         (nexttoward_test): Likewise.
41644         (remainder_test): Likewise.
41645         (drem_test): Likewise.
41646         (remainder_tonearest_test_data): Likewise.
41647         (remainder_test_tonearest): Likewise.
41648         (drem_test_tonearest): Likewise.
41649         (remainder_towardzero_test_data): Likewise.
41650         (remainder_test_towardzero): Likewise.
41651         (drem_test_towardzero): Likewise.
41652         (remainder_downward_test_data): Likewise.
41653         (remainder_test_downward): Likewise.
41654         (drem_test_downward): Likewise.
41655         (remainder_upward_test_data): Likewise.
41656         (remainder_test_upward): Likewise.
41657         (drem_test_upward): Likewise.
41658         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41659         (round_test): Use ALL_RM_TEST.
41660         (signbit_test): Likewise.
41661         (trunc_test): Likewise.
41662         (significand_test): Likewise.
41663         (main): Don't call removed functions.
41665 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41667         [BZ #16674]
41668         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41669         || __USE_XOPEN2K8].
41670         (ILL_ILLOPN): Likewise.
41671         (ILL_ILLADR): Likewise.
41672         (ILL_ILLTRP): Likewise.
41673         (ILL_PRVOPC): Likewise.
41674         (ILL_PRVREG): Likewise.
41675         (ILL_COPROC): Likewise.
41676         (ILL_BADSTK): Likewise.
41677         (FPE_INTDIV): Likewise.
41678         (FPE_INTOVF): Likewise.
41679         (FPE_FLTDIV): Likewise.
41680         (FPE_FLTOVF): Likewise.
41681         (FPE_FLTUND): Likewise.
41682         (FPE_FLTRES): Likewise.
41683         (FPE_FLTINV): Likewise.
41684         (FPE_FLTSUB): Likewise.
41685         (SEGV_MAPERR): Likewise.
41686         (SEGV_ACCERR): Likewise.
41687         (BUS_ADRALN): Likewise.
41688         (BUS_ADRERR): Likewise.
41689         (BUS_OBJERR): Likewise.
41690         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41691         (TRAP_TRACE): Likewise.
41692         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41693         __USE_XOPEN2K8].
41694         (CLD_KILLED): Likewise.
41695         (CLD_DUMPED): Likewise.
41696         (CLD_TRAPPED): Likewise.
41697         (CLD_STOPPED): Likewise.
41698         (CLD_CONTINUED): Likewise.
41699         (POLL_IN): Likewise.
41700         (POLL_OUT): Likewise.
41701         (POLL_MSG): Likewise.
41702         (POLL_ERR): Likewise.
41703         (POLL_PRI): Likewise.
41704         (POLL_HUP): Likewise.
41705         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41706         Likewise.
41707         (ILL_ILLOPN): Likewise.
41708         (ILL_ILLADR): Likewise.
41709         (ILL_ILLTRP): Likewise.
41710         (ILL_PRVOPC): Likewise.
41711         (ILL_PRVREG): Likewise.
41712         (ILL_COPROC): Likewise.
41713         (ILL_BADSTK): Likewise.
41714         (FPE_INTDIV): Likewise.
41715         (FPE_INTOVF): Likewise.
41716         (FPE_FLTDIV): Likewise.
41717         (FPE_FLTOVF): Likewise.
41718         (FPE_FLTUND): Likewise.
41719         (FPE_FLTRES): Likewise.
41720         (FPE_FLTINV): Likewise.
41721         (FPE_FLTSUB): Likewise.
41722         (SEGV_MAPERR): Likewise.
41723         (SEGV_ACCERR): Likewise.
41724         (BUS_ADRALN): Likewise.
41725         (BUS_ADRERR): Likewise.
41726         (BUS_OBJERR): Likewise.
41727         (BUS_MCEERR_AR): Likewise.
41728         (BUS_MCEERR_AO): Likewise.
41729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41730         (TRAP_TRACE): Likewise.
41731         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41732         __USE_XOPEN2K8].
41733         (CLD_KILLED): Likewise.
41734         (CLD_DUMPED): Likewise.
41735         (CLD_TRAPPED): Likewise.
41736         (CLD_STOPPED): Likewise.
41737         (CLD_CONTINUED): Likewise.
41738         (POLL_IN): Likewise.
41739         (POLL_OUT): Likewise.
41740         (POLL_MSG): Likewise.
41741         (POLL_ERR): Likewise.
41742         (POLL_PRI): Likewise.
41743         (POLL_HUP): Likewise.
41744         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41745         (ILL_ILLOPN): Likewise.
41746         (ILL_ILLADR): Likewise.
41747         (ILL_ILLTRP): Likewise.
41748         (ILL_PRVOPC): Likewise.
41749         (ILL_PRVREG): Likewise.
41750         (ILL_COPROC): Likewise.
41751         (ILL_BADSTK): Likewise.
41752         (FPE_INTDIV): Likewise.
41753         (FPE_INTOVF): Likewise.
41754         (FPE_FLTDIV): Likewise.
41755         (FPE_FLTOVF): Likewise.
41756         (FPE_FLTUND): Likewise.
41757         (FPE_FLTRES): Likewise.
41758         (FPE_FLTINV): Likewise.
41759         (FPE_FLTSUB): Likewise.
41760         (SEGV_MAPERR): Likewise.
41761         (SEGV_ACCERR): Likewise.
41762         (BUS_ADRALN): Likewise.
41763         (BUS_ADRERR): Likewise.
41764         (BUS_OBJERR): Likewise.
41765         (BUS_MCEERR_AR): Likewise.
41766         (BUS_MCEERR_AO): Likewise.
41767         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41768         (TRAP_TRACE): Likewise.
41769         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41770         __USE_XOPEN2K8].
41771         (CLD_KILLED): Likewise.
41772         (CLD_DUMPED): Likewise.
41773         (CLD_TRAPPED): Likewise.
41774         (CLD_STOPPED): Likewise.
41775         (CLD_CONTINUED): Likewise.
41776         (POLL_IN): Likewise.
41777         (POLL_OUT): Likewise.
41778         (POLL_MSG): Likewise.
41779         (POLL_ERR): Likewise.
41780         (POLL_PRI): Likewise.
41781         (POLL_HUP): Likewise.
41782         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41783         Likewise.
41784         (ILL_ILLOPN): Likewise.
41785         (ILL_ILLADR): Likewise.
41786         (ILL_ILLTRP): Likewise.
41787         (ILL_PRVOPC): Likewise.
41788         (ILL_PRVREG): Likewise.
41789         (ILL_COPROC): Likewise.
41790         (ILL_BADSTK): Likewise.
41791         (ILL_BADIADDR): Likewise.
41792         (ILL_BREAK): Likewise.
41793         (FPE_INTDIV): Likewise.
41794         (FPE_INTOVF): Likewise.
41795         (FPE_FLTDIV): Likewise.
41796         (FPE_FLTOVF): Likewise.
41797         (FPE_FLTUND): Likewise.
41798         (FPE_FLTRES): Likewise.
41799         (FPE_FLTINV): Likewise.
41800         (FPE_FLTSUB): Likewise.
41801         (FPE_DECOVF): Likewise.
41802         (FPE_DECDIV): Likewise.
41803         (FPE_DECERR): Likewise.
41804         (FPE_INVASC): Likewise.
41805         (FPE_INVDEC): Likewise.
41806         (SEGV_MAPERR): Likewise.
41807         (SEGV_ACCERR): Likewise.
41808         (SEGV_PSTKOVF): Likewise.
41809         (BUS_ADRALN): Likewise.
41810         (BUS_ADRERR): Likewise.
41811         (BUS_OBJERR): Likewise.
41812         (BUS_MCEERR_AR): Likewise.
41813         (BUS_MCEERR_AO): Likewise.
41814         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41815         (TRAP_TRACE): Likewise.
41816         (TRAP_BRANCH): Likewise.
41817         (TRAP_HWBKPT): Likewise.
41818         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41819         __USE_XOPEN2K8].
41820         (CLD_KILLED): Likewise.
41821         (CLD_DUMPED): Likewise.
41822         (CLD_TRAPPED): Likewise.
41823         (CLD_STOPPED): Likewise.
41824         (CLD_CONTINUED): Likewise.
41825         (POLL_IN): Likewise.
41826         (POLL_OUT): Likewise.
41827         (POLL_MSG): Likewise.
41828         (POLL_ERR): Likewise.
41829         (POLL_PRI): Likewise.
41830         (POLL_HUP): Likewise.
41831         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
41832         (ILL_ILLOPN): Likewise.
41833         (ILL_ILLADR): Likewise.
41834         (ILL_ILLTRP): Likewise.
41835         (ILL_PRVOPC): Likewise.
41836         (ILL_PRVREG): Likewise.
41837         (ILL_COPROC): Likewise.
41838         (ILL_BADSTK): Likewise.
41839         (FPE_INTDIV): Likewise.
41840         (FPE_INTOVF): Likewise.
41841         (FPE_FLTDIV): Likewise.
41842         (FPE_FLTOVF): Likewise.
41843         (FPE_FLTUND): Likewise.
41844         (FPE_FLTRES): Likewise.
41845         (FPE_FLTINV): Likewise.
41846         (FPE_FLTSUB): Likewise.
41847         (SEGV_MAPERR): Likewise.
41848         (SEGV_ACCERR): Likewise.
41849         (BUS_ADRALN): Likewise.
41850         (BUS_ADRERR): Likewise.
41851         (BUS_OBJERR): Likewise.
41852         (BUS_MCEERR_AR): Likewise.
41853         (BUS_MCEERR_AO): Likewise.
41854         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41855         (TRAP_TRACE): Likewise.
41856         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41857         __USE_XOPEN2K8].
41858         (CLD_KILLED): Likewise.
41859         (CLD_DUMPED): Likewise.
41860         (CLD_TRAPPED): Likewise.
41861         (CLD_STOPPED): Likewise.
41862         (CLD_CONTINUED): Likewise.
41863         (POLL_IN): Likewise.
41864         (POLL_OUT): Likewise.
41865         (POLL_MSG): Likewise.
41866         (POLL_ERR): Likewise.
41867         (POLL_PRI): Likewise.
41868         (POLL_HUP): Likewise.
41869         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
41870         (ILL_ILLOPN): Likewise.
41871         (ILL_ILLADR): Likewise.
41872         (ILL_ILLTRP): Likewise.
41873         (ILL_PRVOPC): Likewise.
41874         (ILL_PRVREG): Likewise.
41875         (ILL_COPROC): Likewise.
41876         (ILL_BADSTK): Likewise.
41877         (FPE_INTDIV): Likewise.
41878         (FPE_INTOVF): Likewise.
41879         (FPE_FLTDIV): Likewise.
41880         (FPE_FLTOVF): Likewise.
41881         (FPE_FLTUND): Likewise.
41882         (FPE_FLTRES): Likewise.
41883         (FPE_FLTINV): Likewise.
41884         (FPE_FLTSUB): Likewise.
41885         (SEGV_MAPERR): Likewise.
41886         (SEGV_ACCERR): Likewise.
41887         (BUS_ADRALN): Likewise.
41888         (BUS_ADRERR): Likewise.
41889         (BUS_OBJERR): Likewise.
41890         (BUS_MCEERR_AR): Likewise.
41891         (BUS_MCEERR_AO): Likewise.
41892         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41893         (TRAP_TRACE): Likewise.
41894         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41895         __USE_XOPEN2K8].
41896         (CLD_KILLED): Likewise.
41897         (CLD_DUMPED): Likewise.
41898         (CLD_TRAPPED): Likewise.
41899         (CLD_STOPPED): Likewise.
41900         (CLD_CONTINUED): Likewise.
41901         (POLL_IN): Likewise.
41902         (POLL_OUT): Likewise.
41903         (POLL_MSG): Likewise.
41904         (POLL_ERR): Likewise.
41905         (POLL_PRI): Likewise.
41906         (POLL_HUP): Likewise.
41907         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
41908         (ILL_ILLOPN): Likewise.
41909         (ILL_ILLADR): Likewise.
41910         (ILL_ILLTRP): Likewise.
41911         (ILL_PRVOPC): Likewise.
41912         (ILL_PRVREG): Likewise.
41913         (ILL_COPROC): Likewise.
41914         (ILL_BADSTK): Likewise.
41915         (FPE_INTDIV): Likewise.
41916         (FPE_INTOVF): Likewise.
41917         (FPE_FLTDIV): Likewise.
41918         (FPE_FLTOVF): Likewise.
41919         (FPE_FLTUND): Likewise.
41920         (FPE_FLTRES): Likewise.
41921         (FPE_FLTINV): Likewise.
41922         (FPE_FLTSUB): Likewise.
41923         (SEGV_MAPERR): Likewise.
41924         (SEGV_ACCERR): Likewise.
41925         (BUS_ADRALN): Likewise.
41926         (BUS_ADRERR): Likewise.
41927         (BUS_OBJERR): Likewise.
41928         (BUS_MCEERR_AR): Likewise.
41929         (BUS_MCEERR_AO): Likewise.
41930         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41931         (TRAP_TRACE): Likewise.
41932         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41933         __USE_XOPEN2K8].
41934         (CLD_KILLED): Likewise.
41935         (CLD_DUMPED): Likewise.
41936         (CLD_TRAPPED): Likewise.
41937         (CLD_STOPPED): Likewise.
41938         (CLD_CONTINUED): Likewise.
41939         (POLL_IN): Likewise.
41940         (POLL_OUT): Likewise.
41941         (POLL_MSG): Likewise.
41942         (POLL_ERR): Likewise.
41943         (POLL_PRI): Likewise.
41944         (POLL_HUP): Likewise.
41945         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
41946         (ILL_ILLOPN): Likewise.
41947         (ILL_ILLADR): Likewise.
41948         (ILL_ILLTRP): Likewise.
41949         (ILL_PRVOPC): Likewise.
41950         (ILL_PRVREG): Likewise.
41951         (ILL_COPROC): Likewise.
41952         (ILL_BADSTK): Likewise.
41953         (ILL_DBLFLT): Likewise.
41954         (ILL_HARDWALL): Likewise.
41955         (FPE_INTDIV): Likewise.
41956         (FPE_INTOVF): Likewise.
41957         (FPE_FLTDIV): Likewise.
41958         (FPE_FLTOVF): Likewise.
41959         (FPE_FLTUND): Likewise.
41960         (FPE_FLTRES): Likewise.
41961         (FPE_FLTINV): Likewise.
41962         (FPE_FLTSUB): Likewise.
41963         (SEGV_MAPERR): Likewise.
41964         (SEGV_ACCERR): Likewise.
41965         (BUS_ADRALN): Likewise.
41966         (BUS_ADRERR): Likewise.
41967         (BUS_OBJERR): Likewise.
41968         (BUS_MCEERR_AR): Likewise.
41969         (BUS_MCEERR_AO): Likewise.
41970         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41971         (TRAP_TRACE): Likewise.
41972         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41973         __USE_XOPEN2K8].
41974         (CLD_KILLED): Likewise.
41975         (CLD_DUMPED): Likewise.
41976         (CLD_TRAPPED): Likewise.
41977         (CLD_STOPPED): Likewise.
41978         (CLD_CONTINUED): Likewise.
41979         (POLL_IN): Likewise.
41980         (POLL_OUT): Likewise.
41981         (POLL_MSG): Likewise.
41982         (POLL_ERR): Likewise.
41983         (POLL_PRI): Likewise.
41984         (POLL_HUP): Likewise.
41985         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41986         (ILL_ILLOPN): Likewise.
41987         (ILL_ILLADR): Likewise.
41988         (ILL_ILLTRP): Likewise.
41989         (ILL_PRVOPC): Likewise.
41990         (ILL_PRVREG): Likewise.
41991         (ILL_COPROC): Likewise.
41992         (ILL_BADSTK): Likewise.
41993         (FPE_INTDIV): Likewise.
41994         (FPE_INTOVF): Likewise.
41995         (FPE_FLTDIV): Likewise.
41996         (FPE_FLTOVF): Likewise.
41997         (FPE_FLTUND): Likewise.
41998         (FPE_FLTRES): Likewise.
41999         (FPE_FLTINV): Likewise.
42000         (FPE_FLTSUB): Likewise.
42001         (SEGV_MAPERR): Likewise.
42002         (SEGV_ACCERR): Likewise.
42003         (BUS_ADRALN): Likewise.
42004         (BUS_ADRERR): Likewise.
42005         (BUS_OBJERR): Likewise.
42006         (BUS_MCEERR_AR): Likewise.
42007         (BUS_MCEERR_AO): Likewise.
42008         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42009         (TRAP_TRACE): Likewise.
42010         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42011         __USE_XOPEN2K8].
42012         (CLD_KILLED): Likewise.
42013         (CLD_DUMPED): Likewise.
42014         (CLD_TRAPPED): Likewise.
42015         (CLD_STOPPED): Likewise.
42016         (CLD_CONTINUED): Likewise.
42017         (POLL_IN): Likewise.
42018         (POLL_OUT): Likewise.
42019         (POLL_MSG): Likewise.
42020         (POLL_ERR): Likewise.
42021         (POLL_PRI): Likewise.
42022         (POLL_HUP): Likewise.
42023         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42024         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42026         [BZ #16670]
42027         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42028         before #include of <time.h>.
42029         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42030         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42031         (test-xfail-UNIX98/sched.h/conform): Likewise.
42033 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42035         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42036         error absence of trapping exception support.
42037         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42039 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42041         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42042         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42043         * timezone/Makefile (testdata): Move definition above include of
42044         Rules.
42045         (test-zones): New variable.
42046         (tests-special): Add zone files.
42047         (build-testdata): Use $(evaluate-test).
42049         * elf/Makefile (tests-special): Rename tests to end with .out.
42050         ($(objpfx)noload-mem): Likewise.
42051         ($(objpfx)tst-leaks1-mem): Likewise.
42052         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42053         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42054         $(objpfx)test-iconvconfig.out.
42055         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42056         set -e inside subshell and redirect output to file.
42057         * iconvdata/Makefile (generated): Rename tests to end with .out.
42058         Correct type.
42059         (tests-special): Rename tests to end with .out.
42060         ($(objpfx)mtrace-tst-loading): Likewise.
42061         * intl/Makefile (generated): Likewise.
42062         (tests-special): Likewise.
42063         ($(objpfx)mtrace-tst-gettext): Likewise.
42064         * misc/Makefile (generated): Likewise.
42065         (tests-special): Likewise.
42066         ($(objpfx)tst-error1-mem): Likewise.
42067         * nptl/Makefile (tests-special): Likewise.
42068         ($(objpfx)tst-stack3-mem): Likewise.
42069         (generated): Likewise.
42070         * posix/Makefile (generated): Likewise.
42071         (tests-special): Likewise.
42072         (xtests-special): Likewise.
42073         ($(objpfx)tst-fnmatch-mem): Likewise.
42074         ($(objpfx)bug-regex2-mem): Likewise.
42075         ($(objpfx)bug-regex14-mem): Likewise.
42076         ($(objpfx)bug-regex21-mem): Likewise.
42077         ($(objpfx)bug-regex31-mem): Likewise.
42078         ($(objpfx)tst-vfork3-mem): Likewise.
42079         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42080         ($(objpfx)tst-pcre-mem): Likewise.
42081         ($(objpfx)tst-boost-mem): Likewise.
42082         ($(objpfx)bug-ga2-mem): Likewise.
42083         ($(objpfx)bug-glob2-mem): Likewise.
42084         * resolv/Makefile (generate): Likewise.
42085         (tests-special): Likewise.
42086         (xtests-special): Likewise.
42087         (generated): Likewise.
42088         ($(objpfx)mtrace-tst-leaks): Likewise.
42089         ($(objpfx)mtrace-tst-leaks2): Likewise.
42091         * scripts/merge-test-results.sh: New file.
42092         * Makefile (tests-special-notdir): New variable.
42093         (tests): Run merge-test-results.sh.
42094         (xtests): Likewise.
42095         * Rules (tests-special-notdir): New variable.
42096         (xtests-special-notdir): Likewise.
42097         (tests): Run merge-test-results.sh
42098         (xtests): Likewise.
42100         * Makeconfig (test-xfail-name): New variable.
42101         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42102         compute variable name for expected failures.
42103         * conform/Makefile (conformtest-headers-data): New variable.
42104         (conformtest-standards): Likewise.
42105         (conformtest-headers-ISO): Likewise.
42106         (conformtest-headers-ISO99): Likewise.
42107         (conformtest-headers-ISO11): Likewise.
42108         (conformtest-headers-POSIX): Likewise.
42109         (conformtest-headers-XPG3): Likewise.
42110         (conformtest-headers-XPG4): Likewise.
42111         (conformtest-headers-UNIX98): Likewise.
42112         (conformtest-headers-XOPEN2K): Likewise.
42113         (conformtest-headers-POSIX2008): Likewise.
42114         (conformtest-headers-XOPEN2K8): Likewise.
42115         (conformtest-header-list-base): Likewise.
42116         (conformtest-header-list-tests): Likewise.
42117         (conformtest-header-base): Likewise.
42118         (conformtest-header-tests): Likewise.
42119         (tests-special): Add $(conformtest-header-list-tests).  If
42120         [$(fast-check) && !$(cross-compiling)], add
42121         $(conformtest-header-tests) instead of
42122         $(objpfx)run-conformtest.out.
42123         (generated): Add $(conformtest-header-list-base).  If
42124         [$(fast-check) && !$(cross-compiling)], add
42125         $(conformtest-header-base).  Remove previous setting.
42126         ($(conformtest-header-list-tests)): New target.
42127         (test-xfail-run-conformtest): Remove variable.
42128         ($(objpfx)run-conformtest.out): Remove target.
42129         (test-xfail-ISO11/complex.h/conform): New variable.
42130         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42131         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42132         (test-xfail-XPG3/varargs.h/conform): Likewise.
42133         (test-xfail-XPG4/varargs.h/conform): Likewise.
42134         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42135         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42136         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42137         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42138         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42139         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42140         (test-xfail-XPG3/ftw.h/conform): Likewise.
42141         (test-xfail-XPG3/grp.h/conform): Likewise.
42142         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42143         (test-xfail-XPG3/limits.h/conform): Likewise.
42144         (test-xfail-XPG3/pwd.h/conform): Likewise.
42145         (test-xfail-XPG3/search.h/conform): Likewise.
42146         (test-xfail-XPG3/signal.h/conform): Likewise.
42147         (test-xfail-XPG3/stdio.h/conform): Likewise.
42148         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42149         (test-xfail-XPG3/string.h/conform): Likewise.
42150         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42151         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42152         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42153         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42154         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42155         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42156         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42157         (test-xfail-XPG3/termios.h/conform): Likewise.
42158         (test-xfail-XPG3/time.h/conform): Likewise.
42159         (test-xfail-XPG3/unistd.h/conform): Likewise.
42160         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42161         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42162         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42163         (test-xfail-XPG4/netdb.h/conform): Likewise.
42164         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42165         (test-xfail-XPG4/signal.h/conform): Likewise.
42166         (test-xfail-XPG4/stdio.h/conform): Likewise.
42167         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42168         (test-xfail-XPG4/stropts.h/conform): Likewise.
42169         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42170         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42171         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42172         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42173         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42174         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42175         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42176         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42177         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42178         (test-xfail-XPG4/termios.h/conform): Likewise.
42179         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42180         (test-xfail-XPG4/unistd.h/conform): Likewise.
42181         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42182         (test-xfail-POSIX/sched.h/conform): Likewise.
42183         (test-xfail-POSIX/signal.h/conform): Likewise.
42184         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42185         (test-xfail-POSIX/tar.h/conform): Likewise.
42186         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42187         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42188         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42189         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42190         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42191         (test-xfail-UNIX98/sched.h/conform): Likewise.
42192         (test-xfail-UNIX98/signal.h/conform): Likewise.
42193         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42194         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42195         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42196         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42197         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42198         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42199         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42200         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42201         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42202         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42203         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42204         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42205         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42206         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42207         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42208         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42209         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42210         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42211         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42212         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42213         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42214         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42215         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42216         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42217         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42218         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42219         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42220         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42221         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42222         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42223         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42224         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42225         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42226         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42227         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42228         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42229         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42230         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42231         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42232         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42233         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42234         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42235         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42236         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42237         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42238         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42239         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42240         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42241         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42242         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42243         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42244         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42245         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42246         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42247         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42248         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42249         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42250         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42251         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42252         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42253         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42254         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42255         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42256         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42257         (conformtest-cc-flags): Likewise.
42258         ($(conformtest-header-tests): New target.
42259         * conform/check-header-lists.sh: New file.
42260         * conform/run-conformtest.sh: Remove.
42262         * conform/conformtest.pl: Allow ' and \ in values given for
42263         constants.
42264         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42265         inclusion.
42266         [POSIX] (sys/types.h): Likewise.
42267         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42268         inclusion.
42269         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42270         inclusion.
42271         * conform/data/signal.h-data (SIGIO): Remove expectation.
42272         [XPG3] (SIGBUS): Do not expect.
42273         [POSIX || XPG3] (SIGPOLL): Likewise.
42274         [POSIX || XPG3] (SIGPROF): Likewise.
42275         [POSIX || XPG3] (SIGSYS): Likewise.
42276         [XPG3] (SIGTRAP): Likewise.
42277         [POSIX || XPG3] (SIGURG): Likewise.
42278         [POSIX || XPG3] (SIGVTALRM): Likewise.
42279         [POSIX || XPG3] (SIGXCPU): Likewise.
42280         [POSIX || XPG3] (SIGXFSZ): Likewise.
42281         [POSIX] (SA_SIGINFO): Expect.
42282         [XPG3] (siginfo_t): Do not expect type or contents.
42283         [POSIX] (si_pid): Do not expect element.
42284         [POSIX] (si_uid): Likewise.
42285         [POSIX] (si_addr): Likewise.
42286         [POSIX] (si_status): Likewise.
42287         [POSIX] (si_band): Likewise.
42288         [XPG4] (si_value): Likewise.
42289         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42290         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42291         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42292         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42293         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42294         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42295         [POSIX || XPG3] (ILL_COPROC): Likewise.
42296         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42297         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42298         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42299         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42300         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42301         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42302         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42303         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42304         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42305         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42306         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42307         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42308         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42309         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42310         [POSIX || XPG3] (CLD_EXITED): Likewise.
42311         [POSIX || XPG3] (CLD_KILLED): Likewise.
42312         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42313         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42314         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42315         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42316         [POSIX || XPG3] (POLL_IN): Likewise.
42317         [POSIX || XPG3] (POLL_OUT): Likewise.
42318         [POSIX || XPG3] (POLL_MSG): Likewise.
42319         [POSIX || XPG3] (POLL_ERR): Likewise.
42320         [POSIX || XPG3] (POLL_PRI): Likewise.
42321         [POSIX || XPG3] (POLL_HUP): Likewise.
42322         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42323         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42324         (SIG*): Do not allow.
42325         [XPG3] (si_*): Likewise.
42326         [XPG3] (SI_*): Likewise.
42327         [XPG3 || XPG4] (sigev_*): Likewise.
42328         [XPG3 || XPG4] (SIGEV_*): Likewise.
42329         [XPG3 || XPG4] (sival_*): Likewise.
42330         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42331         [POSIX || XPG3] (BUS_*): Likewise.
42332         [POSIX || XPG3] (CLD_*): Likewise.
42333         [POSIX || XPG3] (FPE_*): Likewise.
42334         [POSIX || XPG3] (ILL_*): Likewise.
42335         [POSIX || XPG3] (POLL_*): Likewise.
42336         [POSIX || XPG3] (SEGV_*): Likewise.
42337         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42338         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42339         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42340         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42341         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42342         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42343         Specify type and value.
42344         (TVERSLEN): Likewise.
42345         (REGTYPE): Likewise.
42346         (AREGTYPE): Likewise.
42347         (LNKTYPE): Likewise.
42348         (SYMTYPE): Likewise.
42349         (CHRTYPE): Likewise.
42350         (BLKTYPE): Likewise.
42351         (DIRTYPE): Likewise.
42352         (FIFOTYPE): Likewise.
42353         (CONTTYPE): Likewise.
42354         (TSUID): Likewise.
42355         (TSGID): Likewise.
42356         (TSVTX): Likewise.
42357         (TUREAD): Likewise.
42358         (TUWRITE): Likewise.
42359         (TUEXEC): Likewise.
42360         (TGREAD): Likewise.
42361         (TGWRITE): Likewise.
42362         (TGEXEC): Likewise.
42363         (TOREAD): Likewise.
42364         (TOWRITE): Likewise.
42365         (TOEXEC): Likewise.
42366         [POSIX] (TSVTX): Expect constant.
42368 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42370         * Makefile (tests): Change dependencies to ....
42371         (tests-special): ... additions to this variable.
42372         (tests): Depend on $(tests-special).
42373         * Makerules (check-abi-list): New variable.
42374         (check-abi): Depend on $(check-abi-list).
42375         [$(subdir) = elf] (tests-special): Add
42376         $(objpfx)check-abi-libc.out.
42377         [$(build-shared) = yes && subdir] (tests-special): Add
42378         $(check-abi-list).
42379         [$(build-shared) = yes && subdir] (tests): Do not depend on
42380         check-abi.
42381         * Rules (tests): Depend on $(tests-special).
42382         (xtests): Depend on $(xtests-special).
42383         * catgets/Makefile (tests): Change dependencies to ....
42384         (tests-special): ... additions to this variable.
42385         * conform/Makefile (tests): Change dependencies to ....
42386         (tests-special): ... additions to this variable.
42387         * elf/Makefile (tests): Change dependencies to ....
42388         (tests-special): ... additions to this variable.
42389         * grp/Makefile (tests): Change dependencies to ....
42390         (tests-special): ... additions to this variable.
42391         * iconv/Makefile (xtests): Change dependencies to ....
42392         (xtests-special): ... additions to this variable.
42393         * iconvdata/Makefile (tests): Change dependencies to ....
42394         (tests-special): ... additions to this variable.
42395         * intl/Makefile (tests): Change dependencies to ....
42396         (tests-special): ... additions to this variable.  Also add
42397         $(objpfx)tst-gettext.out.
42398         * io/Makefile (tests): Change dependencies to ....
42399         (tests-special): ... additions to this variable.
42400         * libio/Makefile (tests): Change dependencies to ....
42401         (tests-special): ... additions to this variable.
42402         * malloc/Makefile (tests): Change dependencies to ....
42403         (tests-special): ... additions to this variable.
42404         * misc/Makefile (tests): Change dependencies to ....
42405         (tests-special): ... additions to this variable.
42406         * nptl/Makefile (tests): Change dependencies to ....
42407         (tests-special): ... additions to this variable.
42408         * nptl_db/Makefile (tests): Change dependencies to ....
42409         (tests-special): ... additions to this variable.
42410         * posix/Makefile (tests): Change dependencies to ....
42411         (tests-special): ... additions to this variable.
42412         (xtests): Change dependencies to ....
42413         (xtests-special): ... additions to this variable.
42414         * resolv/Makefile (tests): Change dependencies to ....
42415         (tests-special): ... additions to this variable.
42416         (xtests): Change dependencies to ....
42417         (xtests-special): ... additions to this variable.
42418         * stdio-common/Makefile (tests): Change dependencies to ....
42419         (tests-special): ... additions to this variable.
42420         (do-tst-unbputc): Remove target.
42421         (do-tst-printf): Likewise.
42422         * stdlib/Makefile (tests): Change dependencies to ....
42423         (tests-special): ... additions to this variable.
42424         * string/Makefile (tests): Change dependencies to ....
42425         (tests-special): ... additions to this variable.
42426         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42427         (tests-special): ... additions to this variable.
42429         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42430         whole file.
42431         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42432         whole file.
42433         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42434         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42436         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42437         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42438         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42439         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42440         * conform/data/libgen.h-data [XPG3]: Likewise.
42441         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42442         * conform/data/ndbm.h-data [XPG3]: Likewise.
42443         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42444         * conform/data/netdb.h-data [XPG3]: Likewise.
42445         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42446         * conform/data/poll.h-data [XPG3]: Likewise.
42447         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42448         * conform/data/strings.h-data [XPG3]: Likewise.
42449         * conform/data/stropts.h-data [XPG3]: Likewise.
42450         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42451         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42452         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42453         Likewise.
42454         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42455         * conform/data/sys/time.h-data [XPG3]: Likewise.
42456         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42457         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42458         * conform/data/sys/un.h-data [XPG3]: Likewise.
42459         * conform/data/syslog.h-data [XPG3]: Likewise.
42460         * conform/data/ucontext.h-data [XPG3]: Likewise.
42461         * conform/data/utmpx.h-data [XPG3]: Likewise.
42462         * conform/data/varargs.h-data [UNIX98]: Enable file.
42464         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42466         * math/libm-test.inc (struct test_f_f_data): Move expected results
42467         into structure for each rounding mode.
42468         (struct test_ff_f_data): Likewise.
42469         (struct test_ff_f_data_nexttoward): Likewise.
42470         (struct test_fi_f_data): Likewise.
42471         (struct test_fl_f_data): Likewise.
42472         (struct test_if_f_data): Likewise.
42473         (struct test_fff_f_data): Likewise.
42474         (struct test_c_f_data): Likewise.
42475         (struct test_f_f1_data): Likewise.
42476         (struct test_fF_f1_data): Likewise.
42477         (struct test_ffI_f1_data): Likewise.
42478         (struct test_c_c_data): Likewise.
42479         (struct test_cc_c_data): Likewise.
42480         (struct test_f_i_data): Likewise.
42481         (struct test_ff_i_data): Likewise.
42482         (struct test_f_l_data): Likewise.
42483         (struct test_f_L_data): Likewise.
42484         (struct test_fFF_11_data): Likewise.
42485         (RM_): New macro.
42486         (RM_FE_DOWNWARD): Likewise.
42487         (RM_FE_TONEAREST): Likewise.
42488         (RM_FE_TOWARDZERO): Likewise.
42489         (RM_FE_UPWARD): Likewise.
42490         (RUN_TEST_LOOP_f_f): Update references to expected results.
42491         (RUN_TEST_LOOP_2_f): Likewise.
42492         (RUN_TEST_LOOP_fff_f): Likewise.
42493         (RUN_TEST_LOOP_c_f): Likewise.
42494         (RUN_TEST_LOOP_f_f1): Likewise.
42495         (RUN_TEST_LOOP_fF_f1): Likewise.
42496         (RUN_TEST_LOOP_fI_f1): Likewise.
42497         (RUN_TEST_LOOP_ffI_f1): Likewise.
42498         (RUN_TEST_LOOP_c_c): Likewise.
42499         (RUN_TEST_LOOP_cc_c): Likewise.
42500         (RUN_TEST_LOOP_f_i): Likewise.
42501         (RUN_TEST_LOOP_f_i_tg): Likewise.
42502         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42503         (RUN_TEST_LOOP_f_b): Likewise.
42504         (RUN_TEST_LOOP_f_b_tg): Likewise.
42505         (RUN_TEST_LOOP_f_l): Likewise.
42506         (RUN_TEST_LOOP_f_L): Likewise.
42507         (RUN_TEST_LOOP_fFF_11): Likewise.
42508         * math/gen-libm-test.pl (parse_args): Output four copies of
42509         expected results for each test.
42511         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42512         (__ASSUME_UTIMES): Remove.
42513         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42514         (__ASSUME_UTIMES): Likewise.
42516         * math/gen-auto-libm-tests.c: Update comment on output format.
42517         (output_for_one_input_case): Generate before-rounding and
42518         after-rounding information as conditions on output flags not
42519         floating-point format.
42520         * math/auto-libm-test-out: Regenerated.
42521         * math/gen-libm-test.pl (cond_value): New function.
42522         (or_cond_value): Use cond_value.
42523         (generate_testfile): Handle conditional exceptions.
42525 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42527         * math/libm-test.inc (max_valid_error): New variable.
42528         (init_max_error): Take new argument specifying whether function
42529         results are exactly determined.  Set max_valid_error and bound
42530         other variables for errors based on this argument.
42531         (set_max_error): Do not record results above max_valid_error.
42532         (check_float_internal): Only accept errors of up to 0.5ulps if
42533         also at most max_valid_error.
42534         (START): Take new argument EXACT and pass it to init_max_error.
42535         (acos_test): Update call to START.
42536         (acos_test_tonearest): Likewise.
42537         (acos_test_towardzero): Likewise.
42538         (acos_test_downward): Likewise.
42539         (acos_test_upward): Likewise.
42540         (acosh_test): Likewise.
42541         (asin_test): Likewise.
42542         (asin_test_tonearest): Likewise.
42543         (asin_test_towardzero): Likewise.
42544         (asin_test_downward): Likewise.
42545         (asin_test_upward): Likewise.
42546         (asinh_test): Likewise.
42547         (atan_test): Likewise.
42548         (atanh_test): Likewise.
42549         (atan2_test): Likewise.
42550         (cabs_test): Likewise.
42551         (cacos_test): Likewise.
42552         (cacosh_test): Likewise.
42553         (carg_test): Likewise.
42554         (casin_test): Likewise.
42555         (casinh_test): Likewise.
42556         (catan_test): Likewise.
42557         (catanh_test): Likewise.
42558         (cbrt_test): Likewise.
42559         (ccos_test): Likewise.
42560         (ccosh_test): Likewise.
42561         (ceil_test): Likewise.
42562         (cexp_test): Likewise.
42563         (cimag_test): Likewise.
42564         (clog_test): Likewise.
42565         (clog10_test): Likewise.
42566         (conj_test): Likewise.
42567         (copysign_test): Likewise.
42568         (cos_test): Likewise.
42569         (cos_test_tonearest): Likewise.
42570         (cos_test_towardzero): Likewise.
42571         (cos_test_downward): Likewise.
42572         (cos_test_upward): Likewise.
42573         (cosh_test): Likewise.
42574         (cosh_test_tonearest): Likewise.
42575         (cosh_test_towardzero): Likewise.
42576         (cosh_test_downward): Likewise.
42577         (cosh_test_upward): Likewise.
42578         (cpow_test): Likewise.
42579         (cproj_test): Likewise.
42580         (creal_test): Likewise.
42581         (csin_test): Likewise.
42582         (csinh_test): Likewise.
42583         (csqrt_test): Likewise.
42584         (ctan_test): Likewise.
42585         (ctan_test_tonearest): Likewise.
42586         (ctan_test_towardzero): Likewise.
42587         (ctan_test_downward): Likewise.
42588         (ctan_test_upward): Likewise.
42589         (ctanh_test): Likewise.
42590         (ctanh_test_tonearest): Likewise.
42591         (ctanh_test_towardzero): Likewise.
42592         (ctanh_test_downward): Likewise.
42593         (ctanh_test_upward): Likewise.
42594         (erf_test): Likewise.
42595         (erfc_test): Likewise.
42596         (exp_test): Likewise.
42597         (exp_test_tonearest): Likewise.
42598         (exp_test_towardzero): Likewise.
42599         (exp_test_downward): Likewise.
42600         (exp_test_upward): Likewise.
42601         (exp10_test): Likewise.
42602         (exp10_test_tonearest): Likewise.
42603         (exp10_test_towardzero): Likewise.
42604         (exp10_test_downward): Likewise.
42605         (exp10_test_upward): Likewise.
42606         (pow10_test): Likewise.
42607         (exp2_test): Likewise.
42608         (expm1_test): Likewise.
42609         (expm1_test_tonearest): Likewise.
42610         (expm1_test_towardzero): Likewise.
42611         (expm1_test_downward): Likewise.
42612         (expm1_test_upward): Likewise.
42613         (fabs_test): Likewise.
42614         (fdim_test): Likewise.
42615         (floor_test): Likewise.
42616         (fma_test): Likewise.
42617         (fma_test_towardzero): Likewise.
42618         (fma_test_downward): Likewise.
42619         (fma_test_upward): Likewise.
42620         (fmax_test): Likewise.
42621         (fmin_test): Likewise.
42622         (fmod_test): Likewise.
42623         (fpclassify_test): Likewise.
42624         (frexp_test): Likewise.
42625         (hypot_test): Likewise.
42626         (ilogb_test): Likewise.
42627         (isfinite_test): Likewise.
42628         (finite_test): Likewise.
42629         (isgreater_test): Likewise.
42630         (isgreaterequal_test): Likewise.
42631         (isinf_test): Likewise.
42632         (isless_test): Likewise.
42633         (islessequal_test): Likewise.
42634         (islessgreater_test): Likewise.
42635         (isnan_test): Likewise.
42636         (isnormal_test): Likewise.
42637         (issignaling_test): Likewise.
42638         (isunordered_test): Likewise.
42639         (j0_test): Likewise.
42640         (j1_test): Likewise.
42641         (jn_test): Likewise.
42642         (ldexp_test): Likewise.
42643         (lgamma_test): Likewise.
42644         (gamma_test): Likewise.
42645         (lrint_test): Likewise.
42646         (lrint_test_tonearest): Likewise.
42647         (lrint_test_towardzero): Likewise.
42648         (lrint_test_downward): Likewise.
42649         (lrint_test_upward): Likewise.
42650         (llrint_test): Likewise.
42651         (llrint_test_tonearest): Likewise.
42652         (llrint_test_towardzero): Likewise.
42653         (llrint_test_downward): Likewise.
42654         (llrint_test_upward): Likewise.
42655         (log_test): Likewise.
42656         (log10_test): Likewise.
42657         (log1p_test): Likewise.
42658         (log2_test): Likewise.
42659         (logb_test): Likewise.
42660         (logb_test_downward): Likewise.
42661         (lround_test): Likewise.
42662         (llround_test): Likewise.
42663         (modf_test): Likewise.
42664         (nearbyint_test): Likewise.
42665         (nextafter_test): Likewise.
42666         (nexttoward_test): Likewise.
42667         (pow_test): Likewise.
42668         (pow_test_tonearest): Likewise.
42669         (pow_test_towardzero): Likewise.
42670         (pow_test_downward): Likewise.
42671         (pow_test_upward): Likewise.
42672         (remainder_test): Likewise.
42673         (drem_test): Likewise.
42674         (remainder_test_tonearest): Likewise.
42675         (drem_test_tonearest): Likewise.
42676         (remainder_test_towardzero): Likewise.
42677         (drem_test_towardzero): Likewise.
42678         (remainder_test_downward): Likewise.
42679         (drem_test_downward): Likewise.
42680         (remainder_test_upward): Likewise.
42681         (drem_test_upward): Likewise.
42682         (remquo_test): Likewise.
42683         (rint_test): Likewise.
42684         (rint_test_tonearest): Likewise.
42685         (rint_test_towardzero): Likewise.
42686         (rint_test_downward): Likewise.
42687         (rint_test_upward): Likewise.
42688         (round_test): Likewise.
42689         (scalb_test): Likewise.
42690         (scalbn_test): Likewise.
42691         (scalbln_test): Likewise.
42692         (signbit_test): Likewise.
42693         (sin_test): Likewise.
42694         (sin_test_tonearest): Likewise.
42695         (sin_test_towardzero): Likewise.
42696         (sin_test_downward): Likewise.
42697         (sin_test_upward): Likewise.
42698         (sincos_test): Likewise.
42699         (sinh_test): Likewise.
42700         (sinh_test_tonearest): Likewise.
42701         (sinh_test_towardzero): Likewise.
42702         (sinh_test_downward): Likewise.
42703         (sinh_test_upward): Likewise.
42704         (sqrt_test): Likewise.
42705         (sqrt_test_tonearest): Likewise.
42706         (sqrt_test_towardzero): Likewise.
42707         (sqrt_test_downward): Likewise.
42708         (sqrt_test_upward): Likewise.
42709         (tan_test): Likewise.
42710         (tan_test_tonearest): Likewise.
42711         (tan_test_towardzero): Likewise.
42712         (tan_test_downward): Likewise.
42713         (tan_test_upward): Likewise.
42714         (tanh_test): Likewise.
42715         (tgamma_test): Likewise.
42716         (trunc_test): Likewise.
42717         (y0_test): Likewise.
42718         (y1_test): Likewise.
42719         (yn_test): Likewise.
42720         (significand_test): Likewise.
42722         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42723         individual tests in comment.
42724         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42725         (prev_max_error): New variable.
42726         (prev_real_max_error): Likewise.
42727         (prev_imag_max_error): Likewise.
42728         (compare_ulp_data): Don't refer to test names in comment.
42729         (find_test_ulps): Remove function.
42730         (find_function_ulps): Likewise.
42731         (find_complex_function_ulps): Likewise.
42732         (init_max_error): Take function name as argument.  Look up ulps
42733         for that function.
42734         (print_ulps): Remove function.
42735         (print_max_error): Use prev_max_error instead of calling
42736         find_function_ulps.
42737         (print_complex_max_error): Use prev_real_max_error and
42738         prev_imag_max_error instead of calling find_complex_function_ulps.
42739         (check_float_internal): Take max_ulp parameter instead of calling
42740         find_test_ulps.  Don't call print_ulps.
42741         (check_float): Update call to check_float_internal.
42742         (check_complex): Update calls to check_float_internal.
42743         (START): Pass argument to init_max_error.
42744         * math/gen-libm-test.pl (%results): Don't include "kind"
42745         information.
42746         (parse_ulps): Don't handle ulps of individual tests.
42747         (print_ulps_file): Likewise.
42748         (output_ulps): Likewise.
42749         * math/README.libm-test: Update.
42750         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42751         individual tests.
42752         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42753         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42754         * sysdeps/arm/libm-test-ulps: Likewise.
42755         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42756         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42757         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42758         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42759         * sysdeps/microblaze/libm-test-ulps: Likewise.
42760         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42761         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42762         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42763         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42764         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42765         * sysdeps/sh/libm-test-ulps: Likewise.
42766         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42767         * sysdeps/tile/libm-test-ulps: Likewise.
42768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42770 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42772         * math/libm-test.inc (print_complex_max_error): Check separately
42773         whether real and imaginary errors are within allowed range and
42774         pass 0 to print_complex_function_ulps instead of value within
42775         allowed range.
42777 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42779         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42780         formatting.
42781         (get_handles_fopen): Likewise.
42782         (do_write_test): Likewise.
42784         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42786         * libio/fileops.c (do_ftell): Use cached offset when
42787         available.
42788         * libio/iofwide.c (do_ftell_wide): Likewise.
42789         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42790         _IO_file_attach.
42791         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42793         [BZ #16532]
42794         * libio/libioP.h (get_file_offset): New function.
42795         * libio/fileops.c (get_file_offset): Likewise.
42796         (do_ftell): Likewise.
42797         (_IO_new_file_seekoff): Split out ftell logic.
42798         * libio/wfileops.c (do_ftell_wide): Likewise.
42799         (_IO_wfile_seekoff): Split out ftell logic.
42800         * libio/tst-ftell-active-handler.c: New test case.
42801         * libio/Makefile (tests): Add it.
42803 2014-03-03  Roland McGrath  <roland@hack.frob.com>
42805         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
42806         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
42808 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42810         [BZ #16639]
42811         * nscd/connections.c (nscd_init): Call do_exit.
42812         (start_threads): Call do_exit and notify_parent.
42813         (begin_drop_privileges): Call do_exit.
42814         (finish_drop_privileges): Likewise.
42815         * nscd/selinux.c (preserve_capabilities): Likewise.
42816         (install_real_capabilities): Likewise.
42817         (nscd_selinux_enabled): Likewise.
42818         (avc_create_thread): Likewise.
42819         (avc_alloc_lock): Likewise.
42820         (nscd_avc_init): Likewise.
42821         * nscd/nscd.c (parent_fd): New static variable.
42822         (main): Create a pipe between parent and child processes.
42823         Skip closing parent_fd.
42824         (monitor_child): New function.
42825         (do_exit): Likewise.
42826         (notify_parent): Likewise.
42827         * nscd/nscd.h (notify_parent): Likewise.
42828         (do_exit): Likewise.
42830 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
42832         * malloc/malloc.c (__libc_calloc): Revert last change.
42834 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42838 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42840         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
42841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
42842         implementation.
42843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42844         (__libc_ifunc_impl_list): Likewise.
42845         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
42846         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
42847         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
42848         * string/strrchr.c: Define STRRCHR.
42850 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
42852         * benchtest/bench-strtok.c (simple_strtok): Delete.
42853         (strtok_string): Use as benchmark.
42854         * string/strtok (STRTOK): New macro.
42856 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
42858         * manual/threads.texi: Add header and standard comments to all
42859         functions.
42861         * elf/dl-lookup.c (check_match): New function.
42862         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
42863         (do_lookup_x): Remove nested function check_match. Use non-nested
42864         function check_match.
42866 2014-02-28  Roland McGrath  <roland@hack.frob.com>
42868         * csu/Makefile (generated, before-compile): Use += rather than =.
42869         * catgets/Makefile (generated, generated-dirs): Likewise.
42870         * debug/Makefile (generated): Likewise.
42871         * dlfcn/Makefile (generated): Likewise.
42872         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
42873         * iconvdata/Makefile (before-compile, generated): Likewise.
42874         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
42875         * libio/Makefile (generated): Likewise.
42876         * malloc/Makefile (generated): Likewise.
42877         * manual/Makefile (generated, generated-dirs): Likewise.
42878         * misc/Makefile (generated): Likewise.
42879         * posix/Makefile (generated): Likewise.
42880         * resolv/Makefile (generated): Likewise.
42881         * sunrpc/Makefile (generated, generated-dirs): Likewise.
42882         * timezone/Makefile (generated, generated-dirs): Likewise.
42884         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
42886 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42888         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42889         power8 implementation.
42890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
42891         file: POWER8 llround ifunc implementation.
42892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
42893         (__lllround): Add POWER8 implementation.
42894         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
42895         POWER8 llround implementation.
42897         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
42898         power8 implementation.
42899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
42900         file: POWER8 llrint ifunc implementation.
42901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
42902         Add POWER8 implementation.
42903         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
42904         POWER8 llrint implementation.
42906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
42907         power8 implementation.
42908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
42909         file: POWER8 finite ifunc implementation.
42910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
42911         Add POWER8 implementation.
42912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
42913         Likewise.
42914         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
42915         POWER8 finite implementation.
42916         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
42918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
42919         power8 implementation.
42920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
42921         file: POWER8 isinf ifunc implementation.
42922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
42923         POWER8 implementation.
42924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
42925         Likewise.
42926         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
42927         isinf implementation.
42928         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
42930         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
42931         (INIT_ARCH): Add hwcap2 initialization.
42932         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42933         power8 implementation.
42934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
42935         file: POWER8 isnan ifunc implementation.
42936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
42937         POWER8 implementation.
42938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
42939         Likewise.
42940         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
42941         isnan implementation.
42942         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
42944 2014-02-27  Joey Ye  <joey.ye@arm.com>
42946         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42947         (_FP_NANFRAC_Q): Set to zero.
42949 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42951         [BZ #16623]
42952         * math/auto-libm-test-in: New test inputs.
42953         * math/auto-libm-test-out: Regenerate.
42954         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
42955         and DA.
42956         (__cos): Likewise.
42957         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42959 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
42961         * scripts/evaluate-test.sh: Take new argument indicating whether
42962         failure is expected.
42963         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
42964         indicating whether failure is expected.
42965         * conform/Makefile (test-xfail-run-conformtest): New variable.
42966         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
42967         level.
42968         * posix/Makefile (test-xfail-annexc): New variable.
42969         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
42971 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
42973         * argp/Makefile: Include Makeconfig immediately after defining
42974         subdir.
42975         * assert/Makefile: Likewise.
42976         * benchtests/Makefile: Likewise.
42977         * catgets/Makefile: Likewise.
42978         * conform/Makefile: Likewise.
42979         * crypt/Makefile: Likewise.
42980         * csu/Makefile: Likewise.
42981         (all): Remove target.
42982         * ctype/Makefile: Include Makeconfig immediately after defining
42983         subdir.
42984         * debug/Makefile: Likewise.
42985         * dirent/Makefile: Likewise.
42986         * dlfcn/Makefile: Likewise.
42987         * gmon/Makefile: Likewise.
42988         * gnulib/Makefile: Likewise.
42989         * grp/Makefile: Likewise.
42990         * gshadow/Makefile: Likewise.
42991         * hesiod/Makefile: Likewise.
42992         * hurd/Makefile: Likewise.
42993         (all): Remove target.
42994         * iconvdata/Makefile: Include Makeconfig immediately after
42995         defining subdir.
42996         * inet/Makefile: Likewise.
42997         * intl/Makefile: Likewise.
42998         * io/Makefile: Likewise.
42999         * libio/Makefile: Likewise.
43000         (all): Remove target.
43001         * locale/Makefile: Include Makeconfig immediately after defining
43002         subdir.
43003         * login/Makefile: Likewise.
43004         * mach/Makefile: Likewise.
43005         (all): Remove target.
43006         * malloc/Makefile: Include Makeconfig immediately after defining
43007         subdir.
43008         (all): Remove target.
43009         * manual/Makefile: Include Makeconfig immediately after defining
43010         subdir.
43011         * math/Makefile: Likewise.
43012         * misc/Makefile: Likewise.
43013         * nis/Makefile: Likewise.
43014         * nss/Makefile: Likewise.
43015         * po/Makefile: Likewise.
43016         (all): Remove target.
43017         * posix/Makefile: Include Makeconfig immediately after defining
43018         subdir.
43019         * pwd/Makefile: Likewise.
43020         * resolv/Makefile: Likewise.
43021         * resource/Makefile: Likewise.
43022         * rt/Makefile: Likewise.
43023         * setjmp/Makefile: Likewise.
43024         * shadow/Makefile: Likewise.
43025         * signal/Makefile: Likewise.
43026         * socket/Makefile: Likewise.
43027         * soft-fp/Makefile: Likewise.
43028         * stdio-common/Makefile: Likewise.
43029         * stdlib/Makefile: Likewise.
43030         * streams/Makefile: Likewise.
43031         * string/Makefile: Likewise.
43032         * sunrpc/Makefile: Likewise.
43033         (all): Remove target.
43034         * sysvipc/Makefile: Include Makeconfig immediately after defining
43035         subdir.
43036         * termios/Makefile: Likewise.
43037         * time/Makefile: Likewise.
43038         * timezone/Makefile: Likewise.
43039         (all): Remove target.
43040         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43041         subdir.
43042         * wctype/Makefile: Likewise.
43044 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43046         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43047         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43048         (libc_feholdexcept_setround_mips): Ditto.
43049         (libc_feholdsetround): New.
43050         (libc_feholdsetroundf): New.
43051         (libc_feholdsetroundl): New.
43052         (libc_feupdateenv_test_mips): New.
43053         (libc_feupdateenv_test): New.
43054         (libc_feupdateenv_testf): New.
43055         (libc_feupdateenv_testl): New.
43056         (libc_feresetround): New.
43057         (libc_feresetroundf): New.
43058         (libc_feresetroundl): New.
43059         (libc_fetestexcept_mips): New.
43060         (libc_fetestexcept): New.
43061         (libc_fetestexceptf): New.
43062         (libc_fetestexceptl): New.
43063         (HAVE_RM_CTX): New.
43064         (libc_feholdexcept_setround_mips_ctx): New.
43065         (libc_feholdexcept_setround_ctx): New.
43066         (libc_feholdexcept_setroundf_ctx): New.
43067         (libc_feholdexcept_setroundl_ctx): New.
43068         (libc_fesetenv_mips_ctx): New.
43069         (libc_fesetenv_ctx): New.
43070         (libc_fesetenv_ctxf): New.
43071         (libc_fesetenv_ctxl): New.
43072         (libc_feupdateenv_mips_ctx): New.
43073         (libc_feupdateenv_ctx): New.
43074         (libc_feupdateenvf_ctx): New.
43075         (libc_feupdateenvl_ctx): New.
43076         (libc_feholdsetround_mips_ctx): New.
43077         (libc_feholdsetround_ctx): New.
43078         (libc_feholdsetroundf_ctx): New.
43079         (libc_feholdsetroundl_ctx): New.
43080         (libc_feresetround_mips_ctx): New.
43081         (libc_feresetround_ctx): New.
43082         (libc_feresetroundf_ctx): New.
43083         (libc_feresetroundl_ctx): New.
43085 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43087         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43089         * manual/ipc.texi: New file.
43090         * manual/Makefile (chapters): Add ipc.
43091         * manual/job.texi: Add "Inter-Process Communication" to next.
43092         * manual/process.texi: Add "Inter-Process Communication" to prev.
43094 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43098 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43100         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43102         * manual/arith.texi: Fix spaces after sentences.
43103         * manual/charset.texi: Likewise.
43104         * manual/errno.texi: Likewise.
43105         * manual/install.texi: Likewise.
43106         * manual/llio.texi: Likewise.
43107         * manual/locale.texi: Likewise.
43108         * manual/maint.texi: Likewise.
43109         * manual/math.texi: Likewise.
43110         * manual/memory.texi: Likewise.
43111         * manual/message.texi: Likewise.
43112         * manual/probes.texi: Likewise.
43113         * manual/resource.texi: Likewise.
43114         * manual/signal.texi: Likewise.
43115         * manual/socket.texi: Likewise.
43116         * manual/stdio.texi: Likewise.
43117         * manual/string.texi: Likewise.
43118         * manual/time.texi: Likewise.
43119         * manual/users.texi: Likewise.
43121 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43123         [BZ #16632]
43124         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43125         _DEFAULT_SOURCE is defined.
43127 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43128             Carlos O'Donell  <carlos@redhat.com>
43130         [BZ #16613]
43131         * elf/dl-tls.c (_dl_count_modids): New function.
43132         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43133         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43134         audit library and increment generation counter.
43135         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43136         * elf/tst-audit9.c: New file.
43137         * elf/tst-auditmod9a.c: New file.
43138         * elf/tst-auditmod9b.c: New file.
43139         * elf/Makefile: Add rules to build and run tst-audit9.
43141 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43143         [BZ #15347]
43144         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43146 2014-02-25  Will Newton  <will.newton@linaro.org>
43148         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43149         (__longjmp): Restore sp and lr before restoring callee
43150         saved registers.  Add longjmp and longjmp_target
43151         SystemTap probe point.
43152         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43153         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43154         Define to zero to match jmpbuf layout.
43155         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43156         (__sigsetjmp): Save sp and lr before saving callee
43157         saved registers.  Add setjmp SystemTap probe point.
43159 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43161         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43163 2014-02-24  Andreas Schwab  <schwab@suse.de>
43165         [BZ #15804]
43166         * elf/pldd.c (wait_for_ptrace_stop): New function.
43167         (main): Call it after attaching.
43169 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43171         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43172         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43173         Versions files is now verboten.
43174         * hurd/Versions (libc: GLIBC_2.0):
43175         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43176         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43177         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43178         * mach/Versions: Likewise.
43180         * csu/Versions: Remove unused %include.
43181         * resolv/Versions: Likewise.
43183 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43185         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43186         ($(objpfx)check-local-headers.out): Likewise.
43187         ($(objpfx)begin-end-check.out): Likewise.
43188         * Makerules (check-abi-%.out): Likewise.
43189         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43190         ($(objpfx)test2.cat): Likewise.
43191         ($(objpfx)de/libc.cat): Likewise.
43192         ($(objpfx)test-gencat.out): Likewise.
43193         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43194         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43195         ($(objpfx)noload-mem): Likewise.
43196         ($(objpfx)tst-pathopt.out): Likewise.
43197         ($(objpfx)tst-rtld-load-self.out): Likewise.
43198         ($(objpfx)tst-array1-cmp.out): Likewise.
43199         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43200         ($(objpfx)tst-array2-cmp.out): Likewise.
43201         ($(objpfx)tst-array3-cmp.out): Likewise.
43202         ($(objpfx)tst-array4-cmp.out): Likewise.
43203         ($(objpfx)tst-array5-cmp.out): Likewise.
43204         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43205         ($(objpfx)check-textrel.out): Likewise.
43206         ($(objpfx)check-execstack.out): Likewise.
43207         ($(objpfx)check-localplt.out): Likewise.
43208         ($(objpfx)order2-cmp.out): Likewise.
43209         ($(objpfx)tst-leaks1-mem): Likewise.
43210         ($(objpfx)tst-leaks1-static-mem): Likewise.
43211         ($(objpfx)tst-initorder-cmp.out): Likewise.
43212         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43213         ($(objpfx)tst-unused-dep.out): Likewise.
43214         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43215         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43216         * iconv/Makefile (test-iconvconfig): Likewise.
43217         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43218         ($(objpfx)iconv-test.out): Likewise.
43219         ($(objpfx)tst-tables.out): Likewise.
43220         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43221         ($(objpfx)tst-gettext.out): Likewise.
43222         ($(objpfx)tst-translit.out): Likewise.
43223         ($(objpfx)tst-gettext2.out): Likewise.
43224         ($(objpfx)tst-gettext4.out): Likewise.
43225         ($(objpfx)tst-gettext6.out): Likewise.
43226         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43227         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43228         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43229         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43230         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43231         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43232         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43233         ($(objpfx)wordexp-tst.out): Likewise.
43234         ($(objpfx)annexc.out): Likewise.
43235         ($(objpfx)tst-fnmatch-mem): Likewise.
43236         ($(objpfx)bug-regex2-mem): Likewise.
43237         ($(objpfx)bug-regex14-mem): Likewise.
43238         ($(objpfx)bug-regex21-mem): Likewise.
43239         ($(objpfx)bug-regex31-mem): Likewise.
43240         ($(objpfx)tst-vfork3-mem): Likewise.
43241         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43242         ($(objpfx)tst-pcre-mem): Likewise.
43243         ($(objpfx)tst-boost-mem): Likewise.
43244         ($(objpfx)tst-getconf.out): Likewise.
43245         ($(objpfx)bug-ga2-mem): Likewise.
43246         ($(objpfx)bug-glob2-mem): Likewise.
43247         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43248         ($(objpfx)mtrace-tst-leaks2): Likewise.
43249         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43250         ($(objpfx)tst-printf.out): Likewise.
43251         ($(objpfx)tst-setvbuf1.out): Likewise.
43252         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43253         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43254         ($(objpfx)tst-fmtmsg.out): Likewise.
43255         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43256         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43258         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43259         * bits/sigaction.h [__USE_MISC]: Likewise.
43260         * bits/waitstatus.h: Update #endif comments.
43261         * ctype/ctype.h: Likewise.
43262         * dirent/dirent.h: Likewise.
43263         [__USE_MISC]: Remove redundant conditionals.
43264         * grp/grp.h: Update #endif comments.
43265         [__USE_GNU]: Remove redundant conditionals.
43266         [__USE_MISC]: Likewise.
43267         * inet/netinet/in.h [__USE_GNU]: Likewise.
43268         * io/sys/stat.h [__USE_MISC]: Likewise.
43269         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43270         * libio/bits/stdio.h: Update #endif comments.
43271         [__USE_MISC]: Remove redundant conditionals.
43272         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43273         * libio/stdio.h: Update #endif comments.
43274         [__USE_MISC]: Remove redundant conditionals.
43275         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43276         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43277         * math/math.h: Update #else and #endif comments.
43278         [__USE_MISC]: Remove redundant conditionals.
43279         * misc/sys/uio.h: Update #endif comments.
43280         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43281         * posix/glob.h [__USE_MISC]: Likewise.
43282         * posix/sys/types.h: Update #endif comments.
43283         [__USE_MISC]: Remove redundant conditionals.
43284         * posix/sys/wait.h: Update #endif comments.
43285         [__USE_MISC]: Remove redundant conditionals.
43286         * posix/unistd.h: Update #endif comments.
43287         [__USE_MISC]: Remove redundant conditionals.
43288         * pwd/pwd.h [__USE_GNU]: Likewise.
43289         [__USE_MISC]: Likewise.
43290         * resolv/netdb.h [__USE_GNU]: Likewise.
43291         * signal/signal.h: Update #endif comments.
43292         [__USE_MISC]: Remove redundant conditionals.
43293         * stdlib/stdlib.h: Update #else and #endif comments.
43294         [__USE_MISC]: Remove redundant conditionals.
43295         [__USE_GNU]: Likewise.
43296         * string/bits/string2.h [__USE_MISC]: Likewise.
43297         * string/string.h: Update #endif comments.
43298         [__USE_MISC]: Remove redundant conditionals.
43299         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43300         Likewise.
43301         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43302         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43303         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43304         Likewise.
43305         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43306         Likewise.
43307         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43308         comments.
43309         [__USE_MISC]: Remove redundant conditionals.
43310         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43311         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43312         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43313         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43314         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43315         Likewise.
43316         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43317         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43318         Likewise.
43319         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43320         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43321         Likewise.
43322         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43323         Likewise.
43324         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43325         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43326         Likewise.
43327         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43328         Likewise.
43329         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43330         * sysdeps/x86/bits/string.h: Update #endif comments.
43331         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43332         conditionals.
43333         * time/sys/time.h: Update #endif comments.
43334         * time/time.h: Likewise.
43335         [__USE_MISC]: Remove redundant conditionals.
43337 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43339         [BZ #16600]
43340         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43342 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43344         * Versions.def (librt): Add GLIBC_2.17.
43346 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43348         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43349         synonym for _SYS_AUXV_H to allow direct inclusion.
43350         * sysdeps/sparc/bits/hwcap.h: Likewise.
43351         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43352         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43353         * sysdeps/sparc/sysdep.h: Likewise.
43355 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43357         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43359 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43361         * benchtests/bench-strrchr.c: Print length instead of position.
43363 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43365         [BZ #16611]
43366         * sysdeps/unix/sysv/linux/kernel-features.h
43367         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43368         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43369         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43370         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43371         Likewise.
43372         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43373         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43374         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43375         (__ASSUME_SENDMMSG): Define instead of using previous
43376         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43377         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43378         (__ASSUME_SENDMMSG_SYSCALL): Define.
43379         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43380         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43381         Likewise.
43382         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43383         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43384         Likewise.
43385         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43386         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43387         Likewise.
43388         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43389         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43390         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43391         [__ASSUME_SENDMMSG]: Change conditionals to
43392         [__ASSUME_SENDMMSG_SOCKETCALL].
43393         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43394         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43395         Define.
43396         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43397         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43398         Likewise.
43399         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43400         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43401         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43402         [!__ASSUME_SENDMMSG]: Change conditional to
43403         [!__ASSUME_SENDMMSG_SOCKETCALL].
43404         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43405         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43406         Define.
43408         [BZ #16610]
43409         * sysdeps/unix/sysv/linux/kernel-features.h
43410         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43411         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43412         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43413         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43414         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43415         [__i386__ || __sparc__]
43416         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43417         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43418         (__ASSUME_RECVMMSG): Define instead of using previous
43419         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43420         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43421         (__ASSUME_RECVMMSG_SYSCALL): Define.
43422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43423         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43424         Likewise.
43425         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43426         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43427         Likewise.
43428         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43429         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43430         Likewise.
43431         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43432         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43433         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43434         [__ASSUME_RECVMMSG]: Change condition to
43435         [__ASSUME_RECVMMSG_SOCKETCALL].
43436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43437         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43438         Define.
43439         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43440         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43441         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43442         Likewise.
43443         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43444         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43445         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43446         [!__ASSUME_RECVMMSG]: Change condition to
43447         [!__ASSUME_RECVMMSG_SOCKETCALL].
43448         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43449         (__ASSUME_RECVMMSG_SYSCALL): Define.
43451         [BZ #16609]
43452         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43453         __powerpc__ || __s390__ || __sh__ || __sparc__]
43454         (__ASSUME_SOCKETCALL): Define.
43455         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43456         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43457         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43458         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43459         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43460         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43461         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43462         (__ASSUME_ACCEPT4): Define instead of using previous
43463         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43464         __powerpc__ || __sparc__ || __s390__)] condition.
43465         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43466         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43467         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43468         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43469         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43470         [!__ASSUME_ACCEPT4]: Change condition to
43471         [!__ASSUME_ACCEPT4_SOCKETCALL].
43472         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43473         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43474         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43475         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43476         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43477         __ASSUME_ACCEPT4_SYSCALL.
43478         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43479         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43480         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43481         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43482         __ASSUME_ACCEPT4_SYSCALL.
43483         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43484         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43485         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43486         [__ASSUME_ACCEPT4]: Change condition to
43487         [__ASSUME_ACCEPT4_SOCKETCALL].
43488         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43489         (__ASSUME_SOCKETCALL): Define.
43490         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43491         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43492         (__ASSUME_SOCKETCALL): Define.
43493         (__ASSUME_ACCEPT4): Remove.
43494         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43495         Define.
43496         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43497         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43498         Likewise.
43499         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43500         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43502         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43503         macro.
43504         (HWCAP_ARM_LPAE): Likewise.
43505         (HWCAP_ARM_EVTSTRM): Likewise.
43506         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43507         Add vpfd32, lpae and evtstrm.
43508         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43509         Increase to 22.
43511 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43513         * math/auto-libm-test-in: Add tests of clog10.
43514         * math/auto-libm-test-out: Regenerated.
43515         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43516         * sysdeps/i386/fpu/libm-test-ulps: Update.
43517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43519 2014-02-18  Andreas Schwab  <schwab@suse.de>
43521         [BZ #16574]
43522         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43523         Store non-zero if the second buffer was newly allocated.
43524         (send_dg): Likewise.
43525         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43526         to send_vc and send_dg.
43527         (res_nsend): Pass NULL for ansp2_malloced.
43528         * resolv/res_query.c (__libc_res_nquery): Add parameter
43529         answerp2_malloced and pass it down to __libc_res_nsend.
43530         (res_nquery): Pass additional NULL to __libc_res_nquery.
43531         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43532         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43533         second answer buffer if answerp2_malloced was set.
43534         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43535         (__libc_res_nquerydomain): Add parameter
43536         answerp2_malloced and pass it down to __libc_res_nquery.
43537         (res_nquerydomain): Pass additional NULL to
43538         __libc_res_nquerydomain.
43539         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43540         additional NULL to __libc_res_nsend and __libc_res_nquery.
43541         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43542         additional NULL to __libc_res_nsearch.
43543         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43544         parameter of __libc_res_nsearch to check for separately allocated
43545         second buffer.
43546         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43547         __libc_res_nquery.
43548         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43549         additional NULL to __libc_res_nquery.
43550         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43551         __libc_res_nsearch.
43552         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43553         * include/resolv.h: Update prototypes of __libc_res_nquery,
43554         __libc_res_nsearch, __libc_res_nsend.
43556 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43558         * math/auto-libm-test-in: Add tests of fma.
43559         * math/auto-libm-test-out: Regenerated.
43560         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43561         (fma_towardzero_test_data): Likewise.
43562         (fma_downward_test_data): Likewise.
43563         (fma_upward_test_data): Likewise.
43564         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43565         mpc_mode.
43566         (rounding_modes): Add values for new field.
43567         (func_calc_method): Add value mpfr_fff_f.
43568         (func_calc_desc): Add mpfr_fff_f union field.
43569         (test_function): Add field exact_args.
43570         (FUNC): Add macro argument EXACT_ARGS.
43571         (FUNC_mpfr_f_f): Update call to FUNC.
43572         (FUNC_mpfr_f_f): Likewise.
43573         (FUNC_mpfr_ff_f): Likewise.
43574         (FUNC_mpfr_if_f): Likewise.
43575         (FUNC_mpc_c_f): Likewise.
43576         (FUNC_mpc_c_c): Likewise.
43577         (test_functions): Add fma.  Update calls to FUNC.
43578         (handle_input_arg): Add argument exact_args.
43579         (add_test): Update call to handle_input_arg.
43580         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43581         (output_for_one_input_case): Update call to calc_generic_results.
43582         Recalculate exact zero results in each rounding mode.
43584         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43585         non-negative before setting low bit.
43586         * math/auto-libm-test-in: Mark one asin test possibly having
43587         spurious underflow.
43588         * math/auto-libm-test-out: Regenerated.
43589         * sysdeps/i386/fpu/libm-test-ulps: Update.
43590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43592 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43594         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43595         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43596         ports/sysdeps/unix/sysv/linux/microblaze.
43597         * README: Add missing listing for microblaze*-*-linux-gnu.
43599 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43601         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43602         duplicate code
43604 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43606         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43607         * sysdeps/unix/sysv/linux/ia64: Move directory from
43608         ports/sysdeps/unix/sysv/linux/ia64.
43609         * README: Update listing for ia64-*-linux-gnu.
43611 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43612             Joseph Myers  <joseph@codesourcery.com>
43614         * Makeconfig (test-name): New variable.
43615         (evaluate-test): Likewise.
43616         * Makerules (do-test-clean): Remove .test-result files.
43617         (common-mostlyclean): Likewise.
43618         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43619         * scripts/evaluate-test.sh: New file.
43621 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43623         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43624         separate $(objpfx)tst-fopenloc-cmp.out and
43625         $(objpfx)tst-fopenloc-mem.out targets.
43626         (tests): Update dependencies.
43627         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43628         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43629         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43630         (tst-rxspencer-no-utf8-ARGS): New variable.
43631         (tst-rxspencer-no-utf8-ENV): Likewise.
43632         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43633         instead of $(objpfx)tst-rxspencer-mem.
43634         ($(objpfx)tst-rxspencer-mem): Change target to
43635         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43636         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43637         * posix/tst-rxspencer-no-utf8.c: New file.
43639         * elf/Makefile ($(objpfx)order.out): Remove rule.
43640         [$(run-built-tests) = yes] (tests): Depend on
43641         $(objpfx)order-cmp.out.
43642         ($(objpfx)order-cmp.out): New rule.
43643         [$(run-built-tests) = yes] (tests): Depend on
43644         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43645         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43646         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43647         $(objpfx)tst-array5-static-cmp.out.
43648         ($(objpfx)tst-array1.out): Remove rule.
43649         ($(objpfx)tst-array1-cmp.out): New rule.
43650         ($(objpfx)tst-array1-static.out): Remove rule.
43651         ($(objpfx)tst-array1-static-cmp.out): New rule.
43652         ($(objpfx)tst-array2.out): Remove rule.
43653         ($(objpfx)tst-array2-cmp.out): New rule.
43654         ($(objpfx)tst-array3.out): Remove rule.
43655         ($(objpfx)tst-array3-cmp.out): New rule.
43656         ($(objpfx)tst-array4.out): Remove rule.
43657         ($(objpfx)tst-array4-cmp.out): New rule.
43658         ($(objpfx)tst-array5.out): Remove rule.
43659         ($(objpfx)tst-array5-cmp.out): New rule.
43660         ($(objpfx)tst-array5-static.out): Remove rule.
43661         ($(objpfx)tst-array5-static-cmp.out): New rule.
43662         [$(run-built-tests) = yes] (tests): Depend on
43663         $(objpfx)order2-cmp.out.
43664         ($(objpfx)order2.out): Remove rule.
43665         ($(objpfx)order2-cmp.out): New rule.
43666         ($(objpfx)tst-initorder.out): Remove rule.
43667         [$(run-built-tests) = yes] (tests): Depend on
43668         $(objpfx)tst-initorder-cmp.out.
43669         ($(objpfx)tst-initorder-cmp.out): New rule.
43670         ($(objpfx)tst-initorder2.out): Remove rule.
43671         [$(run-built-tests) = yes] (tests): Depend on
43672         $(objpfx)tst-initorder2-cmp.out.
43673         ($(objpfx)tst-initorder2-cmp.out): New rule.
43674         [$(run-built-tests) = yes] (tests): Depend on
43675         $(objpfx)tst-unused-dep-cmp.out.
43676         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43677         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43678         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43679         on $(objpfx)tst-setvbuf1-cmp.out.
43680         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43681         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43682         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43683         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43684         ($(objpfx)tst-svc.out): Remove rule.
43685         ($(objpfx)tst-svc-cmp.out): New rule.
43687 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43689         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43690         * ctype/ctype.h [__USE_MISC]: Likewise.
43691         * dirent/dirent.h [__USE_MISC]: Likewise.
43692         * grp/grp.h [__USE_MISC]: Likewise.
43693         * io/fcntl.h [__USE_MISC]: Likewise.
43694         * io/sys/stat.h [__USE_MISC]: Likewise.
43695         * libio/stdio.h [__USE_MISC]: Likewise.
43696         * posix/unistd.h [__USE_MISC]: Likewise.
43697         * pwd/pwd.h [__USE_MISC]: Likewise.
43698         * stdlib.h [__USE_MISC]: Likewise.
43699         * string/bits/string2.h [__USE_MISC]: Likewise.
43700         * string/string.h [__USE_MISC]: Likewise.
43701         * time/time.h [__USE_MISC]: Likewise.
43703 2014-02-13  Andreas Schwab  <schwab@suse.de>
43705         [BZ #16574]
43706         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43707         second answer buffer if it was separately allocated.
43709 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43711         * sysdeps/mips/math-tests.h: Include <features.h>.
43712         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43713         (ROUNDING_TESTS_long_double): Do not define.
43714         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43715         (EXCEPTION_TESTS_long_double): Likewise.
43716         * sysdeps/mips/mips64/libm-test-ulps: Update.
43718         * include/features.h (__USE_BSD): Remove macro definitions.
43719         (__USE_SVID): Likewise.
43720         (_BSD_SOURCE): Likewise.
43721         (_SVID_SOURCE): Likewise.
43722         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43723         from definition of _DEFAULT_SOURCE.
43724         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43725         [_DEFAULT_SOURCE].
43726         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43727         * bits/mman.h [__USE_BSD]: Likewise.
43728         * bits/termios.h [__USE_BSD]: Likewise.
43729         * bits/waitstatus.h [__USE_BSD]: Likewise.
43730         * ctype/ctype.h [__USE_SVID]: Likewise.
43731         * dirent/dirent.h [__USE_BSD]: Likewise.
43732         * grp/grp.h [__USE_SVID]: Likewise.
43733         [__USE_BSD]: Likewise.
43734         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43735         * io/fcntl.h [__USE_BSD]: Likewise.
43736         * io/ftw.h [__USE_BSD]: Likewise.
43737         * io/sys/stat.h [__USE_BSD]: Likewise.
43738         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43739         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43740         * libio/stdio.h [__USE_SVID]: Likewise.
43741         [__USE_BSD]: Likewise.
43742         * math/math.h [__USE_SVID]: Likewise.
43743         [__USE_BSD]: Likewise.
43744         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43745         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43746         * misc/search.h [__USE_SVID]: Likewise.
43747         * misc/sys/mman.h [__USE_BSD]: Likewise.
43748         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43749         * misc/sys/uio.h [__USE_BSD]: Likewise.
43750         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43751         * posix/glob.h [__USE_BSD]: Likewise.
43752         * posix/regex.h [__USE_BSD]: Likewise.
43753         * posix/sys/types.h [__USE_BSD]: Likewise.
43754         [__USE_SVID]: Likewise.
43755         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43756         * posix/sys/wait.h [__USE_BSD]: Likewise.
43757         [__USE_SVID]: Likewise.
43758         * posix/unistd.h [__USE_BSD]: Likewise.
43759         [__USE_SVID]: Likewise.
43760         * pwd/pwd.h [__USE_SVID]: Likewise.
43761         * resolv/netdb.h [__USE_BSD]: Likewise.
43762         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43763         * signal/signal.h [__USE_BSD]: Likewise.
43764         [__USE_SVID]: Likewise.
43765         * socket/sys/socket.h [__USE_BSD]: Likewise.
43766         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43767         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43768         [__USE_SVID]: Likewise.
43769         * string/bits/string2.h [__USE_BSD]: Likewise.
43770         [__USE_SVID]: Likewise.
43771         * string/bits/string3.h [__USE_BSD]: Likewise.
43772         * string/endian.h [__USE_BSD]: Likewise.
43773         * string/string.h [__USE_SVID]: Likewise.
43774         [__USE_BSD]: Likewise.
43775         * string/strings.h [__USE_BSD]: Likewise.
43776         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43777         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43778         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43779         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43780         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43781         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43782         Likewise.
43783         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43784         Likewise.
43785         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43786         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43787         Likewise.
43788         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43789         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43790         Likewise.
43791         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43792         Likewise.
43793         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43794         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43795         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43796         Likewise.
43797         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
43798         Likewise.
43799         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
43800         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
43801         * termios/termios.h [__USE_BSD]: Likewise.
43802         * time/sys/time.h [__USE_BSD]: Likewise.
43803         * time/time.h [__USE_BSD]: Likewise.
43804         [__USE_SVID]: Likewise.
43806         * Makefile (subdir_targets): Remove subdir_lint.out.
43808         * stdio-common/Makefile (do-tst-unbputc): Remove target.
43809         (do-tst-printf): Likewise.
43810         (tests): Depend directly on $(objpfx)tst-unbputc.out and
43811         $(objpfx)tst-printf.out.
43813         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
43815         * Makerules (check-abi-%): Change target to
43816         $(objpfx)check-abi-%.out.
43817         (check-abi target): Update dependencies.
43818         (check-abi-pattern variable): Redirect output of diff to $@.
43819         (check-abi variable): Likewise.
43820         * elf/Makefile (check-abi): Update dependencies.
43822         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
43823         unused.
43824         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
43825         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
43826         subnormal range.
43827         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
43828         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
43829         value has largest subnormal exponent.
43830         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
43831         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
43832         * sysdeps/aarch64/soft-fp/sfp-machine.h
43833         (_FP_TININESS_AFTER_ROUNDING): New macro.
43834         * sysdeps/alpha/soft-fp/sfp-machine.h
43835         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43836         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43837         Likewise.
43838         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
43839         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43840         * sysdeps/mips/soft-fp/sfp-machine.h
43841         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43842         * sysdeps/powerpc/soft-fp/sfp-machine.h
43843         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43844         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43845         Likewise.
43846         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43847         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43848         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43849         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43850         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43851         Likewise.
43853 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
43855         [BZ #16545]
43856         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
43857         model 1.
43859 2014-02-12  Richard Henderson  <rth@redhat.com>
43861         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43862         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
43863         * sysdeps/unix/sysv/linux/alpha: Move directory from
43864         ports/sysdeps/unix/sysv/linux/alpha.
43865         * README: Update listing for alpha-*-linux-gnu.
43867 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
43869         * include/features.h: Update comment documenting feature test
43870         macros.
43871         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
43872         _DEFAULT_SOURCE.
43873         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
43874         (_SVID_SOURCE): Likewise.
43875         (_DEFAULT_SOURCE): Update description of default features.
43876         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
43877         with _GNU_SOURCE.
43878         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
43879         (S_ISVTX): Likewise.
43880         * manual/math.texi (Mathematical Constants): Likewise.
43881         * manual/signal.texi (Interrupted Primitives): Likewise.
43882         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
43883         * math/test-matherr.c (_SVID_SOURCE): Do not define.
43884         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
43885         Don't refer to _SVID_SOURCE in warning text.
43887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43889         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
43890         already defined.
43891         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
43892         * sysdeps/mips/dl-lookup.c: Remove.
43893         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
43895 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43897         [BZ #16447]
43898         * math/auto-libm-test-in: Add testcase for expl.
43899         * math/auto-libm-test-out: Regenerate.
43900         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43901         calculation of unsafe.
43902         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
43904 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43906         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
43907         * sysdeps/unix/sysv/linux/aarch64: Move directory from
43908         ports/sysdeps/unix/sysv/linux/aarch64.
43909         * README: Update listing for aarch64*-*-linux-gnu.
43911 2014-02-11  Will Newton  <will.newton@linaro.org>
43913         * manual/probes.texi (Mathematical Function Probes): Use
43914         "triggered" instead of "hit".
43916         * manual/probes.texi (Internal Probes): Add documentation
43917         of setjmp, longjmp and longjmp_target probes.
43919         * include/stap-probe.h: Add comment about probe argument
43920         format.
43922         * malloc/mtrace.c (attribute_hidden): Remove unused macro
43923         definition.  (tr_where, tr_freehook, tr_mallochook,
43924         tr_reallochook, tr_memalignhook): Use ANSI protoype.
43926 2014-02-11  David S. Miller  <davem@davemloft.net>
43928         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
43929         processing int_tests.
43931 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
43933         * sysdeps/mips: Move directory from ports/sysdeps/mips.
43934         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
43935         * sysdeps/unix/sysv/linux/mips: Move directory from
43936         ports/sysdeps/unix/sysv/linux/mips.
43937         * README: Update listing for mips-*-linux-gnu and
43938         mips64-*-linux-gnu.
43940 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
43942         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
43943         * sysdeps/unix/sysv/linux/m68k: Move directory from
43944         ports/sysdeps/unix/sysv/linux/m68k.
43945         * README: Update listing for m68k-*-linux-gnu.
43947 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
43949         * sysdeps/tile: Move directory from ports/sysdeps/tile.
43950         * sysdeps/unix/sysv/linux/generic: Move directory from
43951         ports/sysdeps/unix/sysv/linux/generic.
43952         * sysdeps/unix/sysv/linux/tile: Move directory from
43953         ports/sysdeps/unix/sysv/linux/tile.
43954         * README: Update listing for tile*-*-linux-gnu.
43956 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
43958         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
43959         __builtin_expect.
43960         * benchtests/bench-memmem.c (simple_memmem): Likewise.
43961         * catgets/open_catalog.c (__open_catalog): Likewise.
43962         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43963         * debug/confstr_chk.c: Likewise.
43964         * debug/fread_chk.c (__fread_chk): Likewise.
43965         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
43966         * debug/getgroups_chk.c: Likewise.
43967         * debug/mbsnrtowcs_chk.c: Likewise.
43968         * debug/mbsrtowcs_chk.c: Likewise.
43969         * debug/mbstowcs_chk.c: Likewise.
43970         * debug/memcpy_chk.c: Likewise.
43971         * debug/memmove_chk.c: Likewise.
43972         * debug/mempcpy_chk.c: Likewise.
43973         * debug/memset_chk.c: Likewise.
43974         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43975         * debug/strcat_chk.c (__strcat_chk): Likewise.
43976         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43977         * debug/strncat_chk.c (__strncat_chk): Likewise.
43978         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43979         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43980         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43981         * debug/wcpncpy_chk.c: Likewise.
43982         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43983         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43984         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43985         * debug/wcsncpy_chk.c: Likewise.
43986         * debug/wcsnrtombs_chk.c: Likewise.
43987         * debug/wcsrtombs_chk.c: Likewise.
43988         * debug/wcstombs_chk.c: Likewise.
43989         * debug/wmemcpy_chk.c: Likewise.
43990         * debug/wmemmove_chk.c: Likewise.
43991         * debug/wmempcpy_chk.c: Likewise.
43992         * debug/wmemset_chk.c: Likewise.
43993         * dirent/scandirat.c (SCANDIRAT): Likewise.
43994         * dlfcn/dladdr1.c (dladdr1): Likewise.
43995         * dlfcn/dladdr.c (dladdr): Likewise.
43996         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43997         * dlfcn/dlerror.c (__dlerror): Likewise.
43998         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43999         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44000         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44001         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44002         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44003         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44004         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44005         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44006         Likewise.
44007         * elf/dl-conflict.c: Likewise.
44008         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44009         * elf/dl-dst.h: Likewise.
44010         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44011         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44012         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44013         * elf/dl-init.c (call_init, _dl_init): Likewise.
44014         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44015         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44016         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44017         Likewise.
44018         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44019         Likewise.
44020         * elf/dl-minimal.c (__libc_memalign): Likewise.
44021         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44022         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44023         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44024         * elf/dl-sym.c (do_sym): Likewise.
44025         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44026         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44027         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44028         * elf/dl-writev.h (_dl_writev): Likewise.
44029         * elf/ldconfig.c (search_dir): Likewise.
44030         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44031         (dl_main): Likewise.
44032         * elf/setup-vdso.h (setup_vdso): Likewise.
44033         * grp/compat-initgroups.c (compat_call): Likewise.
44034         * grp/fgetgrent.c (fgetgrent): Likewise.
44035         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44036         * grp/putgrent.c (putgrent): Likewise.
44037         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44038         Likewise.
44039         * hurd/hurdinit.c: Likewise.
44040         * iconvdata/8bit-gap.c (struct): Likewise.
44041         * iconvdata/ansi_x3.110.c : Likewise.
44042         * iconvdata/big5.c : Likewise.
44043         * iconvdata/big5hkscs.c : Likewise.
44044         * iconvdata/cp1255.c: Likewise.
44045         * iconvdata/cp1258.c : Likewise.
44046         * iconvdata/cp932.c : Likewise.
44047         * iconvdata/euc-cn.c: Likewise.
44048         * iconvdata/euc-jisx0213.c : Likewise.
44049         * iconvdata/euc-jp.c: Likewise.
44050         * iconvdata/euc-jp-ms.c : Likewise.
44051         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44052         * iconvdata/gb18030.c : Likewise.
44053         * iconvdata/gbbig5.c (const): Likewise.
44054         * iconvdata/gbgbk.c: Likewise.
44055         * iconvdata/gbk.c : Likewise.
44056         * iconvdata/ibm1364.c : Likewise.
44057         * iconvdata/ibm930.c : Likewise.
44058         * iconvdata/ibm932.c: Likewise.
44059         * iconvdata/ibm933.c : Likewise.
44060         * iconvdata/ibm935.c : Likewise.
44061         * iconvdata/ibm937.c : Likewise.
44062         * iconvdata/ibm939.c : Likewise.
44063         * iconvdata/ibm943.c: Likewise.
44064         * iconvdata/iso_11548-1.c: Likewise.
44065         * iconvdata/iso-2022-cn.c : Likewise.
44066         * iconvdata/iso-2022-cn-ext.c : Likewise.
44067         * iconvdata/iso-2022-jp-3.c: Likewise.
44068         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44069         * iconvdata/iso-2022-kr.c : Likewise.
44070         * iconvdata/iso646.c (gconv_end): Likewise.
44071         * iconvdata/iso_6937-2.c : Likewise.
44072         * iconvdata/iso_6937.c : Likewise.
44073         * iconvdata/iso8859-1.c: Likewise.
44074         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44075         * iconvdata/shift_jisx0213.c : Likewise.
44076         * iconvdata/sjis.c : Likewise.
44077         * iconvdata/t.61.c : Likewise.
44078         * iconvdata/tcvn5712-1.c : Likewise.
44079         * iconvdata/tscii.c: Likewise.
44080         * iconvdata/uhc.c : Likewise.
44081         * iconvdata/unicode.c (gconv_end): Likewise.
44082         * iconvdata/utf-16.c (gconv_end): Likewise.
44083         * iconvdata/utf-32.c (gconv_end): Likewise.
44084         * iconvdata/utf-7.c (base64): Likewise.
44085         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44086         * iconv/gconv_close.c (__gconv_close): Likewise.
44087         * iconv/gconv_open.c (__gconv_open): Likewise.
44088         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44089         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44090         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44091         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44092         (ucs4le_internal_loop_single): Likewise.
44093         * iconv/iconv.c (iconv): Likewise.
44094         * iconv/iconv_close.c: Likewise.
44095         * iconv/loop.c (SINGLE): Likewise.
44096         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44097         * include/atomic.h: Likewise.
44098         * inet/inet6_option.c (option_alloc): Likewise.
44099         * intl/bindtextdom.c (set_binding_values): Likewise.
44100         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44101         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44102         * intl/localealias.c (read_alias_file): Likewise.
44103         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44104         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44105         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44106         * libio/fmemopen.c (fmemopen): Likewise.
44107         * libio/iofgets.c (_IO_fgets): Likewise.
44108         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44109         * libio/iofgetws.c (fgetws): Likewise.
44110         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44111         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44112         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44113         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44114         * locale/findlocale.c (_nl_find_locale): Likewise.
44115         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44116         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44117         Likewise.
44118         * locale/setlocale.c (setlocale): Likewise.
44119         * login/programs/pt_chown.c (main): Likewise.
44120         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44121         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44122         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44123         (mmap, mmap64, mremap, munmap): Likewise.
44124         * math/e_exp2l.c: Likewise.
44125         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44126         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44127         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44128         * math/s_catan.c (__catan): Likewise.
44129         * math/s_catanf.c (__catanf): Likewise.
44130         * math/s_catanh.c (__catanh): Likewise.
44131         * math/s_catanhf.c (__catanhf): Likewise.
44132         * math/s_catanhl.c (__catanhl): Likewise.
44133         * math/s_catanl.c (__catanl): Likewise.
44134         * math/s_ccosh.c (__ccosh): Likewise.
44135         * math/s_ccoshf.c (__ccoshf): Likewise.
44136         * math/s_ccoshl.c (__ccoshl): Likewise.
44137         * math/s_cexp.c (__cexp): Likewise.
44138         * math/s_cexpf.c (__cexpf): Likewise.
44139         * math/s_cexpl.c (__cexpl): Likewise.
44140         * math/s_clog10.c (__clog10): Likewise.
44141         * math/s_clog10f.c (__clog10f): Likewise.
44142         * math/s_clog10l.c (__clog10l): Likewise.
44143         * math/s_clog.c (__clog): Likewise.
44144         * math/s_clogf.c (__clogf): Likewise.
44145         * math/s_clogl.c (__clogl): Likewise.
44146         * math/s_csin.c (__csin): Likewise.
44147         * math/s_csinf.c (__csinf): Likewise.
44148         * math/s_csinh.c (__csinh): Likewise.
44149         * math/s_csinhf.c (__csinhf): Likewise.
44150         * math/s_csinhl.c (__csinhl): Likewise.
44151         * math/s_csinl.c (__csinl): Likewise.
44152         * math/s_csqrt.c (__csqrt): Likewise.
44153         * math/s_csqrtf.c (__csqrtf): Likewise.
44154         * math/s_csqrtl.c (__csqrtl): Likewise.
44155         * math/s_ctan.c (__ctan): Likewise.
44156         * math/s_ctanf.c (__ctanf): Likewise.
44157         * math/s_ctanh.c (__ctanh): Likewise.
44158         * math/s_ctanhf.c (__ctanhf): Likewise.
44159         * math/s_ctanhl.c (__ctanhl): Likewise.
44160         * math/s_ctanl.c (__ctanl): Likewise.
44161         * math/w_pow.c: Likewise.
44162         * math/w_powf.c: Likewise.
44163         * math/w_powl.c: Likewise.
44164         * math/w_scalb.c (sysv_scalb): Likewise.
44165         * math/w_scalbf.c (sysv_scalbf): Likewise.
44166         * math/w_scalbl.c (sysv_scalbl): Likewise.
44167         * misc/error.c (error_tail): Likewise.
44168         * misc/pselect.c (__pselect): Likewise.
44169         * nis/nis_callback.c (__nis_create_callback): Likewise.
44170         * nis/nis_call.c (__nisfind_server): Likewise.
44171         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44172         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44173         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44174         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44175         * nis/nis_lookup.c (nis_lookup): Likewise.
44176         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44177         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44178         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44179         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44180         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44181         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44182         * nis/nss_compat/compat-initgroups.c (add_group)
44183         (internal_getgrent_r): Likewise.
44184         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44185         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44186         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44187         (internal_getspnam_r): Likewise.
44188         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44189         (_nss_nis_getaliasbyname_r): Likewise.
44190         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44191         (_nss_nis_getntohost_r): Likewise.
44192         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44193         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44194         (_nss_nis_getgrgid_r): Likewise.
44195         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44196         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44197         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44198         (_nss_nis_gethostbyname4_r): Likewise.
44199         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44200         (initgroups_netid): Likewise.
44201         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44202         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44203         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44204         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44205         (_nss_nis_getprotobynumber_r): Likewise.
44206         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44207         (_nss_nis_getsecretkey): Likewise.
44208         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44209         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44210         (_nss_nis_getpwuid_r): Likewise.
44211         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44212         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44213         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44214         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44215         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44216         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44217         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44218         Likewise.
44219         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44220         (_nss_nisplus_getntohost_r): Likewise.
44221         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44222         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44223         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44224         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44225         Likewise.
44226         * nis/nss_nisplus/nisplus-initgroups.c
44227         (_nss_nisplus_initgroups_dyn): Likewise.
44228         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44229         (_nss_nisplus_getnetbyaddr_r): Likewise.
44230         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44231         (_nss_nisplus_getprotobynumber_r): Likewise.
44232         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44233         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44234         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44235         Likewise.
44236         * nis/nss_nisplus/nisplus-service.c
44237         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44238         (_nss_nisplus_getservbyport_r): Likewise.
44239         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44240         (_nss_nisplus_getspnam_r): Likewise.
44241         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44242         Likewise.
44243         * nscd/aicache.c (addhstaiX): Likewise.
44244         * nscd/cache.c (cache_search, prune_cache): Likewise.
44245         * nscd/connections.c (register_traced_file, send_ro_fd)
44246         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44247         (main_loop_epoll): Likewise.
44248         * nscd/grpcache.c (addgrbyX): Likewise.
44249         * nscd/hstcache.c (addhstbyX): Likewise.
44250         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44251         * nscd/mem.c (gc, mempool_alloc): Likewise.
44252         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44253         (addinnetgrX): Likewise.
44254         * nscd/nscd-client.h (__nscd_acquire_maplock)
44255         (__nscd_drop_map_ref): Likewise.
44256         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44257         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44258         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44259         Likewise.
44260         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44261         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44262         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44263         (__nscd_get_map_ref): Likewise.
44264         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44265         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44266         Likewise.
44267         * nscd/pwdcache.c (addpwbyX): Likewise.
44268         * nscd/selinux.c (preserve_capabilities): Likewise.
44269         * nscd/servicescache.c (addservbyX): Likewise.
44270         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44271         * posix/fnmatch.c (fnmatch): Likewise.
44272         * posix/getopt.c (_getopt_internal_r): Likewise.
44273         * posix/glob.c (glob, glob_in_dir): Likewise.
44274         * posix/wordexp.c (exec_comm_child): Likewise.
44275         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44276         (getanswer_r, gaih_getanswer_slice): Likewise.
44277         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44278         * resolv/res_init.c: Likewise.
44279         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44280         * resolv/res_query.c (__libc_res_nquery): Likewise.
44281         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44282         Likewise.
44283         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44284         * stdio-common/perror.c (perror): Likewise.
44285         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44286         * stdio-common/tmpnam.c (tmpnam): Likewise.
44287         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44288         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44289         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44290         Likewise.
44291         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44292         * stdlib/putenv.c (putenv): Likewise.
44293         * stdlib/setenv.c (__add_to_environ): Likewise.
44294         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44295         * stdlib/strtol_l.c (INTERNAL): Likewise.
44296         * string/memmem.c (memmem): Likewise.
44297         * string/strerror.c (strerror): Likewise.
44298         * string/strnlen.c (__strnlen): Likewise.
44299         * string/test-memmem.c (simple_memmem): Likewise.
44300         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44301         * sunrpc/pm_getport.c (__get_socket): Likewise.
44302         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44303         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44304         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44305         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44306         Likewise.
44307         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44308         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44309         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44310         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44311         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44312         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44313         Likewise.
44314         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44315         Likewise.
44316         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44317         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44318         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44319         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44320         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44322         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44323         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44324         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44325         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44326         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44327         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44328         Likewise.
44329         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44330         Likewise.
44331         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44332         Likewise.
44333         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44334         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44335         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44336         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44337         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44338         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44339         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44340         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44341         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44342         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44343         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44344         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44345         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44346         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44348         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44349         Likewise.
44350         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44351         Likewise.
44352         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44353         Likewise.
44354         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44355         Likewise.
44356         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44357         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44358         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44359         Likewise.
44360         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44361         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44362         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44363         * sysdeps/posix/sleep.c: Likewise.
44364         * sysdeps/posix/tempname.c: Likewise.
44365         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44366         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44367         Likewise.
44368         * sysdeps/powerpc/powerpc32/dl-machine.h
44369         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44370         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44371         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44372         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44373         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44374         Likewise.
44375         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44376         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44377         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44378         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44379         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44380         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44381         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44382         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44383         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44384         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44385         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44386         (elf_machine_lazy_rel): Likewise.
44387         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44388         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44389         (elf_machine_lazy_rel): Likewise.
44390         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44391         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44392         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44393         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44394         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44395         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44396         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44397         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44398         Likewise.
44399         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44400         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44401         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44402         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44403         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44404         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44405         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44406         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44407         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44408         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44409         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44410         Likewise.
44411         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44412         (__posix_fallocate64_l64): Likewise.
44413         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44414         (posix_fallocate): Likewise.
44415         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44416         Likewise.
44417         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44418         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44419         (getifaddrs_internal): Likewise.
44420         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44421         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44422         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44423         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44424         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44425         (__posix_fallocate64_l64): Likewise.
44426         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44427         Likewise.
44428         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44429         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44430         (__get_clockfreq): Likewise.
44431         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44432         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44433         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44434         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44436         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44437         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44438         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44439         Likewise.
44440         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44441         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44442         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44443         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44444         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44445         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44446         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44447         Likewise.
44448         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44449         (posix_fallocate): Likewise.
44450         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44451         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44452         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44453         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44454         (elf_machine_rela, elf_machine_rela_relative)
44455         (elf_machine_lazy_rel): Likewise.
44456         * time/asctime.c (asctime_internal): Likewise.
44457         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44458         * time/tzset.c (__tzset_parse_tz): Likewise.
44459         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44460         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44461         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44462         * wcsmbs/wcsmbsload.h: Likewise.
44464         [BZ #15894]
44465         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44467         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44468         (arena_get2): Remove THREAD_STATS conditionals.
44469         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44470         (__malloc_stats, int): Likewise.
44472 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44474         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44475         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44477         * manual/setjmp.texi: Fix typos/grammar errors.
44479         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44480         Only return early when n is <= 0.  Delete unused return statement.
44482         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44483         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44484         * debug/tst-longjmp_chk3.c: New file.
44486         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44487         (test_main): Replace code with set_fortify_handler call.
44488         * debug/test-strcpy_chk.c: Likewise.
44489         * debug/tst-chk1.c: Likewise.
44490         * debug/tst-longjmp_chk.c: Likewise.
44491         * test-skeleton.c: Include fcntl.h & paths.h
44492         (set_fortify_handler): Define.
44494         * debug/tst-longjmp_chk.c: Add header comment and include
44495         ../test-skeleton.c.
44496         (do_test): Mark static.
44497         (TEST_FUNCTION): Define.
44499         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44500         (IP_PMTUDISC_INTERFACE): Likewise.
44501         (IP_MULTICAST_IF): Likewise.
44502         (IP_MULTICAST_TTL): Likewise.
44503         (IP_MULTICAST_LOOP): Likewise.
44504         (IP_ADD_MEMBERSHIP): Likewise.
44505         (IP_DROP_MEMBERSHIP): Likewise.
44506         (IP_UNBLOCK_SOURCE): Likewise.
44507         (IP_BLOCK_SOURCE): Likewise.
44508         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44509         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44510         (IP_MSFILTER): Likewise.
44511         (MCAST_JOIN_GROUP): Likewise.
44512         (MCAST_BLOCK_SOURCE): Likewise.
44513         (MCAST_UNBLOCK_SOURCE): Likewise.
44514         (MCAST_LEAVE_GROUP): Likewise.
44515         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44516         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44517         (MCAST_MSFILTER): Likewise.
44518         (IP_MULTICAST_ALL): Likewise.
44519         (IP_UNICAST_IF): Likewise.
44521         * timezone/Makefile: Delete $(have-ksh) check.
44522         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44523         * timezone/tzselect.ksh: Add +x mode bits.
44525         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44526         (ANON_INODE_FS_MAGIC): Likewise.
44527         (BDEVFS_MAGIC): Likewise.
44528         (BINFMTFS_MAGIC): Likewise.
44529         (BTRFS_TEST_MAGIC): Likewise.
44530         (CRAMFS_MAGIC_WEND): Likewise.
44531         (DEBUGFS_MAGIC): Likewise.
44532         (ECRYPTFS_SUPER_MAGIC): Likewise.
44533         (EXT3_SUPER_MAGIC): Likewise.
44534         (EXT4_SUPER_MAGIC): Likewise.
44535         (FUTEXFS_SUPER_MAGIC): Likewise.
44536         (HOSTFS_SUPER_MAGIC): Likewise.
44537         (HUGETLBFS_MAGIC): Likewise.
44538         (MINIX3_SUPER_MAGIC): Likewise.
44539         (MTD_INODE_FS_MAGIC): Likewise.
44540         (NILFS_SUPER_MAGIC): Likewise.
44541         (OPENPROM_SUPER_MAGIC): Likewise.
44542         (PIPEFS_MAGIC): Likewise.
44543         (PSTOREFS_MAGIC): Likewise.
44544         (QNX6_SUPER_MAGIC): Likewise.
44545         (RAMFS_MAGIC): Likewise.
44546         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44547         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44548         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44549         (SECURITYFS_MAGIC): Likewise.
44550         (SELINUX_MAGIC): Likewise.
44551         (SMACK_MAGIC): Likewise.
44552         (SOCKFS_MAGIC): Likewise.
44553         (SQUASHFS_MAGIC): Likewise.
44554         (STACK_END_MAGIC): Likewise.
44555         (TMPFS_MAGIC): Likewise.
44556         (USBDEVICE_SUPER_MAGIC): Likewise.
44557         (V9FS_MAGIC): Likewise.
44558         (XENFS_SUPER_MAGIC): Likewise.
44559         (CRAMFS_MAGIC): Fix typo in comment.
44560         (EXT2_SUPER_MAGIC): Update comment.
44561         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44563 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44565         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44566         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44567         * sysdeps/unix/sysv/linux/arm: Move directory from
44568         ports/sysdeps/unix/sysv/linux/arm.
44569         * README: Update listing for arm-*-linux-gnueabi.
44571         * README: Remove mention of am33.
44573 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44575         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44576         than the comma operator, to avoid "rhs of comma has no effect"
44577         compiler warnings.
44578         (__sigfillset, __sigandset, __sigorset): Likewise.
44579         * include/signal.h (__sigemptyset): Likewise.
44580         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44582 2014-02-07  Allan McRae  <allan@archlinux.org>
44584         * version.h (RELEASE): Set to "development".
44585         (VERSION): Set to "2.19.90"
44586         * NEWS: Add 2.20 section.
44588 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44590         [BZ #16529]
44591         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44593 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44595         * manual/contrib.texi: Update entry for Carlos O'Donell,
44596         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44598 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44600         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44602         * sysdeps/unix/sysv/linux/kernel-features.h
44603         [__LINUX_KERNEL_VERSION >= 0x020621]
44604         (__ASSUME_PROC_PID_TASK_COMM): Define.
44606 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44608         [BZ #16398]
44609         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44610         conversion when destination buffer does not have enough space.
44611         * libio/tst-ftell-partial-wide.c: New test case.
44612         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44614         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44615         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44616         Leonard and Allan McRae.
44618 2014-02-04  David S. Miller  <davem@davemloft.net>
44620         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44621         32-bit.
44623 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44626         New file
44627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44628         New file
44629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44630         New file.
44631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44632         New file.
44633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44634         New file.
44635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44636         New file.
44637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44638         New file.
44639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44640         New file.
44641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44642         New file.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44644         New file.
44645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44646         New file.
44647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44648         New file.
44649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44650         New file.
44652 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44654         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44655         * shlib-versions: Likewise.
44657 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44658             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44660         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44661         (abilist-pattern): New variable, set to %-le.abilist.
44663         * Makerules (abilist-pattern): New variable.
44664         (vpath): Use $(abilist-pattern) in place of %.abilist.
44665         (check-abi-% pattern rule): Likewise.
44666         (check-abi, update-abi): Likewise.
44668 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44672 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44674         * manual/startup.texi: Add next, previous, and top entries for
44675         the `Program Arguments' and `Environment Variables' nodes.
44677 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44679         * manual/macros.texi: Add comments before MTASC-safety macros.
44681         * manual/users.texi: Document MTASC-safety properties.
44683         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44684         (pthread_getspecific, pthread_setspecific): Format with
44685         @deftypefun, and add @safety note.
44686         * manual/signal.texi: Move comments that analyze the above
44687         functions to their home place.
44689 2014-02-03  Allan McRae  <allan@archlinux.org>
44691         * po/sl.po: Update Slovenian translation from translation project.
44693 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44695         * manual/time.texi (timegm): Add missing blank after @c.
44696         Reported by Joseph Myers <joseph@codesourcery.com>.
44698 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44700         * manual/check-safety.sh: New.
44701         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44703         * manual/terminal.texi: Document MTASC-safety properties.
44705         * manual/filesys.texi: Document MTASC-safety properties.
44707         * manual/errno.texi: Document MTASC-safety properties.
44709         * manual/intro.texi: Document safety identifiers and
44710         conditionals.
44712         * manual/string.texi (wcstok): Fix prototype.
44713         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44715         * manual/time.texi: Document MTASC-safety properties.
44717         * manual/string.texi: Document MTASC-safety properties.
44719         * manual/threads.texi: Document MTASC-safety properties.
44721         * manual/stdio.texi: Document MTASC-safety properties.
44723         * manual/syslog.texi: Document MTASC-safety properties.
44725         * manual/sysinfo.texi: Document MTASC-safety properties.
44727         * manual/startup.texi: Document MTASC-safety properties.
44729         * manual/socket.texi: Document MTASC-safety properties.
44731         * manual/signal.texi: Document MTASC-safety properties.
44733 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44735         * manual/setjmp.texi: Document MTASC-safety properties.
44737         * manual/search.texi: Document MTASC-safety properties.
44739         * manual/resource.texi: Document MTASC-safety properties.
44741         * manual/process.texi: Document MTASC-safety properties.
44743         * manual/platform.texi: Document MTASC-safety properties.
44745         * manual/pipe.texi: Document MTASC-safety properties.
44747         * manual/pattern.texi: Document MTASC-safety properties.
44749         * manual/message.texi: Document MTASC-safety properties.
44751         [BZ #12751]
44752         * manual/memory.texi: Document MTASC-safety properties.
44754         * manual/math.texi: Document MTASC-safety properties.
44756         * manual/locale.texi: Document MTASC-safety properties.
44758         * manual/llio.texi: Document MTASC-safety properties.
44760         * manual/libdl.texi: New.
44762         * manual/lang.texi: Document MTASC-safety properties.
44764         * manual/job.texi: Document MTASC-safety properties.
44766         * manual/getopt.texi: Document MTASC-safety properties.
44768         * manual/ctype.texi: Document MTASC-safety properties.
44770 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44772         [BZ #16046]
44773         * csu/libc-tls.c (static_map): Remove variable.
44774         (__libc_setup_tls): Use main executable's link map for TLS data.
44775         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44776         casing for LM_ID_BASE and GL(dl_nns).
44777         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44778         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44779         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44780         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44781         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44782         member.
44783         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44784         l_phnum members.
44786 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44788         * manual/debug.texi: Document MTASC-safety properties.
44790 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44792         [BZ #16510]
44793         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44794         of __x86_64__ when disabling x87 inline functions.
44796 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
44798         * manual/charset.texi: Document MTASC-safety properties.
44800         * manual/crypt.texi: Document MTASC-safety properties.
44802         * manual/conf.texi: Document MTASC-safety properties.
44804         * manual/arith.texi: Document MTASC-safety properties.
44806         * manual/argp.texi: Document MTASC-safety properties.
44808         * manual/macros.texi: Introduce macros to document multi
44809         thread, asynchronous signal and asynchronous cancellation
44810         safety properties.
44811         * manual/intro.texi: Introduce the properties themselves.
44813 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44815         * sysdeps/sh/sh4/Makefile: New file.
44817 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
44819         * math/gen-libm-test.pl ($srcdir): New variable.
44820         ($auto_input): Use it.
44822 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44824         [BZ #16506]
44825         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
44826         access beyond array bounds when parsing netgroups file.
44828         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
44829         the old buffer before realloc.
44831 2014-01-27  Allan McRae  <allan@archlinux.org>
44833         * po/fr.po: Update French translation from translation project.
44835 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44837         * sysdeps/sh/libm-test-ulps: Regenerate.
44839 2014-01-24  David S. Miller  <davem@davemloft.net>
44841         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
44843 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44845         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
44846         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
44848 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44850         [BZ #16474]
44851         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
44852         string pointers after reallocation.
44854 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44856         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
44857         __SH4A__ instead of __SH_FPU_ANY__.
44859 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44861         * sysdeps/sh/fpu_control.h: New file.
44862         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
44863         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
44864         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44865         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
44866         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
44867         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
44868         * sysdeps/sh/sys/ucontext.h: Remove.
44869         * sysdeps/sh/sys: Remove directory.
44871 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44873         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44874         s390/sys/ucontext.h.
44875         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
44876         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
44878 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
44880         [BZ #15605]
44881         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
44883 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44885         [BZ#16431]
44886         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44887         Adjust the vDSO correctly for internal calls.
44888         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
44890 2014-01-20  Allan McRae  <allan@archlinux.org>
44892         * po/ca.po: Update Catalan translation from translation project.
44894 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
44896         * sysdeps/s390/sotruss-lib.c: New file.
44898 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44900         [BZ#16430]
44901         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
44902         (__GI___gettimeofday): Alias for a different internal symbol to avoid
44903         local calls issues by not having a PLT stub required for IFUNC calls.
44904         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
44906 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
44908         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
44909         * math/test-fpucw-static.c: Likewise.
44911 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44913         [BZ #16453]
44914         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
44916 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44918         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
44919         implementation for powerpc.
44921 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
44923         [BZ #14782]
44924         * sysdeps/posix/system.c (__libc_system): Do not enable
44925         asynchronous cancellation.
44927 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44929         [BZ #16427]
44930         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
44931         handling only for numbers special also in the IEEE case.
44933 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44935         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44937 2014-01-11  Allan McRae  <allan@archlinux.org>
44939         * po/bg.po: Update Bulgarian translation from translation project.
44941         * po/de.po: Update German translation from translation project.
44943 2014-01-10  Roland McGrath  <roland@hack.frob.com>
44945         * sysdeps/generic/gcc-compat.h: New file.
44947 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44949         * benchtests/asin-inputs: Correct slow inputs.
44950         * benchtests/acos-inputs: Likewise.
44952 2014-01-10  Allan McRae  <allan@archlinux.org>
44954         * po:sv.po: Update Swedish translation from translation project.
44956         * po/vi.po: Update Vietnamese translation from translation project.
44958         * po/eo.po: Update Esperanto translation from translation project.
44960         * po/cs.po: Update Czech translation from translation project.
44962         * po/nl.po: Update Dutch translation from translation project.
44964         * po/pl.po: Update Polish translation from translation project.
44966         * po/ru.po: Update Russian translation from translation project.
44968         * po/uk.po: Update Ukrainian translation from translation project.
44970 2014-01-08  Brooks Moses  <bmoses@google.com>
44972         * elf/dl-load.c: Fix comment typo.
44974 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
44976         * po/header.pot: Rename to...
44977         * po/pot.header: ... this.
44978         * po/Makefile: Use pot.header.
44980 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
44981             Maxim Kuvyrkov  <maxim@kugelworks.com>
44983         [BZ #16394]
44984         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44985         SRC and DEST against LEN.
44987 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44989         [BZ #16414]
44990         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44991         implementation.
44992         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44994 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44998 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45000         [BZ #16408]
45001         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45002         for large positive arguments.
45004 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45006         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45008         * math/auto-libm-test-in: Mark various tests with
45009         xfail-rounding:ldbl-128ibm.
45010         * math/auto-libm-test-out: Regenerated.
45012         [BZ #16407]
45013         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45014         Increase overflow threshold.
45016 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45018         [BZ #14286]
45019         * stdio-common/vfprintf.c: Check for integer overflow.
45021 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45023         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45024         the first argument and return value of __tls_get_addr_internal.
45026 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45028         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45029         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45031 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45033         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45034         * sysdeps/s390/rtld-global-offsets.sym: New file.
45035         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45036         GLIBC_2.19 symbol.
45037         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45038         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45039         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45040         ... this.
45041         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45042         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45043         ... this.
45044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45045         Regenerate.
45046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45047         Regenerate.
45048         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45049         halfs of GPRs for high_gprs contexts.
45050         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45051         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45052         field.
45053         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45054         uc_flags field.
45055         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45056         64 bit versions:
45057         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45058         for high GPRs (uc_high_gprs) and for future extensions
45059         (__reserved).
45060         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45061         for future extensions (__reserved).
45062         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45063         64 bit versions:
45064         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45065         SC_HIGHGPRS offset definition.
45066         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45067         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45069         * Versions.def: Add GLIBC_2.19 for libpthread.
45070         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45071         siglongjmp for libpthread with GLIBC_2.19 symver.
45072         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45073         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45074         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45075         * sysdeps/s390/__longjmp.c: New file.
45076         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45077         * sysdeps/s390/longjmp.c: New file.
45078         * sysdeps/s390/setjmp.S: New file.
45079         * sysdeps/s390/sigjmp.S: New file.
45080         * sysdeps/s390/v1-longjmp.c: New file.
45081         * sysdeps/s390/v1-setjmp.h: New file.
45082         * sysdeps/s390/v1-sigjmp.c: New file.
45083         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45084         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45085         GLIBC_2.19 version.
45086         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45087         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45088         versioned symbols for ____longjmp_chk.
45089         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45090         Likewise.
45091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45092         Regenerate.
45093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45094         Regenerate.
45095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45096         Regenerate.
45097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45098         Regenerate.
45099         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45100         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45101         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45102         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45103         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45104         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45105         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45106         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45107         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45108         * sysdeps/s390/rtld-__longjmp.c: New file.
45109         * sysdeps/s390/rtld-setjmp.S: New file.
45111 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45113         [BZ #16400]
45114         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45115         Return -__logl (x) for small positive arguments without evaluating
45116         a polynomial.
45118 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45120         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45121         Rename to ...
45122         (__ptrace_peeksiginfo_args): ... this.
45123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45124         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45125         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45127 2014-01-06  Allan McRae  <allan@archlinux.org>
45129         * inet/netinet/in.h: Fix typo in comment.
45131 2014-01-05  Andreas Jaeger  <aj@suse.de>
45133         * sysdeps/i386/fpu/libm-test-ulps: Update.
45135 2014-01-05  Allan McRae  <allan@archlinux.org>
45137         * po/libc.pot: Regenerated.
45139         * malloc/memusagestat.c: Fix gettext call formatting.
45141 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45143         * nscd/nscd.c: Improve usage() output.
45145 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45147         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45148         * sysdeps/unix/sysv/linux/configure: Regenerated.
45149         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45150         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45152 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45154         [BZ #16390]
45155         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45156         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45158 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45160         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45161         extra tokens at end of #undef directive.
45162         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45163         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45164         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45166 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45168         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45170         * math/auto-libm-test-in: Mark various tests with
45171         xfail-rounding:ldbl-128ibm.
45172         * math/auto-libm-test-out: Regenerated.
45174 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45176         [BZ #16386]
45177         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45178         numbers with subnormal high part when calculating exponent.
45180         [BZ #16385]
45181         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45182         fabs.
45184         [BZ #16384]
45185         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45186         M_LN2l.
45187         (__ieee754_acoshl): Use __log1pl not __log1p.
45189 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45191         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45192         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45193         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45194         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45195         (reused_arena, arena_get2): Convert to GNU style.
45196         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45197         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45198         (memalign_check, __malloc_set_state): Likewise.
45199         * malloc/mallocbug.c (main): Likewise.
45200         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45201         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45202         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45203         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45204         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45205         (__posix_memalign, malloc_info): Likewise.
45206         * malloc/malloc.h: Likewise.
45207         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45208         (mallochook, memalignhook, reallochook, mabort): Likewise.
45209         * malloc/mcheck.h: Likewise.
45210         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45211         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45212         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45213         * malloc/morecore.c (__default_morecore): Likewise.
45214         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45215         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45216         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45217         (print_and_abort): Likewise.
45218         * malloc/obstack.h: Likewise.
45219         * malloc/set-freeres.c (__libc_freeres): Likewise.
45220         * malloc/tst-mallocstate.c (main): Likewise.
45221         * malloc/tst-mtrace.c (main): Likewise.
45222         * malloc/tst-realloc.c (do_test): Likewise.
45224 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45226         [BZ #16366]
45227         * nscd/netgroupcache.c (do_notfound): New function.
45228         (addgetnetgrentX): Use it.
45230         [BZ # 16365]
45231         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45232         NSS_STATUS_NOTFOUND.
45234 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45236         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45239 2014-01-01  Allan McRae  <allan@archlinux.org>
45241         * scripts/update-copyrights: Update configure input file suffix.
45243         * NEWS: Update copyright year.
45244         * catgets/gencat.c: Likewise.
45245         * csu/version.c: Likewise.
45246         * debug/catchsegv.sh: Likewise.
45247         * debug/pcprofiledump.c: Likewise.
45248         * debug/xtrace.sh: Likewise.
45249         * elf/ldconfig.c: Likewise.
45250         * elf/ldd.bash.in: Likewise.
45251         * elf/pldd.c: Likewise.
45252         * elf/sotruss.ksh: Likewise.
45253         * elf/sprof.c: Likewise.
45254         * iconv/iconv_prog.c: Likewise.
45255         * iconv/iconvconfig.c: Likewise.
45256         * locale/programs/locale.c: Likewise.
45257         * locale/programs/localedef.c: Likewise.
45258         * login/programs/pt_chown.c: Likewise.
45259         * malloc/memusage.sh: Likewise.
45260         * malloc/memusagestat.c: Likewise.
45261         * malloc/mtrace.pl: Likewise.
45262         * manual/libc.texinfo: Likewise.
45263         * nscd/nscd.c: Likewise.
45264         * nss/getent.c: Likewise.
45265         * nss/makedb.c: Likewise.
45266         * posix/getconf.c: Likewise.
45267         * scripts/test-installation.pl: Likewise.
45269         * All files with FSF copyright notices: Update copyright dates
45270         using scripts/update-copyrights.
45271         * intl/plural.c: Regenerated.
45272         * locale/programs/charmap-kw.h: Likewise.
45273         * locale/programs/locfile-kw.h: Likewise.
45275 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45277         * sysdeps/unix/sysv/linux/configure: Regenerated.
45278         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45279         the linux/fanotify.h header.
45280         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45281         HAVE_LINUX_FANOTIFY_H is defined.
45283 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45285         * benchtests/cos-inputs: New inputs.
45286         * benchtests/sin-inputs: Likewise.
45288         * benchtests/atan-inputs: New inputs. Fix name of multiple
45289         precision fallback inputs.
45291         * benchtests/atanh-inputs: New inputs.
45292         * benchtests/tanh-inputs: Likewise.
45294         * benchtests/acosh-inputs: New inputs.
45295         * benchtests/asinh-inputs: Likewise.
45297         * benchtests/cosh-inputs: New inputs.
45298         * benchtests/sinh-inputs: Likewise.
45300         * benchtests/acos-inputs: Add more inputs.
45301         * benchtests/asin-inputs: Likewise.
45303 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45305         [BZ #16375]
45306         * manual/arith.texi: Fix spelling.
45307         * manual/charset.texi: Likewise.
45308         * manual/errno.texi: Likewise.
45309         * manual/filesys.texi: Likewise.
45310         * manual/lang.texi: Likewise.
45311         * manual/llio.texi: Likewise.
45312         * manual/locale.texi: Likewise.
45313         * manual/message.texi: Likewise.
45314         * manual/resource.texi: Likewise.
45315         * manual/search.texi: Likewise.
45316         * manual/setjmp.texi: Likewise.
45317         * manual/stdio.texi: Likewise.
45318         * manual/string.texi: Likewise.
45319         * manual/sysinfo.texi: Likewise.
45320         * manual/time.texi: Likewise.
45322 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45324         * po/sl.po: New file.
45326 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45328         * .gitignore: Add core/.gdbinit/.gdb_history.
45330 2013-12-27  Allan McRae  <allan@archlinux.org>
45332         [BZ #16369]
45333         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45334         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45336 2013-12-24  Brooks Moses  <bmoses@google.com>
45338         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45339         all compilers that claim C++98 compliance, not just GCC.
45340         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45341         Likewise.
45343 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45345         * NEWS: Restore accidentally deleted bug-fix entries.
45347 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45348             Ondřej Bílka  <neleai@seznam.cz>
45350         [BZ #15073]
45351         * malloc/malloc.c (_int_free): Perform sanity check only if we
45352         have_lock.
45354 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45356         [BZ #12986]
45357         * manual/stdio.texi (String Input Conversions): Clarify that character
45358         classes are not supported.
45360 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45364 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45366         [BZ #16337]
45367         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45368         Calculate results for small negative arguments directly rather
45369         than using reflection formula with special underflow handling.
45371         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45372         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45373         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45374         (fchflags): Likewise.
45375         (revoke): Likewise.
45376         (setlogin): Likewise.
45377         (sigaltstack): Likewise.
45378         (wait4): Likewise.
45379         (sigblock): Remove.
45380         (sigsetmask): Likewise.
45381         (wait3): Likewise.
45382         (waitpid): Likewise.
45383         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45384         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45385         file.
45386         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45387         * sysdeps/unix/bsd/Makefile: ... here.
45388         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45389         * sysdeps/unix/bsd/Versions: ... here.
45390         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45391         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45392         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45393         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45394         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45395         * sysdeps/unix/bsd/sigblock.c: ... here.
45396         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45397         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45398         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45399         * sysdeps/unix/bsd/sigvec.c: ... here.
45400         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45401         * sysdeps/unix/bsd/tcdrain.c: ... here.
45402         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45403         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45404         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45405         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45406         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45407         * sysdeps/unix/bsd/wait.c: ... here.
45408         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45409         * sysdeps/unix/bsd/wait3.c: ... here.
45410         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45411         * sysdeps/unix/bsd/waitpid.c: ... here.
45413 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45415         [BZ #16356]
45416         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45417         round-to-nearest for [!USE_AS_EXPM1L].
45418         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45419         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45420         more tests of exp and exp10.  Expect some exp10 tests to miss
45421         exceptions or fail in directed rounding modes.
45422         * math/auto-libm-test-out: Regenerated.
45423         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45424         (exp10_test_tonearest): New function.
45425         (exp10_towardzero_test_data): New array.
45426         (exp10_test_towardzero): New function.
45427         (exp10_downward_test_data): New array.
45428         (exp10_test_downward): New function.
45429         (exp10_upward_test_data): New array.
45430         (exp10_test_upward): New function.
45431         (main): Call the new functions.
45432         * sysdeps/i386/fpu/libm-test-ulps: Update.
45433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45435 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45437         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45438         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45439         * math/auto-libm-test-out: Regenerated.
45440         * math/libm-test.inc (acosh_test_data): Add more tests.
45441         (atanh_test_data): Likewise.
45442         (ceil_test_data): Likewise.
45443         (copysign_test_data): Likewise.
45444         * sysdeps/i386/fpu/libm-test-ulps: Update.
45445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45447         * timezone/checktab.awk: Update from tzcode 2013i.
45448         * timezone/private.h: Likewise.
45449         * timezone/scheck.c: Likewise.
45450         * timezone/tzfile.h: Likewise.
45451         * timezone/tzselect.ksh: Likewise.
45452         * timezone/zdump.c: Likewise.
45453         * timezone/zic.c: Likewise.
45455         * math/auto-libm-test-in: Add tests of cpow.
45456         * math/auto-libm-test-out: Regenerated.
45457         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45458         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45459         mpc_cc_c.
45460         (func_calc_desc): Add mpc_cc_c union field.
45461         (test_functions): Add cpow.
45462         (special_fill_2pi): New function.
45463         (special_real_inputs): Add 2pi.
45464         (calc_generic_results): Handle mpc_cc_c.
45465         * sysdeps/i386/fpu/libm-test-ulps: Update.
45466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45468         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45469         csqrt, ctan and ctanh.
45470         * math/auto-libm-test-out: Regenerated.
45471         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45472         (TEST_COND_x86): Likewise.
45473         (ccos_test_data): Use AUTO_TESTS_c_c.
45474         (ccosh_test_data): Likewise.
45475         (cexp_test_data): Likewise.
45476         (clog_test_data): Likewise.
45477         (csqrt_test_data): Likewise.
45478         (ctan_test_data): Likewise.
45479         (ctan_tonearest_test_data): Likewise.
45480         (ctan_towardzero_test_data): Likewise.
45481         (ctan_downward_test_data): Likewise.
45482         (ctan_upward_test_data): Likewise.
45483         (ctanh_test_data): Likewise.
45484         (ctanh_tonearest_test_data): Likewise.
45485         (ctanh_towardzero_test_data): Likewise.
45486         (ctanh_downward_test_data): Likewise.
45487         (ctanh_upward_test_data): Likewise.
45488         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45489         mpc_c_c.
45490         (func_calc_desc): Add mpc_c_c union field.
45491         (FUNC_mpc_c_c): New macro.
45492         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45493         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45494         ctanh.
45495         (special_fill_min_subnorm_p120): New function.
45496         (special_real_inputs): Add min_subnorm_p120.
45497         (calc_generic_results): Handle mpc_c_c.
45498         * sysdeps/i386/fpu/libm-test-ulps: Update.
45499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45501 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45503         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45504         (do_sin_slow): New functions.
45505         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45506         (cslow2, csloww1, csloww2): Use the new functions.
45508         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45509         Use M to change sign of result instead of X.  Assume X is
45510         positive.
45511         (csloww1): Likewise.
45512         (__sin): Adjust.
45513         (__cos): Adjust.
45515         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45516         arguments A and DA.
45517         (__sin): Adjust.
45518         (__cos): Likewise.
45520         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45521         (__cos): Likewise.
45522         (sloww1): Don't adjust sign of DX.
45523         (csloww1): Likewise.
45524         (sloww2): Use X directly and don't adjust sign of DX.
45525         (csloww2): Likewise.
45527 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45529         * math/auto-libm-test-in: Add tests of cabs and carg.
45530         * math/auto-libm-test-out: Regenerated.
45531         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45532         (carg_test_data): Likewise.
45533         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45534         mpc_c_f.
45535         (func_calc_desc): Add mpc_c_f union field.
45536         (test_functions): Add cabs and carg.
45537         (calc_generic_results): Handle mpc_c_f.
45539         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45540         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45541         as a macro and a compat symbol.
45542         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45543         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45544         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45545         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45546         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45547         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45548         not use .hidden.
45549         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45550         Likewise.
45551         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45552         Likewise.
45553         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45554         Likewise.
45555         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45556         Likewise.
45557         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45558         Likewise.
45559         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45560         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45561         from GLIBC_2.3.2.
45563 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45567 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45569         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45570         trailing whitespace removed.
45571         * scripts/config.guess: Update to version 2013-11-29.
45572         * scripts/config.sub: Update to version 2013-10-01.
45574         * math/auto-libm-test-in: Add tests of sincos.
45575         * math/auto-libm-test-out: Regenerated.
45576         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45577         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45578         mpfr_f_11.
45579         (func_calc_desc): Add mpfr_f_11 union field.
45580         (test_functions): Add sincos.
45581         (calc_generic_results): Handle mpfr_f_11.
45582         * sysdeps/i386/fpu/libm-test-ulps: Update.
45583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45585 2013-12-19  Andreas Schwab  <schwab@suse.de>
45587         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45588         CALL_MCOUNT.
45589         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45590         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45591         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45593 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45595         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45596         * sysdeps/i386/fpu/libm-test-ulps: Update.
45597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45599         [BZ #16293]
45600         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45601         round-to-nearest mode when using frndint.
45602         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45603         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45604         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45605         Likewise.
45606         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45607         sinh test to fail.
45608         * math/auto-libm-test-out: Regenerated.
45609         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45610         (TEST_COND_x86): Likewise.
45611         (expm1_tonearest_test_data): New array.
45612         (expm1_test_tonearest): New function.
45613         (expm1_towardzero_test_data): New array.
45614         (expm1_test_towardzero): New function.
45615         (expm1_downward_test_data): New array.
45616         (expm1_test_downward): New function.
45617         (expm1_upward_test_data): New array.
45618         (expm1_test_upward): New function.
45619         (main): Run the new test functions.
45620         * sysdeps/i386/fpu/libm-test-ulps: Update.
45621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45623         * include/features.h: Update comment documenting feature test
45624         macros.  Mention _DEFAULT_SOURCE in comment.
45625         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45626         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45627         _BSD_SOURCE and _SVID_SOURCE.
45628         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45629         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45630         !_SVID_SOURCE]: Likewise.
45631         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45632         (__USE_POSIX_IMPLICITLY): Define.
45633         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45634         (_POSIX_SOURCE): Undefine and redefine.
45635         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45636         (_POSIX_C_SOURCE): Likewise.
45637         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45638         (Feature Test Macros): Update documentation of default features.
45640 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45642         * benchtests/Makefile: Add bench-strtok.
45643         * benchtests/bench-strtok.c: New file: strtok benchtest.
45645 2013-12-19  Allan McRae  <allan@archlinux.org>
45647         * manual/install.texi: Suppress menu for plain text output.
45648         * INSTALL: Regenerated.
45650 2013-12-18  Brooks Moses  <bmoses@google.com>
45652         [BZ #15846]
45653         * misc/getauxval.c: Include errno.h.
45654         (__getauxval): Set errno to ENOENT if the requested type is not
45655         found.
45656         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45657         don't declare with __attribute_const__.
45658         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45659         * manual/startup.texi: Document that getauxval sets errno.
45661 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45663         * math/auto-libm-test-in: Add tests of jn and yn.
45664         * math/auto-libm-test-out: Regenerated.
45665         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45666         (yn_test_data): Likewise.
45667         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45668         mpfr_if_f.
45669         (func_calc_desc): Add mpfr_if_f union field.
45670         (FUNC_mpfr_if_f): New macro.
45671         (test_functions): Add jn and yn.
45672         (calc_generic_results): Assert type of second input for
45673         mpfr_ff_f.  Handle mpfr_if_f.
45674         (output_for_one_input_case): Disable all checking for arguments
45675         fitting floating-point types in case of an integer argument.
45676         * sysdeps/i386/fpu/libm-test-ulps: Update.
45677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45680         Don't expect fegetround reference in libm.so.
45682 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45684         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45685         $(config-cflags-nofma).
45687 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45689         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45690         * math/auto-libm-test-out: Regenerated.
45692         [BZ #16338]
45693         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45694         to determine exponent and adjust argument to have exponent of -1.
45695         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45696         log2.
45697         * math/auto-libm-test-out: Regenerated.
45698         * sysdeps/i386/fpu/libm-test-ulps: Update.
45699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45701 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45703         * manual/probes.texi: Remove cases when per-thread arenas are
45704         disabled.
45706 2013-12-18  Andreas Schwab  <schwab@suse.de>
45708         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45709         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45710         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45711         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45712         * sysdeps/i386/i686/multiarch/Makefile: Update.
45713         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45715 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45717         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45718         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45720 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45722         [BZ #15968]
45723         Support TZ transition times < 00:00:00.
45724         This is needed for version-3 tz-format files; it supports time
45725         stamps past 2037 for America/Godthab (the only entry in the tz
45726         database for which this change is relevant).
45727         * manual/time.texi (TZ Variable): Document transition times
45728         from -167:59:59 through -00:00:01.
45729         * time/tzset.c (tz_rule): Time of day is now signed.
45730         (__tzset_parse_tz): Parse negative time of day.
45732         Document TZ transition times >= 25:00:00.
45733         * manual/time.texi (TZ Variable): Document transition times from
45734         25:00:00 through 167:59:59.  These are already supported, and this
45735         support will help with version-3 tz-format files.
45737         * manual/time.texi (TZ Variable): Modernize North America example
45738         to reflect current (i.e., 2007-and-later) daylight saving rules.
45740         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45742 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45744         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45745         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45746         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45747         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45748         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45749         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45750         * sysdeps/unix/bsd/clock.c: Likewise.
45751         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45752         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45753         * sysdeps/unix/bsd/init-posix.c: Likewise.
45754         * sysdeps/unix/bsd/poll.c: Likewise.
45755         * sysdeps/unix/bsd/ptsname.c: Likewise.
45756         * sysdeps/unix/bsd/seekdir.c: Likewise.
45757         * sysdeps/unix/bsd/setegid.c: Likewise.
45758         * sysdeps/unix/bsd/seteuid.c: Likewise.
45759         * sysdeps/unix/bsd/setgid.c: Likewise.
45760         * sysdeps/unix/bsd/setrgid.c: Likewise.
45761         * sysdeps/unix/bsd/setruid.c: Likewise.
45762         * sysdeps/unix/bsd/setsid.c: Likewise.
45763         * sysdeps/unix/bsd/setuid.c: Likewise.
45764         * sysdeps/unix/bsd/sigaction.c: Likewise.
45765         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45766         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45767         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45768         * sysdeps/unix/bsd/telldir.c: Likewise.
45769         * sysdeps/unix/bsd/times.c: Likewise.
45770         * sysdeps/unix/bsd/usleep.c: Likewise.
45772         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45773         ($(objpfx)libbsd-compat.a): Remove rule.
45775         * include/features.h (__FAVOR_BSD): Do not define.
45776         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45777         features conflicting with POSIX.
45778         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45779         (_BSD_SOURCE): Remove description of not being a subset of other
45780         feature test macros.
45781         * manual/job.texi (getpgrp): Do not document BSD version.
45782         (getpgid): Do not document by reference to BSD getpgrp.
45783         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45784         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45785         * signal/signal.h [__FAVOR_BSD]: Likewise.
45786         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45787         instead of making contents conditional on [__FAVOR_BSD].
45788         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45790 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45794 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45796         [BZ #16314]
45797         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
45798         values below 2**-450, not 2**-500.
45799         * math/auto-libm-test-in: Don't allow spurious underflow from
45800         hypot.
45801         * math/auto-libm-test-out: Regenerated.
45803         [BZ #16316]
45804         [BZ #16330]
45805         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
45806         values of ha and hb and sort them after adjusting subnormal
45807         arguments.
45808         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
45809         Likewise.
45810         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
45811         values of ea and eb and sort them after adjusting subnormal
45812         arguments.
45813         * math/auto-libm-test-in: Do not expect some hypot tests of
45814         subnormals to fail.  Add more hypot tests.
45815         * math/auto-libm-test-out: Regenerated.
45817 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45819         [BZ #13304]
45820         * sysdeps/sh/s_fma.c: New file.
45821         * sysdeps/sh/s_fmaf.c: New file.
45822         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
45823         version.
45824         * sysdeps/sh/Implies: Add sh/soft-fp.
45826 2013-12-16  Roland McGrath  <roland@hack.frob.com>
45828         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
45829         level of indirection to members `objname', `errstring', `malloced'.
45830         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
45831         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
45832         it as the __longjmp argument (just pass 1 instead).
45833         (_dl_catch_error): Initialize C with argument pointers and address of
45834         volatile local ERRCODE rather than copying values out of C at return.
45836 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
45838         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
45839         * math/auto-libm-test-out: Regenerated.
45840         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
45841         (hypot_test_data): Likewise.
45842         (pow_test_data): Likewise.
45843         (pow_tonearest_test_data): Likewise.
45844         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45845         mpfr_ff_f.
45846         (func_calc_desc): Add mpfr_ff_f union field.
45847         (FUNC_mpfr_ff_f): New macro.
45848         (test_functions): Add atan2, hypot and pow.
45849         (special_fill_min): New function.
45850         (special_fill_minus_min): Likewise.
45851         (special_fill_min_subnorm): Likewise.
45852         (special_fill_minus_min_subnorm): Likewise.
45853         (special_real_inputs): Add min, -min, min_subnorm and
45854         -min_subnorm.
45855         (calc_generic_results): Handle mpfr_ff_f.
45856         * sysdeps/i386/fpu/libm-test-ulps: Update.
45857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45859 2013-12-16  Will Newton  <will.newton@linaro.org>
45861         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
45862         (Aligned Memory Blocks): Add documentation for aligned_alloc
45863         and suggest it as an alternative to posix_memalign.
45864         (Hooks for Malloc): Document __memalign_hook is also called
45865         for aligned_alloc.  (Summary of Malloc): Add summary for
45866         aligned alloc.  Document __memalign_hook is also called
45867         for aligned_alloc.
45869 2013-12-16  Will Newton  <will.newton@linaro.org>
45871         * manual/memory.texi (Malloc Examples): Clarify default
45872         alignment documentation.  Suggest posix_memalign rather
45873         than memalign or valloc.
45874         (Aligned Memory Blocks): Remove suggestion to use memalign
45875         or valloc.  Remove obsolete comment about BSD.
45876         Document memalign errno values and mark the function obsolete.
45877         Document posix_memalign returned error codes.  Mark valloc
45878         as obsolete.  (Hooks for Malloc): __memalign_hook is also
45879         called for posix_memalign and valloc.
45880         (Summary of Malloc): Add posix_memalign to function summary.
45881         __memalign_hook is also called for posix_memalign and valloc.
45883 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45885         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
45886         TAYLOR_SIN.
45887         (__sin): Adjust.
45888         (__cos): Likewise.
45889         (sloww): Use mynumber union.  Expand ternary operator into
45890         if-else statements.
45891         (cslow): use mynumber union.
45893 2013-12-16  Allan McRae  <allan@archlinux.org>
45895         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
45896         * configure: Regenerated.
45898         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
45900         [BZ #14120]
45901         * configure.ac: Added --enable-maintainer-mode. Check for
45902         autoconf when enabled.
45903         * configure: Regenerated.
45905         * nscd/nscd.service: New file.
45906         * nscd/nscd.tmpfiles: New file.
45908 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
45910         [BZ #12100]
45911         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
45912         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45913         * sysdeps/x86_64/multiarch/strstr.c: ... here.
45914         (strstr): Add __strstr_sse2_unaligned ifunc.
45915         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
45916         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
45917         (strcasestr): Remove __strcasestr_sse42 ifunc.
45918         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
45919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45922 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45924         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
45925         * sysdeps/sh/bits/fenv.h: ... here.
45926         * sysdeps/sh/sh4/fpu/bits: Remove directory.
45928 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45930         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
45932         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
45933         hypotf multiarch implementations.
45934         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45935         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
45936         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
45937         multiarch hypot for PPC64.
45938         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
45939         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45940         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
45941         multiarch hypotf for PPC64.
45943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
45944         modff multiarch implementations.
45945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
45946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
45947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
45948         multiarch modf for PPC64.
45949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
45950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
45951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
45952         multiarch modff for PPC64.
45954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
45955         and logl multiarch implementations.
45956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
45957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
45958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
45959         multiarch logb for PPC64.
45960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
45961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
45962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
45963         multiarch logb for PPC64.
45964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
45965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
45967         multiarch logb for PPC64.
45969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
45970         isinff multiarch implementation.
45971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
45972         file.
45973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
45974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
45975         multiarch isinf for PPC64.
45976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45977         file.
45978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45979         multiarch isinff for PPC64.
45981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45982         finitef multiarch implementation.
45983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45984         file.
45985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45987         multiarch finite for PPC64.
45988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45989         file.
45990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45991         multiarch finitef for PPC64.
45993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45994         lrint multiarch implementation.
45995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45996         file.
45997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45999         multiarch llrint for PPC64.
46000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46001         multiarch lrint for PPC64.
46003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46004         copysignf multiarch implementation.
46005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46006         file.
46007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46008         file.
46009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46010         multiarch copysign for PPC64.
46011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46012         multiarch copysignf for PPC64.
46014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46015         multiarch implementation.
46016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46017         file.
46018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46019         file.
46020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46021         file.
46022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46023         file.
46024         multiarch llround for PPC64.
46025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46026         multiarch trunc for PPC64.
46027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46028         multiarch truncf for PPC64.
46030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46031         multiarch implementation.
46032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46033         file.
46034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46035         file.
46036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46037         file.
46038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46039         file.
46040         multiarch llround for PPC64.
46041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46042         multiarch round for PPC64.
46043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46044         multiarch roundf for PPC64.
46046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46047         multiarch implementation.
46048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46049         file.
46050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46051         file.
46052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46053         file.
46054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46055         file.
46056         multiarch llround for PPC64.
46057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46058         multiarch floor for PPC64.
46059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46060         multiarch floorf for PPC64.
46062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46063         multiarch implementation.
46064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46065         file.
46066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46067         file.
46068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46069         file.
46070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46071         file.
46072         multiarch llround for PPC64.
46073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46074         multiarch ceil for PPC64.
46075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46076         multiarch ceilf for PPC64.
46078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46079         multiarch implementation.
46080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46081         file.
46082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46083         file.
46084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46085         file.
46086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46087         multiarch llround for PPC64.
46088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46089         multiarch lround for PPC64.
46091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46092         multiarch implementation.
46093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46096         file.
46097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46100         multiarch isnan for PPC64.
46101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46102         multiarch isnanf for PPC64.
46104         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46105         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46106         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46107         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46108         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46111         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46112         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46113         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46114         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46117         multiarch implementations.
46118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46119         (__libc_ifunc_impl_list): Likewise.
46120         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46121         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46122         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46123         multiarch stpcpy for PPC64.
46125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46126         multiarch implementations.
46127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46128         (__libc_ifunc_impl_list): Likewise.
46129         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46130         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46131         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46132         multiarch strcpy for PPC64.
46134         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46135         redefine function name.
46136         (_wordcopy_fwd_dest_aligned): Likewise.
46137         (_wordcopy_bwd_aligned): Likewise.
46138         (_wordcopy_bwd_dest_aligned): Likewise.
46139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46140         multiarch implementations.
46141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46142         (__libc_ifunc_impl_list): Likewise.
46143         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46144         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46145         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46146         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46147         multiarch wcscpy for PPC64.
46149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46150         multiarch implementations.
46151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46152         (__libc_ifunc_impl_list): Likewise.
46153         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46154         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46155         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46156         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46157         multiarch wcscpy for PPC64.
46159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46160         multiarch implementations.
46161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46162         (__libc_ifunc_impl_list): Likewise.
46163         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46164         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46165         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46166         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46167         multiarch wcsrchr for PPC64.
46169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46170         multiarch implementations.
46171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46172         (__libc_ifunc_impl_list): Likewise.
46173         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46174         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46175         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46176         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46177         multiarch wcschr for PPC64.
46179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46180         multiarch implementations.
46181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46182         (__libc_ifunc_impl_list): Likewise.
46183         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46184         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46185         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46186         multiarch strchrnul for PPC64.
46188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46189         implementations.
46190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46191         (__libc_ifunc_impl_list): Likewise.
46192         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46193         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46194         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46195         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46196         strchr for PPC64.
46198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46199         implementations.
46200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46201         (__libc_ifunc_impl_list): Likewise.
46202         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46203         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46204         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46205         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46206         strncmp for PPC64.
46208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46209         multiarch implementations.
46210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46211         (__libc_ifunc_impl_list): Likewise.
46212         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46213         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46214         strncasecmp for PPC64.
46215         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46216         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46217         multiarch strncasecmp_l for PPC64.
46219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46220         multiarch implementations.
46221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46222         (__libc_ifunc_impl_list): Likewise.
46223         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46224         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46225         multiarch strcasecmp for PPC64.
46226         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46227         file.
46228         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46229         multiarch strcasecmp_l for PPC64.
46231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46232         implementations.
46233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46234         (__libc_ifunc_impl_list): Likewise.
46235         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46236         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46237         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46238         strnlen for PPC64.
46240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46241         implementations.
46242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46243         (__libc_ifunc_impl_list): Likewise.
46244         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46245         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46246         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46247         strlen for PPC64.
46249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46250         implementations.
46251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46252         (__libc_ifunc_impl_list): Likewise.
46253         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46254         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46255         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46256         rawmemrchr for PPC64.
46258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46259         implementation.
46260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46261         (__libc_ifunc_impl_list): Likewise.
46262         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46263         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46264         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46265         memrchr for PPC64.
46267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46268         implementation.
46269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46270         (__libc_ifunc_impl_list): Likewise.
46271         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46272         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46273         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46274         memchr for PPC64.
46276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46277         implementation.
46278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46279         (__libc_ifunc_impl_list): Likewise.
46280         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46281         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46282         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46283         mempcpy for PPC64.
46285         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46286         avoid cretion of __bzero symbol.
46287         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46288         Likewise.
46289         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46290         Likewise.
46291         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46292         Likewise.
46293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46294         multiarch implementations.
46295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46296         (__libc_ifunc_impl_list): Likewise.
46297         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46298         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46299         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46300         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46301         bzero for PPC32.
46302         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46303         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46304         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46305         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46306         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46307         memset for PPC64.
46308         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46310         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46312         implementations.
46313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46314         (__libc_ifunc_impl_list): Likewise.
46315         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46316         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46317         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46318         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46319         memcmp for PPC64.
46321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46322         multiarch for POWER/PPC64.
46323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46324         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46325         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46326         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46327         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46328         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46329         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46330         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46331         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46332         memcpy for PPC64.
46334         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46335         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46336         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46337         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46338         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46339         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46340         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46341         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46342         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46343         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46344         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46345         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46346         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46347         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46348         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46357 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46359         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46361 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46363         * benchtests/Makefile (bench): Add exp2 and log2.
46364         (LDLIBS-bench-exp2): Add -lm.
46365         (LDLIBS-bench-log2): Likewise.
46366         * benchtests/exp2-inputs: New inputs file.
46367         * benchtests/log2-inputs: New inputs file.
46368         * benchtests/log-inputs: Add new inputs.
46369         * benchtests/tan-inputs: Likewise.
46371 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46373         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46374         definition...
46375         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46376         (csloww2): ... from here.
46378         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46379         instead of structures.
46380         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46381         (POLYNOMIAL): Likewise.
46382         (TAYLOR_SLOW): Likewise.
46383         (__sin): Likewise.
46384         (__cos): Likewise.
46385         (slow1): Likewise.
46386         (slow2): Likewise.
46387         (sloww): Likewise.
46388         (sloww1); Likewise.
46389         (sloww2): Likewise.
46390         (bsloww1): Likewise.
46391         (bsloww2): Likewise.
46392         (cslow2): Likewise.
46393         (csloww): Likewise.
46394         (csloww1): Likewise.
46395         (csloww2): Likewise.
46397 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46399         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46400         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46401         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46402         * malloc/hooks.c (realloc_check): Likewise.
46404         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46405         * malloc/arena.c: Remove PER_THREAD conditional.
46406         [!PER_THREAD]: Remove code.
46407         (ptmalloc_unlock_all2): Likewise.
46408         (ptmalloc_init): Likewise.
46409         (_int_new_arena): Likewise.
46410         (arena_get2): Likewise.
46411         * malloc/hooks.c (__malloc_get_state): Likewise.
46412         (__malloc_set_state): Likewise.
46413         * malloc/malloc.c: Likewise.
46414         (struct malloc_state): Likewise.
46415         (struct malloc_par): Likewise.
46416         (__libc_realloc): Likewise.
46417         (__libc_mallopt): Likewise.
46419 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46421         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46423 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46425         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46426         macro to a function.  Check for zero perturb_byte.
46427         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46429         * malloc/malloc.c: (force_reg): Remove.
46430         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46431         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46432         force_reg by atomic_forced_read.
46433         * malloc/arena.c (ptmalloc_init): Likewise.
46434         * malloc/hooks.c (top_check): Likewise.
46436 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46440 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46444 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46446         * math/auto-libm-test-in: Add tests of lgamma.
46447         * math/auto-libm-test-out: Regenerated.
46448         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46449         (M_LOG_2_SQRT_PIl): Likewise.
46450         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46451         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46452         mpfr_f_f1.
46453         (func_calc_desc): Add mpfr_f_f1 union field.
46454         (ARGS1): New macro.
46455         (ARGS2): Likewise.
46456         (ARGS3): Likewise.
46457         (ARGS4): Likewise.
46458         (RET1): Likewise.
46459         (RET2): Likewise.
46460         (CALC): Likewise.
46461         (FUNC): Likewise.
46462         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46463         (test_functions): Add lgamma.
46464         (calc_generic_results): Handle mpfr_f_f1.
46465         * sysdeps/i386/fpu/libm-test-ulps: Update.
46466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46468 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46470         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46471         __mpn_add_n for PowerPC64/POWER7.
46472         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46473         __mpn_sub_n for PowerPC64/POWER7.
46475         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46476         __mpn_addmul_1 for PowerPC64.
46477         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46478         __mpn_submul_1 for PowerPC64.
46479         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46480         for PowerPC64.
46481         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46482         for PowerPC64.
46484 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46486         [BZ #15089]
46487         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46489 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46491         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46493         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46494         add multiarch folders.
46495         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46496         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46497         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46498         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46499         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46500         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46501         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46502         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46503         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46504         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46505         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46514         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46516         New file.
46517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46518         New file.
46519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46520         multiarch __ieee754_hypot for PowerPC32.
46521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46522         New file.
46523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46524         New file.
46525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46526         multiarch __ieee754_hypotf for PowerPC32.
46528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46529         long_double_symbol only if __logbl is defined.
46530         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46531         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46532         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46533         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46534         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46535         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46536         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46537         path for implementation.
46538         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46539         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46541         logb, and logbl multiarch implementations for PowerPC32.
46542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46543         file.
46544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46545         file.
46546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46547         multiarch logb for PowerPC32.
46548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46549         file.
46550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46551         file.
46552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46553         multiarch logbf for PowerPC32.
46554         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46556         file.
46557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46558         multiarch logbl implementation for PowerPC32.
46560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46561         and modff multiarch implementations.
46562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46563         New file.
46564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46565         New file.
46566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46567         multiarch modf for PowerPC32.
46568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46569         New file.
46570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46571         New file.
46572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46573         multiarch modff for PowerPC32.
46575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46576         and lrintf multiarch implementations.
46577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46578         New file.
46579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46580         New file.
46581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46582         multiarch lrint for PowerPC32.
46583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46584         file: multiarch lrintf for PowerPC32.
46586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46587         and lroundf multiarch implementations.
46588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46589         New file.
46590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46591         New file.
46592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46593         New file.
46594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46595         multiarch lround for PowerPC32.
46596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46597         file: multiarch lroundf for PowerPC32.
46599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46600         copysign and copysignf multiarch implementations.
46601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46602         New file.
46603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46604         New file.
46605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46606         file: multiarch copysign for PowerPC32.
46607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46608         file: multiarch copysignf for PowerPC32.
46610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46611         and truncf multiarch implementations.
46612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46613         New file.
46614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46615         file.
46616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46617         multiarch trunc for PowerPC32.
46618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46619         New file.
46620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46621         New file.
46622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46623         multiarch truncf for PowerPC32.
46625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46626         and roundf multiarch implementations.
46627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46628         New file.
46629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46630         file.
46631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46632         multiarch round for PowerPC32.
46633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46634         New file.
46635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46636         New file.
46637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46638         multiarch roundf for PowerPC32.
46640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46641         and floorf multiarch implementations.
46642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46643         New file.
46644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46645         file.
46646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46647         multiarch floor for PowerPC32.
46648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46649         New file.
46650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46651         New file.
46652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46653         multiarch floorf for PowerPC32.
46655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46656         and ceilf multiarch implementations.
46657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46658         New file.
46659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46660         file.
46661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46662         multiarch ceil for PowerPC32.
46663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46664         New file.
46665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46666         file.
46667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46668         multiarch ceilf for PowerPC32.
46670         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46671         is defined.
46672         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46673         FINITEF is defined.
46674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46675         and finitef multiarch implementations.
46676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46677         New file.
46678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46679         file.
46680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46681         multiarch finite for PowerPC32.
46682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46683         New file.
46684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46685         file: multiarch finitef for PowerPC32.
46687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46688         and isinff multiarch implementations.
46689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46690         file.
46691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46692         file.
46693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46694         multiarch isinf for PowerPC32.
46695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46696         New file.
46697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46698         multiarch isinff for PowerPC32.
46700         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46701         alias when __isnan is defined.
46702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46703         and isnanf multiarch implementations.
46704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46705         file.
46706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46707         file.
46708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46709         file.
46710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46711         file.
46712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46713         multiarch isnan for PowerPC32.
46714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46715         New file.
46716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46717         New file.
46718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46719         multiarch isnanf for PowerPC32.
46721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46722         and sqrtf multiarch implementations.
46723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46724         file.
46725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46726         file.
46727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46728         multiarch sqrt for PowerPC32.
46729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46730         file.
46731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46732         file.
46733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46734         multiarch sqrtf for PowerPC32.
46736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46737         and llroundf multiarch implementations.
46738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46739         New file.
46740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46741         New file.
46742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46743         New file.
46744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46745         file: multiarch llround for PowerPC32.
46746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46747         file: multiarch llroundf for PowerPC32.
46749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46750         multiarch PowerPC32 fpu implementations.
46751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46752         New file.
46753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46754         New file.
46755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46756         multiarch llrint for PowerPC32.
46757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46758         New file.
46759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46760         New file.
46761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46762         file.
46764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46766         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46767         file.
46768         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46769         file.
46770         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46771         file.
46772         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46773         multiarch wordcopy for PPC32.
46774         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46775         wordcopy objects.
46776         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46777         (__libc_ifunc_impl_list): Likewise.
46778         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46779         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46780         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46781         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46782         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46783         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46785         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46787         file.
46788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46789         file.
46790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46791         file.
46792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46793         multiarch wcscpy for PPC32.
46794         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46795         multiarch objects.
46796         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46797         (__libc_ifunc_impl_list): Likewise.
46798         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46799         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46800         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
46801         sysdeps/powerpc/power6/wcscpy.c.
46803         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
46804         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
46805         file.
46806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
46807         file.
46808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
46809         file.
46810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
46811         multiarch wcsrchr for PPC32.
46812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46813         multiarch objects.
46814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46815         (__libc_ifunc_impl_list): Likewise.
46816         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46817         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46818         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
46819         sysdeps/powerpc/power6/wcsrchr.c.
46821         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
46822         file.
46823         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
46824         file.
46825         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
46826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
46827         multiarch wcschr for PPc32.
46828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46829         multiarch objects.
46830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46831         (__libc_ifunc_impl_list): Likewise.
46832         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
46833         * sysdeps/powerpc/power6/wcschr.c: ... to here.
46834         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
46835         sysdeps/powerpc/power6/wcschr.c.
46837         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
46838         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
46839         file.
46840         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
46841         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46842         file: multiarch strchr for PPC32.
46843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
46844         multiarch objects.
46845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46846         (__libc_ifunc_impl_list): Likewise.
46848         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
46849         name.
46850         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
46851         file.
46852         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
46853         file.
46854         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
46855         multiarch strchrnul for PPC32.
46856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
46857         multiarch objects.
46858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46859         (__libc_ifunc_impl_list): Likewise.
46861         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
46862         file.
46863         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
46864         multiarch strncasecmp for PPC32.
46865         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
46866         file.
46867         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
46868         multiarch strncasecmp_l for PPC32.
46869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
46870         strncasecmp multiarch objects.
46871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46872         (__libc_ifunc_impl_list): Likewise.
46874         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
46875         file.
46876         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
46877         multiarch strncasecmp for PPC32.
46878         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46879         New file.
46880         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
46881         multiarch strcasecmp_l for PPC32.
46882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
46883         multiarch objects.
46884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46885         (__libc_ifunc_impl_list): Likewise.
46887         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
46888         file.
46889         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
46890         file.
46891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
46892         multiarch strncmp for PPC32.
46893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
46894         multiarch objects.
46895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46896         (__libc_ifunc_impl_list): Likewise.
46898         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
46899         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
46900         file.
46901         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
46902         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
46903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
46904         multiarch objects.
46905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46906         (__libc_ifunc_impl_list): Likewise.
46908         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
46909         file.
46910         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
46911         file.
46912         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
46913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
46914         multiarch objects.
46915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46916         (__libc_ifunc_impl_list): Likewise.
46918         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
46919         file.
46920         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
46921         file.
46922         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
46923         multiarch rawmemchr for PPC32.
46924         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
46925         multiarch objects.
46926         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46927         (__libc_ifunc_impl_list): Likewise.
46929         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
46930         file.
46931         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
46932         file.
46933         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
46934         file: memrchr multiarch for PPC32.
46935         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
46936         multiarch objects.
46937         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46938         (__libc_ifunc_impl_list): Likewise.
46940         * string/memchr.c (__memchr): Using macro to redefine symbol name.
46941         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
46942         file.
46943         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
46944         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
46945         multiarch memchr for PPC32.
46946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
46947         multiarch objects.
46948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46949         (__libc_ifunc_impl_list): Likewise.
46951         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
46952         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
46953         file.
46954         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46955         file.
46956         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
46957         file: multiarch mempcpy for PPC32.
46958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
46959         multiarch objects.
46960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46961         (__libc_ifunc_impl_list): Likewise.
46963         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
46964         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
46965         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
46966         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
46967         multiarch bzero for PPC32.
46968         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
46969         file.
46970         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
46971         file.
46972         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
46973         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
46974         file: multiarch memset for PPC32.
46975         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
46976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46977         memset multiarch objects.
46978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46979         (__libc_ifunc_impl_list): Likewise.
46981         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46982         file.
46983         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46984         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46985         memcmp for PPC32.
46986         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46987         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46988         multiarch objects.
46989         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46990         (__libc_ifunc_impl_list): Likewise.
46992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46993         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46994         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46995         file.
46996         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46997         file.
46998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46999         file.
47000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47001         multiarch memcpy for PPC32.
47002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47003         multiarch objects.
47004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47005         (__libc_ifunc_impl_list): Likewise.
47007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47008         support multiarch for POWER/PPC32.
47009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47010         Likewise.
47011         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47013         Implies file to make multiarch folder appers before the fpu and
47014         default folder for power4 configuration.
47016 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47018         * scripts/bench.pl: Append volatile keyword to type.
47020 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47022         * sysdeps/sh/sotruss-lib.c: New file.
47023         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47025 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47029 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47031         [BZ #6810]
47032         * math/w_tgamma.c: Include <errno.h>.
47033         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47034         * math/w_tgammaf.c: Include <errno.h>.
47035         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47036         * math/w_tgammal.c: Include <errno.h>.
47037         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47038         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47039         underflow.  Add more tgamma tests.
47040         * math/auto-libm-test-out: Regenerated.
47041         * sysdeps/i386/fpu/libm-test-ulps: Update.
47042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47044         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47045         sin, sinh, tan, tanh, tgamma, y0 and y1.
47046         * math/auto-libm-test-out: Regenerated.
47047         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47048         (TEST_COND_x86): Likewise.
47049         (M_E2l): Remove macro.
47050         (M_E3l): Likewise.
47051         (M_2_SQRT_PIl): Likewise.
47052         (M_SQRT_PIl): Likewise.
47053         (M_1_DIV_El): Likewise.
47054         (log_test_data): Use AUTO_TESTS_f_f.
47055         (log10_test_data): Likewise.
47056         (log1p_test_data): Likewise.
47057         (log2_test_data): Likewise.
47058         (sin_test_data): Likewise.
47059         (sin_tonearest_test_data): Likewise.
47060         (sin_towardzero_test_data): Likewise.
47061         (sin_downward_test_data): Likewise.
47062         (sin_upward_test_data): Likewise.
47063         (sinh_test_data): Likewise.
47064         (sinh_tonearest_test_data): Likewise.
47065         (sinh_towardzero_test_data): Likewise.
47066         (sinh_downward_test_data): Likewise.
47067         (sinh_upward_test_data): Likewise.
47068         (tan_test_data): Likewise.
47069         (tan_tonearest_test_data): Likewise.
47070         (tan_towardzero_test_data): Likewise.
47071         (tan_downward_test_data): Likewise.
47072         (tan_upward_test_data): Likewise.
47073         (tanh_test_data): Likewise.
47074         (tgamma_test_data): Likewise.
47075         (y0_test_data): Likewise.
47076         (y1_test_data): Likewise.
47077         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47078         (special_real_inputs): Add pi/4.
47079         * sysdeps/i386/fpu/libm-test-ulps: Update.
47080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47082 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47084         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47085         "longjmp_target" static probes.
47086         (__longjmp): Rename to __longjmp_symbol.
47087         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47088         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47089         on which longjmp to generate.
47090         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47091         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47092         probe.
47093         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47094         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47095         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47096         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47097         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47098         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47100         __longjmp_symbol based on which __longjmp to generate.
47101         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47102         probe.
47103         (setjmp): Rename to setjmp_symbol.
47104         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47105         (_setjmp): Rename to _setjmp_symbol.
47106         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47107         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47108         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47109         which setjmp to generate.
47110         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47111         "longjmp_target" static probes.
47113 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47115         * benchtests/README: Add note about output arguments.
47116         * benchtests/bench-sincos.c: Remove file.
47117         * benchtests/sincos-inputs: New file.
47118         * scripts/bench.pl: Identify output arguments and define
47119         static variables for them.
47121         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47123         [BZ #15941]
47124         * Makefile (INSTALL): Add install-plain.texi as the primary
47125         dependency.
47126         * manual/install-plain.texi: New file.
47127         * manual/install.texi: Include node directive only for
47128         non-plaintext output.
47130 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47132         * stdlib/longlong.h: Update from GCC.
47134         [BZ #6807]
47135         [BZ #15901]
47136         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47137         * math/w_j0f.c (y0f): Likewise.
47138         * math/w_j0l.c (__y0l): Likewise.
47139         * math/w_j1.c (y1): Likewise.
47140         * math/w_j1f.c (y1f): Likewise.
47141         * math/w_j1l.c (__y1l): Likewise.
47142         * math/w_jn.c (yn): Likewise.
47143         * math/w_jnf.c (ynf): Likewise.
47144         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47145         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47146         value for Bessel function domain errors outside _SVID_ mode.
47147         Adjust sign of return value for yn (negative integer, 0).
47148         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47149         by zero in return for negative x and set sign appropriately for
47150         negative n.
47151         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47152         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47153         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47154         expectations in error cases.
47155         (y1_test_data): Likewise.
47156         (yn_test_data): Likewise.
47157         * sysdeps/i386/fpu/libm-test-ulps: Update.
47158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47160 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47162         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47163         "64" to "64-v1".  Add "64-v2".
47164         (abi-64-options): Rename to ...
47165         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47166         (abi-64-condition): Rename to ...
47167         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47168         (abi-64-ld-soname): Rename to ...
47169         (abi-64-v1-ld-soname): ... this.
47170         (abi-64-v2-options): Define.
47171         (abi-64-v2-condition): Likewise.
47172         (abi-64-v2-ld-soname): Likewise.
47173         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47174         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47179 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47180             Alan Modra  <amodra@gmail.com>
47182         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47183         New versions for use with the ELFv2 ABI.
47184         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47185         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47186         declaration.
47187         (struct La_ppc64v2_retval): Likewise.
47188         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47189         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47190         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47191         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47192         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47193         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47194         Do not save or restore CR.
47195         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47196         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47197         return values for ELFv2 ABI.  Fix location of FPR return registers.
47198         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47199         updated values for _CALL_ELF == 2.
47200         (La_regs, La_retval, int_retval): Likewise.
47202 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47204         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47205         (FRAME_MIN_SIZE_PARM): Likewise.
47206         (FRAME_BACKCHAIN): Likewise.
47207         (FRAME_CR_SAVE): Likewise.
47208         (FRAME_LR_SAVE): Likewise.
47209         (FRAME_TOC_SAVE): Likewise.
47210         (FRAME_PARM_SAVE): Likewise.
47211         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47212         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47213         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47214         (call_mcount_parm_offset): New macro.
47215         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47216         (PROF): Use symbolic stack frame offsets.
47217         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47218         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47219         Redefine in terms of FRAME_MIN_SIZE.
47220         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47221         (_dl_profile_resolve): Likewise.  Update comment.
47222         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47223         symbols stack frame offsets.
47224         (__sigsetjmp): Likewise.
47225         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47226         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47227         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47228         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47231         (FRAME_BACKCHAIN): Remove.
47232         (FRAME_CR_SAVE): Likewise.
47233         (FRAME_LR_SAVE): Likewise.
47234         (FRAME_COMPILER_DW): Likewise.
47235         (FRAME_LINKER_DW): Likewise.
47236         (FRAME_TOC_SAVE): Likewise.
47237         (FRAME_PARM_SAVE): Likewise.
47238         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47239         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47240         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47242         (CHECK_SP): Use symbolic stack frame offsets.
47243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47244         zone" instead of caller's parameter save area for temp storage.
47245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47246         Likewise.  Also, use symbolic stack frame offsets.
47247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47248         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47249         our own stack frame instead of the caller's.
47250         (__socket): Use symbolic stack frame offsets.
47252 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47253             Alan Modra  <amodra@gmail.com>
47255         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47256         Define.
47257         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47258         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47259         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47260         New function.
47261         (elf_machine_fixup_plt): Call it.
47262         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47263         reloc arguments.
47264         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47265         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47266         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47267         r2 before calling target.
47269 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47270             Alan Modra  <amodra@gmail.com>
47272         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47273         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47274         versions of macros to support ELFv2 ABI.
47275         (LOCALENTRY): New macro.
47276         (ENTRY, EALIGN): Use it.
47277         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47278         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47279         fall through into ENTRY entry point.
47280         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47281         Only define if _CALL_ELF != 2.
47283         (elf_machine_matches_host): Verify ABI version matches.
47284         (RTLD_START): Use LOCALENTRY.
47285         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47286         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47287         (PLT_ENTRY_WORDS): New macro.
47288         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47289         (elf_machine_runtime_setup): Support ELFv2 ABI.
47290         (elf_machine_fixup_plt): Likewise.
47291         (elf_machine_plt_conflict): Likewise.
47292         (resolve_ifunc): Likewise.
47293         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47294         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47295         Likewise.
47296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47297         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47299         (makecontext): Support ELFv2 ABI.
47300         * elf/elf.h (EF_PPC64_ABI): Define.
47302 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47304         * sysdeps/powerpc/powerpc64/sysdep.h
47305         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47306         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47307         (ENTRY) [ASSEMBLER]: ... but instead here ...
47308         (EALIGN) [ASSEMBLER]: ... and here.
47309         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47310         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47311         (ENTRY_2) [!ASSEMBLER]: Use it.
47312         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47313         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47314         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47315         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47316         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47318         Use PPC64_LOAD_FUNCPTR.
47320         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47322 2013-12-04  Alan Modra  <amodra@gmail.com>
47324         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47325         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47326         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47327         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47329         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47330         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47331         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47332         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47333         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47334         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47336 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47339         (__makecontext): Fix incorrect CFI when backtracing out of
47340         context created via makecontext.
47341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47342         (__setcontext): Fix incorrect CFI during switch to new context.
47343         (__novec_setcontext): Likewise.
47345 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47347         [BZ #4772]
47348         * time/strptime_l.c (__strptime_internal): Allow modifiers
47349         in strptime.
47350         * time/tst-strptime.c (day_tests): Add testcase.
47352 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47354         * scripts/bench.pl: Skip over blank lines.
47356 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47358         [BZ #926]
47359         * manual/time.texi (Calendar Time): Clarify what timezone functions
47360         use.
47362 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47366 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47368         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47369         implementation.
47370         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47371         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47372         * debug/memset_chk.c (__memset_chk): Likewise.
47373         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47374         * debug/strncpy_chk.c: Likewise.
47376 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47378         [BZ #15268]
47379         [BZ #15425]
47380         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47381         (__ieee754_exp): For possibly underflowing results, check size of
47382         result and force underflow exception if required.
47383         * math/auto-libm-test-in: Add more tests of exp.
47384         * math/auto-libm-test-out: Regenerated.
47385         * sysdeps/i386/fpu/libm-test-ulps: Update.
47386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47388         [BZ #16283]
47389         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47390         * math/w_exp2f.c (__exp2f): Likewise.
47391         * math/w_exp2l.c (__exp2l): Likewise.
47392         * math/auto-libm-test-in: Do not allow missing errno on exp2
47393         underflow.
47394         * math/auto-libm-test-out: Regenerated.
47396 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47398         [BZ #16274]
47399         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47400         handle filename validation.
47401         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47402         (do_open): Delete.
47404 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47406         [BZ #6786]
47407         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47408         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47409         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47410         <float.h>.
47411         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47412         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47413         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47414         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47415         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47416         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47417         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47418         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47419         Add more erfc tests.
47420         * math/auto-libm-test-out: Regenerated.
47421         * sysdeps/i386/fpu/libm-test-ulps: Update.
47422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47424         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47425         exp2, expm1, j0 and j1.
47426         * math/auto-libm-test-out: Regenerated.
47427         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47428         (erfc_test_data): Likewise.
47429         (exp_test_data): Likewise.
47430         (exp_tonearest_test_data): Likewise.
47431         (exp_towardzero_test_data): Likewise.
47432         (exp_downward_test_data): Likewise.
47433         (exp_upward_test_data): Likewise.
47434         (exp10_test_data): Likewise.
47435         (exp2_test_data): Likewise.
47436         (expm1_test_data): Likewise.
47437         (j0_test_data): Likewise.
47438         (j1_test_data): Likewise.
47439         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47440         (input_flag_type): Add flag_xfail_rounding.
47441         (input_flags): Add xfail-rounding.
47442         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47443         (output_for_one_input_case): Handle flag_xfail_rounding.
47444         * sysdeps/i386/fpu/libm-test-ulps: Update.
47445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47447 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47449         [BZ #16289]
47450         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47451         division by 0.
47453 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47455         [BZ #16195]
47456         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47457         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47458         (STAP_PROBE0): New macro.
47459         (STAP_PROBE1): Likewise.
47460         (STAP_PROBE2): Likewise.
47461         (STAP_PROBE3): Likewise.
47462         (STAP_PROBE4): Likewise.
47464 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47466         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47468 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47470         * benchtests/Makefile (bench): Add sqrt.
47471         (LDLIBS-bench-sqrt): New.
47472         * benchtests/sqrt-input: New.
47474 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47476         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47477         (GAIH_EAI): Likewise.
47478         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47479         (gaih_inet): Likewise.
47480         (getaddrinfo): Don't use GAIH_EAI.
47482         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47483         (struct gaih): Remove definition.
47485 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47487         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47488         Use HERRNOP directly.
47490 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47494 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47496         * math/gen-auto-libm-tests.c (test_functions): Add more
47497         single-argument functions.
47498         (special_fill_pi_2): New function.
47499         (special_fill_minus_pi_2): Likewise.
47500         (special_fill_pi_6): Likewise.
47501         (special_fill_minus_pi_6): Likewise.
47502         (special_fill_pi_3): Likewise.
47503         (special_fill_2pi_3): Likewise.
47504         (special_fill_e): Likewise.
47505         (special_fill_1_e): Likewise.
47506         (special_fill_e_minus_1): Likewise.
47507         (special_real_inputs): Add more special inputs.
47508         (output_for_one_input_case): Do not require ERANGE on underflow to
47509         zero if round-to-nearest result does not underflow to zero, unless
47510         exact results required.
47511         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47512         atan, atanh, cbrt, cos and cosh.
47513         * math/auto-libm-test-out: Regenerated.
47514         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47515         (acos_tonearest_test_data): Likewise.
47516         (acos_towardzero_test_data): Likewise.
47517         (acos_downward_test_data): Likewise.
47518         (acos_upward_test_data): Likewise.
47519         (acosh_test_data): Likewise.
47520         (asin_test_data): Likewise.
47521         (asin_tonearest_test_data): Likewise.
47522         (asin_towardzero_test_data): Likewise.
47523         (asin_upward_test_data): Likewise.
47524         (asinh_test_data): Likewise.
47525         (atan_test_data): Likewise.
47526         (atanh_test_data): Likewise.
47527         (cbrt_test_data): Likewise.
47528         (cos_test_data): Likewise.
47529         (cos_tonearest_test_data): Likewise.
47530         (cos_towardzero_test_data): Likewise.
47531         (cos_downward_test_data): Likewise.
47532         (cos_upward_test_data): Likewise.
47533         (cosh_test_data): Likewise.
47534         (cosh_tonearest_test_data): Likewise.
47535         (cosh_towardzero_test_data): Likewise.
47536         (cosh_downward_test_data): Likewise.
47537         (cosh_upward_test_data): Likewise.
47538         * sysdeps/i386/fpu/libm-test-ulps: Update.
47539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47541 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47543         [BZ #6787]
47544         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47545         * math/w_exp10f.c (__exp10f): Likewise.
47546         * math/w_exp10l.c (__exp10l): Likewise.
47547         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47548         errno settings in existing tests.
47550         [BZ #14032]
47551         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47552         precision control set to double precision.
47553         * sysdeps/i386/fpu/w_sqrt.c: New file.
47554         * math/auto-libm-test-in: Add more tests.
47555         * math/auto-libm-test-out: Update.
47557         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47558         (sqrt_test_tonearest): New function.
47559         (sqrt_towardzero_test_data): New variable.
47560         (sqrt_test_towardzero): New function.
47561         (sqrt_downward_test_data): New variable.
47562         (sqrt_test_downward): New function.
47563         (sqrt_upward_test_data): New variable.
47564         (sqrt_test_upward): New function.
47565         (main): Call the new functions.
47567         * math/gen-auto-libm-tests.c: New file.
47568         * math/auto-libm-test-in: Likewise.
47569         * math/auto-libm-test-out: New generated file.
47570         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47571         variables.
47572         (%beautify): Add generated representations of zero.
47573         (top level): Set $auto_input and call parse_auto_input.
47574         (beautify): Remove trailing "f" from hex float constants.
47575         (parse_args): Handle XFAIL_TEST.
47576         (convert_condition): New function.
47577         (or_value): Likewise.
47578         (or_cond_value): Likewise.
47579         (generate_testfile): Handle AUTO_TESTS_* lines.
47580         (parse_auto_input): New function.
47581         * math/libm-test.inc (XFAIL_TEST): New macro.
47582         (ERRNO_UNCHANGED): Update value.
47583         (ERRNO_EDOM): Likewise.
47584         (ERRNO_ERANGE): Likewise.
47585         (IGNORE_RESULT): Likewise.
47586         (TEST_COND_flt_32): New macro.
47587         (TEST_COND_dbl_64): Likewise.
47588         (TEST_COND_ldbl_96_intel): Likewise.
47589         (TEST_COND_ldbl_96_m68k): Likewise.
47590         (TEST_COND_ldbl_128): Likewise.
47591         (TEST_COND_ldbl_128ibm): Likewise.
47592         (TEST_COND_long32): Likewise.
47593         (TEST_COND_long64): Likewise.
47594         (TEST_COND_before_rounding): Likewise.
47595         (TEST_COND_after_rounding): Likewise.
47596         (enable_test): Handle XFAIL_TEST flag.
47597         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47598         with finite results.
47599         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47600         auto-libm-test-out.
47602 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47603             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47605         [BZ #16214]
47606         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47607         __tls_get_addr_internal instead of __tls_get_offset in order to
47608         avoid GOT pointer dependency.  Make rtld export
47609         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47610         __tls_get_addr since we are a __tls_get_offset platform.
47611         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47612         GOT pointer being set up before.
47613         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47615 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47617         * manual/math.texi (Errors in Math Functions): Document accuracy
47618         goals.
47620         [BZ #15004]
47621         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47622         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47623         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47624         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47625         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47626         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47627         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47628         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47629         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47630         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47631         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47632         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47633         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47634         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47635         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47636         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47638         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47639         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47640         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47641         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47642         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47643         Likewise.
47644         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47645         Likewise.
47646         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47647         Likewise.
47648         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47649         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47650         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47651         atomic-feupdateenv and flt-rounds.
47652         * sysdeps/powerpc/nofpu/Versions (libc): Add
47653         __atomic_feholdexcept, __atomic_feclearexcept,
47654         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47655         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47656         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47657         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47658         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47659         here.
47660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47661         Update.
47663         * manual/arith.texi (FP Exceptions): Document that exceptions may
47664         not be raised when matherr is used.
47665         (Math Error Reporting): Document overflow in directed rounding
47666         modes.  Document that errno may not be set when finite values are
47667         returned on overflow.  Document intent to set errno on underflow
47668         only for underflow to zero.
47670         [BZ #16271]
47671         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47672         round-to-nearest then adjust result for other rounding modes.
47673         * include/fenv.h (fegetround): Use libm_hidden_proto.
47674         * math/fegetround.c (fegetround): Use libm_hidden_def.
47675         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47676         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47677         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47678         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47679         Likewise.
47680         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47681         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47682         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47683         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47685 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47687         [BZ #16077]
47688         * nss/Versions (libnss_files): Add
47689         _nss_files_gethostbyname3_r.
47690         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47691         New function.
47692         (HOST_DB_LOOKUP): Remove macro.
47693         (_nss_files_gethostbyname_r): Implement function without the
47694         HOST_DB_LOOKUP macro.
47695         (_nss_files_gethostbyname2_r): Likewise.
47697 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47699         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47701 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47703         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47704         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47705         warning.
47707 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47709         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47710         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47711         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47712         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47713         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47714         __fe_nomask_env_priv and attribute_hidden.
47715         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47716         (libc_feupdateenv_test_ppc): Likewise.
47717         (libc_feresetround_ppc): Likewise.
47718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47719         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47720         compat_symbol macro.
47721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47722         (__fe_nomask_env): Likewise.
47723         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47725 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47727         * string/Makefile: Remove ifunc tests.
47728         * string/test-string.h: Define TEST_IFUNC.
47729         * string/test-bcopy-ifunc.c: Remove.
47730         * string/test-bzero-ifunc.c: Likewise.
47731         * string/test-memccpy-ifunc.c: Likewise.
47732         * string/test-memchr-ifunc.c: Likewise.
47733         * string/test-memcmp-ifunc.c: Likewise.
47734         * string/test-memcpy-ifunc.c: Likewise.
47735         * string/test-memmem-ifunc.c: Likewise.
47736         * string/test-memmove-ifunc.c: Likewise.
47737         * string/test-mempcpy-ifunc.c: Likewise.
47738         * string/test-memrchr-ifunc.c: Likewise.
47739         * string/test-memset-ifunc.c: Likewise.
47740         * string/test-rawmemchr-ifunc.c: Likewise.
47741         * string/test-stpcpy-ifunc.c: Likewise.
47742         * string/test-stpncpy-ifunc.c: Likewise.
47743         * string/test-strcasecmp-ifunc.c: Likewise.
47744         * string/test-strcasestr-ifunc.c: Likewise.
47745         * string/test-strcat-ifunc.c: Likewise.
47746         * string/test-strchr-ifunc.c: Likewise.
47747         * string/test-strchrnul-ifunc.c: Likewise.
47748         * string/test-strcmp-ifunc.c: Likewise.
47749         * string/test-strcpy-ifunc.c: Likewise.
47750         * string/test-strcspn-ifunc.c: Likewise.
47751         * string/test-strlen-ifunc.c: Likewise.
47752         * string/test-strncasecmp-ifunc.c: Likewise.
47753         * string/test-strncat-ifunc.c: Likewise.
47754         * string/test-strncmp-ifunc.c: Likewise.
47755         * string/test-strncpy-ifunc.c: Likewise.
47756         * string/test-strnlen-ifunc.c: Likewise.
47757         * string/test-strpbrk-ifunc.c: Likewise.
47758         * string/test-strrchr-ifunc.c: Likewise.
47759         * string/test-strspn-ifunc.c: Likewise.
47760         * string/test-strstr-ifunc.c: Likewise.
47762 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47764         * benchtests/Makefile: Remove ifunc tests.
47765         * benchtests/bench-string.h: Define TEST_IFUNC.
47766         * benchtests/bench-bcopy-ifunc.c: Remove.
47767         * benchtests/bench-bzero-ifunc.c: Likewise.
47768         * benchtests/bench-memccpy-ifunc.c: Likewise.
47769         * benchtests/bench-memchr-ifunc.c: Likewise.
47770         * benchtests/bench-memcmp-ifunc.c: Likewise.
47771         * benchtests/bench-memcpy-ifunc.c: Likewise.
47772         * benchtests/bench-memmem-ifunc.c: Likewise.
47773         * benchtests/bench-memmove-ifunc.c: Likewise.
47774         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47775         * benchtests/bench-memrchr-ifunc.c: Likewise.
47776         * benchtests/bench-memset-ifunc.c: Likewise.
47777         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47778         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47779         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47780         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47781         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47782         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47783         * benchtests/bench-strcat-ifunc.c: Likewise.
47784         * benchtests/bench-strchr-ifunc.c: Likewise.
47785         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47786         * benchtests/bench-strcmp-ifunc.c: Likewise.
47787         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47788         * benchtests/bench-strcpy-ifunc.c: Likewise.
47789         * benchtests/bench-strcspn-ifunc.c: Likewise.
47790         * benchtests/bench-strlen-ifunc.c: Likewise.
47791         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47792         * benchtests/bench-strncat-ifunc.c: Likewise.
47793         * benchtests/bench-strncmp-ifunc.c: Likewise.
47794         * benchtests/bench-strncpy-ifunc.c: Likewise.
47795         * benchtests/bench-strnlen-ifunc.c: Likewise.
47796         * benchtests/bench-strpbrk-ifunc.c: Likewise.
47797         * benchtests/bench-strrchr-ifunc.c: Likewise.
47798         * benchtests/bench-strsep-ifunc.c: Likewise.
47799         * benchtests/bench-strspn-ifunc.c: Likewise.
47800         * benchtests/bench-strstr-ifunc.c: Likewise.
47802 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47804         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
47806 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47808         * resolv/netdb.h: Use __glibc_reserved instead __unused.
47809         * rt/aio.h: Likewise.
47810         * sysdeps/gnu/bits/utmp.h: Likewise.
47811         * sysdeps/gnu/bits/utmpx.h: Likewise.
47812         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47813         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47814         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
47815         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
47816         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
47817         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
47818         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
47819         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
47820         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
47821         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
47822         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
47823         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
47824         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
47825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
47826         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47827         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
47828         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
47829         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
47830         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
47831         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
47832         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
47833         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
47834         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
47835         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47836         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
47837         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47838         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
47839         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
47840         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
47841         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
47842         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
47843         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
47844         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
47845         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47846         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
47847         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
47848         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
47849         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47850         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
47851         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
47852         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47853         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47855 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
47857         [BZ #16245]
47858         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
47859         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
47861 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
47863         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
47864         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
47865         Likewise.
47867 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47869         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
47870         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
47871         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
47872         (__fesetround): Remove define.
47873         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
47874         rounding and exceptions handling.
47875         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
47876         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
47877         (__fe_nomask_env): Likewise.
47878         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
47879         __fegetround instead of fegetround.
47880         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47881         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
47883 2013-11-21  Roland McGrath  <roland@hack.frob.com>
47885         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
47886         it's there.
47888         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
47890 2013-11-21  Meador Inge  <meadori@codesourcery.com>
47892         [BZ #11157]
47893         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
47894         (encrypt_r): Likewise.
47895         * malloc/obstack.h (obstack_free): Likewise.
47896         * posix/unistd.h (encrypt): Likewise.
47898 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
47900         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47901         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
47902         DL_CALL_DT_FINI() that call the functions directly.
47903         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
47904         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
47905         * elf/dl-fini.c: Likewise.
47907 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
47909         * malloc/hooks.c (memalign_check): Add alignment rounding.
47910         * malloc/malloc.c (_mid_memalign): New function.
47911         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
47912         Implement by calling _mid_memalign.
47913         * manual/probes.texi (Memory Allocation Probes): Remove
47914         memory_valloc_retry and memory_pvalloc_retry.
47916 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47918         * locale/programs/locarchive.c (open_archive): Add const
47919         qualifier to ARCHIVEFNAME and copy default fname to
47920         DEFAULT_FNAME.
47922         [BZ #15601]
47923         * libio/tst-widetext.input: Rename Oriya to Odia.
47924         * locale/iso-639.def: Likewise.
47926         * manual/probes.texi (Mathematical Function Probes): Add
47927         documentation for sin, cos, asin and acos probes.
47928         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47929         (__sin32): Add slowasin probe.
47930         (__cos32): Add slowacos probe.
47931         (__mpsin): Add slowsin probe.
47932         (__mpcos): Add slowcos probe.
47934 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
47936         [BZ #15483]
47937         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
47938         thread-local __sim_exceptions_thread and global
47939         __sim_exceptions_global.
47940         (__sim_disabled_exceptions): Change to thread-local
47941         __sim_disabled_exceptions_thread and global
47942         __sim_disabled_exceptions_global.
47943         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47944         and global __sim_round_mode_global.
47945         (__simulate_exceptions): Use thread-local floating-point state and
47946         set global state from it as needed.
47947         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
47948         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
47949         __sim_round_mode_thread.
47950         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
47951         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
47952         and global __sim_exceptions_global.
47953         (__sim_disabled_exceptions): Change to thread-local
47954         __sim_disabled_exceptions_thread and global
47955         __sim_disabled_exceptions_global.
47956         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47957         and global __sim_round_mode_global.
47958         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
47959         (SIM_SET_GLOBAL): Likewise.
47960         * sysdeps/powerpc/soft-fp/sfp-machine.h
47961         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47962         __sim_round_mode_thread.
47963         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
47964         __sim_disabled_exceptions_thread.
47965         (__sim_exceptions): Change to __sim_exceptions_thread.
47966         (__sim_disabled_exceptions): Change to
47967         __sim_disabled_exceptions_thread.
47968         (__sim_round_mode): Change to __sim_round_mode_thread.
47969         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
47970         thread-local floating-point state and set global state from it as
47971         needed.
47972         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
47973         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
47974         (__sim_disabled_exceptions): Remove extern declaration.
47975         (feenableexcept): Use thread-local floating-point state and set
47976         global state from it as needed.
47977         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47978         extern declaration.
47979         (__sim_disabled_exceptions): Likewise.
47980         (__sim_round_mode): Likewise.
47981         (__fegetenv): Use thread-local floating-point state.
47982         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47983         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47984         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47985         floating-point state and set global state from it as needed.
47986         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47987         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47988         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47989         Likewise.
47990         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47991         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47992         Likewise.
47993         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47994         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47995         Use __sim_round_mode_thread.
47996         * math/test-fenv-tls.c: New file.
47997         * math/Makefile (tests): Add test-fenv-tls.
47998         ($(objpfx)test-fenv-tls): Depend on
47999         $(common-objpfx)nptl/libpthread.so.
48001 2013-11-19  Andreas Schwab  <schwab@suse.de>
48003         * locale/programs/locale.c (show_info): Decode wordarray elements.
48004         * locale/categories.def (LC_MONETARY): Add element for
48005         _NL_MONETARY_CRNCYSTR.
48006         * locale/C-monetary.c (conversion_rate): New variable.
48007         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48008         element.
48010 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48012         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48013         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48015 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48017         * elf/Makefile (tst-auxv): New test.
48018         * elf/tst-auxv.c: New
48019         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48021 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48023         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48024         (hidden_proto): Caller changed.
48025         (hidden_tls_proto): New macro.
48026         (libc_hidden_tls_proto): Likewise.
48027         (rtld_hidden_tls_proto): Likewise.
48028         (libm_hidden_tls_proto): Likewise.
48029         (libresolv_hidden_tls_proto): Likewise.
48030         (librt_hidden_tls_proto): Likewise.
48031         (libdl_hidden_tls_proto): Likewise.
48032         (libnss_files_hidden_tls_proto): Likewise.
48033         (libnsl_hidden_tls_proto): Likewise.
48034         (libnss_nisplus_hidden_tls_proto): Likewise.
48035         (libutil_hidden_tls_proto): Likewise.
48037 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48039         [BZ #10253]
48040         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48041         (decompose_rpath): Defer expansion to fillin_rpath.
48042         (_dl_init_paths): Pass linkmap to fillin_rpath.
48044 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48046         * benchtests/Makefile: Add strsep.
48047         * benchtests/bench-strsep.c: New file: strsep benchtest.
48048         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48050 2013-11-18  Andreas Schwab  <schwab@suse.de>
48052         * locale/programs/locale.c (show_info) [case byte]: Check for
48053         '\377' instead of '\177'.
48054         * locale/C-monetary.c (not_available): Always use "\377".
48055         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48056         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48057         detect unavailable sign_posn locale elements.
48058         * locale/localeconv.c (__localeconv): For grouping and
48059         mon_grouping handle "\177" and "\377" like no grouping.
48060         (INT_ELEM): New macro.  Use it to set all numeric members.
48061         * locale/programs/ld-monetary.c (monetary_read)
48062         <tok_mon_grouping>: Normalize single -1 to the empty string.
48063         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48064         Likewise.
48066 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48068         [BZ #16055]
48069         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48070         when we match (nil).
48071         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48073 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48075         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48076         (NO_TEST_INLINE): Update value.
48077         (ERRNO_UNCHANGED): Likewise.
48078         (ERRNO_EDOM): Likewise.
48079         (ERRNO_ERANGE): Likewise.
48080         (IGNORE_RESULT): Likewise.
48081         (check_float_internal): Check signs of NaN results if
48082         TEST_NAN_SIGN used.
48083         (check_complex): Pass TEST_NAN_SIGN flag through to second
48084         check_float_internal call.
48085         (copysign_test_data): Add tests with quiet NaNs as second
48086         argument.  Use TEST_NAN_SIGN.
48087         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48088         TEST_NAN_SIGN.
48089         (signbit_test_data): Add tests of quiet NaN argument.
48090         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48092         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48093         $ignore_result.
48094         (parse_args): Handle function results specified as IGNORE.
48095         * math/libm-test.inc (IGNORE_RESULT): New macro.
48096         (check_float_internal): Do not check numerical result if flag
48097         IGNORE_RESULT set.
48098         (check_complex): Pass through IGNORE_RESULT to second
48099         check_float_internal call.
48100         (check_int): Do not check numerical result if flag IGNORE_RESULT
48101         set.
48102         (check_long): Likewise.
48103         (check_bool): Likewise.
48104         (check_longlong): Likewise.
48105         (lrint_test_data): Add tests of infinite and NaN arguments.
48106         (lrint_tonearest_test_data): Likewise.
48107         (lrint_towardzero_test_data): Likewise.
48108         (lrint_downward_test_data): Likewise.
48109         (lrint_upward_test_data): Likewise.
48110         (llrint_test_data): Likewise.
48111         (llrint_tonearest_test_data): Likewise.
48112         (llrint_towardzero_test_data): Likewise.
48113         (llrint_downward_test_data): Likewise.
48114         (llrint_upward_test_data): Likewise.
48115         (lround_test_data): Likewise.
48116         (llround_test_data): Likewise.
48118         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48119         (ERRNO_UNCHANGED): Update value.
48120         (ERRNO_EDOM): Likewise.
48121         (ERRNO_ERANGE): Likewise.
48122         (NO_TEST_INLINE_FLOAT): New macro.
48123         (NO_TEST_INLINE_DOUBLE): Likewise.
48124         (enable_test): New function.
48125         (RUN_TEST_f_f): Check enable_test before running test.
48126         (RUN_TEST_2_f): Likewise.
48127         (RUN_TEST_fff_f): Likewise.
48128         (RUN_TEST_c_f): Likewise.
48129         (RUN_TEST_f_f1): Likewise.
48130         (RUN_TEST_fF_f1): Likewise.
48131         (RUN_TEST_fI_f1): Likewise.
48132         (RUN_TEST_ffI_f1): Likewise.
48133         (RUN_TEST_c_c): Likewise.
48134         (RUN_TEST_cc_c): Likewise.
48135         (RUN_TEST_f_i): Likewise.
48136         (RUN_TEST_f_i_tg): Likewise.
48137         (RUN_TEST_ff_i_tg): Likewise.
48138         (RUN_TEST_f_b): Likewise.
48139         (RUN_TEST_f_b_tg): Likewise.
48140         (RUN_TEST_f_l): Likewise.
48141         (RUN_TEST_f_L): Likewise.
48142         (RUN_TEST_fFF_11): Likewise.
48143         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48144         conditionals.
48145         (cosh_test_data): Likewise.
48146         (exp_test_data): Likewise.
48147         (expm1_test_data): Likewise.
48148         (hypot_test_data): Likewise.
48149         (pow_test_data): Likewise.
48150         (sinh_test_data): Likewise.
48151         (tanh_test_data): Likewise.
48152         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48153         flags argument.
48155         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48156         tests with quiet NaN input and output.
48157         (acosh_test_data): Likewise.
48158         (asin_test_data): Likewise.
48159         (asinh_test_data): Likewise.
48160         (atan_test_data): Likewise.
48161         (atanh_test_data): Likewise.
48162         (atan2_test_data): Likewise.
48163         (cbrt_test_data): Likewise.
48164         (cos_test_data): Likewise.
48165         (cosh_test_data): Likewise.
48166         (erf_test_data): Likewise.
48167         (erfc_test_data): Likewise.
48168         (exp_test_data): Likewise.
48169         (exp10_test_data): Likewise.
48170         (exp2_test_data): Likewise.
48171         (expm1_test_data): Likewise.
48172         (hypot_test_data): Likewise.
48173         (j0_test_data): Likewise.
48174         (j1_test_data): Likewise.
48175         (jn_test_data): Likewise.
48176         (lgamma_test_data): Likewise.
48177         (log_test_data): Likewise.
48178         (log10_test_data): Likewise.
48179         (log1p_test_data): Likewise.
48180         (log2_test_data): Likewise.
48181         (pow_test_data): Likewise.
48182         (scalb_test_data): Likewise.
48183         (sin_test_data): Likewise.
48184         (sincos_test_data): Likewise.
48185         (sinh_test_data): Likewise.
48186         (tan_test_data): Likewise.
48187         (tanh_test_data): Likewise.
48188         (tgamma_test_data): Likewise.
48189         (y0_test_data): Likewise.
48190         (y1_test_data): Likewise.
48191         (yn_test_data): Likewise.
48193         [BZ #16167]
48194         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48195         argument being NaN and avoid computations with second argument in
48196         that case.
48197         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48198         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48199         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48201 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48203         * locale/iso-639.def: Add Chitwani Tharu (the).
48205 2013-11-14  Andreas Schwab  <schwab@suse.de>
48207         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48208         word instead of empty string.
48210 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48213         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48215         (__fe_nomask_env): Likewise.
48217 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48219         * benchtests/bench-timing.h: Include time.h.
48221 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48223         [BZ #15997]
48224         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48225         to 3.4.0 for x32.
48226         * sysdeps/unix/sysv/linux/configure: Regenerated.
48228 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48230         [BZ #16151]
48231         * stdlib/strtod_l.c (round_and_return): Do not consider
48232         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48233         exponent one less than half the least subnormal exponent.
48234         * stdlib/test-strtod-round-data: Add more tests.
48235         * stdlib/tst-strtod-round.c (tests): Regenerated.
48237 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48239         [BZ #14143]
48240         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48241         (__fe_mask_env): Likewise.
48242         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48243         libm_hidden_proto and add function prototype.
48244         (__fe_mask_env): Add function prototype.
48245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48246         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48248         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48250         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48252 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48254         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48255         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48257 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48259         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48260         of htab_find_slot().
48262 2013-11-11  David S. Miller  <davem@davemloft.net>
48264         [BZ #16150]
48265         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48266         symbol in the non-vis3 case in static builds.
48267         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48268         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48269         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48270         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48272 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48274         [BZ #387]
48275         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48276         it is empty.
48278 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48280         * benchtests/Makefile: Add bench-strtod.
48281         * benchtests/bench-strtod.c: New file: strtod benchtest
48283 2013-11-11  Andreas Schwab  <schwab@suse.de>
48285         [BZ #16153]
48286         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48287         terminating NUL in key length.
48289 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48291         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48292         Add artificial ODP entry for vDSO symbol for PPC64.
48293         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48294         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48296 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48298         [BZ #15374]
48299         * nss/getent.c (services_keys): Recognize services starting with digit.
48301 2013-11-06  David S. Miller  <davem@davemloft.net>
48303         [BZ #15985]
48304         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48305         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48307 2013-11-06  Will Newton  <will.newton@linaro.org>
48309         * manual/memory.texi (Malloc Examples): Remove register
48310         keyword from examples.
48312 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48314         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48316 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48318         [BZ #6981]
48319         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48320         depending on [__GCC_IEC_559 > 0].
48321         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48322         depending on [__GCC_IEC_559_COMPLEX > 0].
48324 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48326         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48327         to iso-639.def.
48329 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48331         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48333 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48335         [BZ #16112]
48336         * malloc/malloc (malloc_info): Do not handle first bin as
48337         special case.
48339 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48341         * locale/iso-639.def: Add Central Nahuatl (nhn).
48343 2013-11-01  Bruno Haible  <bruno@clisp.org>
48345         [BZ #7003]
48346         * manual/math.texi (BSD Random): Specify range upper bound as
48347         in POSIX.
48349 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48351         * locale/iso-639.def: Add Meadow Mari (mhr).
48353 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48355         [BZ #14752], [BZ #15763]
48356         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48357         Validate name.
48358         * rt/tst_shm.c: Add test for escaping directory.
48360 2013-10-31  Andreas Schwab  <schwab@suse.de>
48362         [BZ #15917]
48363         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48364         followed by 'x' as part of digit sequence.
48365         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48367 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48369         [BZ #16037]
48370         * configure.ac: allow GNU Make 4.0 and greater.
48371         * configure: Regenerated.
48373 2013-10-30  Will Newton  <will.newton@linaro.org>
48375         [BZ #16038]
48376         * malloc/hooks.c (memalign_check): Limit alignment to the
48377         maximum representable power of two.
48378         * malloc/malloc.c (__libc_memalign): Likewise.
48379         * malloc/tst-memalign.c (do_test): Add test for very
48380         large alignment values.
48381         * malloc/tst-posix_memalign.c (do_test): Likewise.
48383 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48385         [BZ #11087]
48386         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48387         (munmap_chunk): Likewise.
48388         (mremap_chunk): Likewise.
48390 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48392         [BZ #15799]
48393         * stdlib/div.c (div): Remove obsolete code.
48394         * stdlib/ldiv.c (ldiv): Likewise.
48395         * stdlib/lldiv.c (lldiv): Likewise.
48397 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48399         [BZ #16071]
48400         * nss/nss_files/files-XXX.c (get_contents_ret): New
48401         enumerator.
48402         (get_contents): New function.
48403         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48405 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48407         * configure.in: Moved to ...
48408         * configure.ac: ... here. Change reference to configure.in
48409         to configure.ac.
48410         * sysdeps/arm/preconfigure.ac: ... here.
48411         configure.in to configure.ac.
48412         * sysdeps/gnu/configure.in: Moved to ...
48413         * sysdeps/gnu/configure.ac: ... here.
48414         * sysdeps/i386/configure.in: Moved to ...
48415         * sysdeps/i386/configure.ac: ... here.
48416         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48417         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48418         * sysdeps/mach/configure.in: Moved to ...
48419         * sysdeps/mach/configure.ac: ... here.
48420         * sysdeps/mach/hurd/configure.in: Moved to ...
48421         * sysdeps/mach/hurd/configure.ac: ... here.
48422         * sysdeps/powerpc/configure.in: Moved to ...
48423         * sysdeps/powerpc/configure.ac: ... here.
48424         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48425         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48426         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48427         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48428         * sysdeps/s390/s390-32/configure.in: Moved to ...
48429         * sysdeps/s390/s390-32/configure.ac: ... here.
48430         * sysdeps/s390/s390-64/configure.in: Moved to ...
48431         * sysdeps/s390/s390-64/configure.ac: ... here.
48432         * sysdeps/sh/configure.in: Moved to ...
48433         * sysdeps/sh/configure.ac: ... here.
48434         * sysdeps/sparc/configure.in: Moved to ...
48435         * sysdeps/sparc/configure.ac: ... here.
48436         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48437         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48438         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48439         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48440         * sysdeps/x86_64/configure.in: Moved to ...
48441         * sysdeps/x86_64/configure.ac: ... here.
48442         * sysdeps/x86_64/preconfigure.in: Moved to ...
48443         * sysdeps/x86_64/preconfigure.ac: ... here.
48444         * aclocal.m4: Change reference to configure.in to configure.ac.
48445         * config.h.in: Likewise.
48446         * manual/install.texi: Likewise.
48447         * manual/maint.texi: Likewise.
48448         * Makefile: Likewise.
48449         * malloc/Makefile: Likewise.
48450         * nscd/Makefile: Likewise.
48451         * Makeconfig: Change reference to configure.in and
48452         preconfigure.in to configure.ac and preconfigure.ac
48453         respectively.
48454         * INSTALL: Regenerated.
48455         * configure: Likewise.
48456         * sysdeps/gnu/configure: Likewise.
48457         * sysdeps/i386/configure: Likewise.
48458         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48459         * sysdeps/mach/configure: Likewise.
48460         * sysdeps/mach/hurd/configure: Likewise.
48461         * sysdeps/powerpc/configure: Likewise.
48462         * sysdeps/powerpc/powerpc32/configure: Likewise.
48463         * sysdeps/powerpc/powerpc64/configure: Likewise.
48464         * sysdeps/s390/s390-32/configure: Likewise.
48465         * sysdeps/s390/s390-64/configure: Likewise.
48466         * sysdeps/sh/configure: Likewise.
48467         * sysdeps/sparc/configure: Likewise.
48468         * sysdeps/unix/sysv/linux/configure: Likewise.
48469         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48470         * sysdeps/x86_64/configure: Likewise.
48471         * sysdeps/x86_64/preconfigure: Likewise.
48473 2013-10-29  Andreas Schwab  <schwab@suse.de>
48475         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48477 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48479         * benchtests/pow-inputs: Add new inputs.
48481         * benchtests/exp-inputs: Add new inputs.
48483         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48484         conditional check for return value.
48485         (__cos32): Likewise.
48487 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48489         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48490         to provide a boost for large inputs with word alignment.
48491         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48492         implementation based on optimized PPC64 strcpy.
48493         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48494         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48495         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48496         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48498 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48500         [BZ #2801]
48501         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48503 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48505         [BZ #14876]
48506         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48507         * time/tst-strptime.c (day_tests): Add testcase.
48509 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48511         [BZ #14029]
48512         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48514 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48516         [BZ #16074]
48517         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48518         MAP_FAILED on error.
48520 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48522         [BZ #16072]
48523         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48524         heap for large requests.
48526 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48528         [BZ #9954]
48529         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48530         result if the result has no associated interface.
48531         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48532         interface for all 127.X.Y.Z addresses.
48534 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48536         * locale/iso-639.def: Add Ligurian (lij)
48538 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48540         [BZ #15825]
48541         * sunrpc/rpc_main.c: Document rpcgen -5.
48543 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48545         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48547 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48549         [BZ #10278]
48550         * posix/glob.c: Match only directories when trailing slash is present.
48551         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48552         (main): Add testcase.
48554 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48556         [BZ #15670]
48557         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48559 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48561         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48562         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48563         AUTH_DES and cindex for FIPS 140-2.
48564         (DES Encryption): Add cindex FIPS 46-3.
48566         * locale/locarchive.h (struct locarhandle): Add fname.
48567         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48568         if an optional argument was specified to --list-archive,
48569         otherwise NULL.
48570         * locale/programs/locarchive.c (show_archive_content): Take new
48571         argument fname and pass it via ah.fname to open_archive.
48572         * locale/programs/localedef.h: Update decl.
48573         (open_archive): If AH->fname is non-null, open that file
48574         rather than the default file name, and don't ignore ENOENT.
48575         (create_archive): Set AH.fname to NULL.
48576         (delete_locales_from_archive): Likewise.
48577         (add_locales_to_archive): Likewise.
48578         * locale/programs/locfile.c (write_all_categories): Likewise.
48580 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48581             Aldy Hernandez  <aldyh@redhat.com>
48583         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48584         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48585         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48586         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48587         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48588         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48589         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48590         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48591         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48592         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48593         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48594         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48595         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48596         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48597         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48598         Likewise.
48599         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48600         Likewise.
48601         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48602         Likewise.
48603         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48604         Likewise.
48605         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48606         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48607         Likewise.
48608         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48609         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48610         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48611         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48612         Likewise.
48613         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48614         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48615         * sysdeps/powerpc/preconfigure: Likewise.
48616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48617         Likewise.
48618         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48619         Replace contents of file by #include of <fenv_libc.h>.
48620         * sysdeps/powerpc/soft-fp/sfp-machine.h
48621         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48622         and <sys/prctl.h>.
48623         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48624         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48625         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48626         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48627         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48628         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48630         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48631         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48632         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48633         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48634         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48636         Allow copysignl PLT reference to be missing.
48638 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48639             Joseph Myers  <joseph@codesourcery.com
48641         [BZ #15948]
48642         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48643         single character.
48644         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48646 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48648         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48649         * elf/tst-tls1.c: Likewise.
48650         * elf/tst-tls10.h: Likewise.
48651         * elf/tst-tls14.c: Likewise.
48652         * elf/tst-tls2.c: Likewise.
48653         * elf/tst-tls3.c: Likewise.
48654         * elf/tst-tls4.c: Likewise.
48655         * elf/tst-tls5.c: Likewise.
48656         * elf/tst-tls6.c: Likewise.
48657         * elf/tst-tls7.c: Likewise.
48658         * elf/tst-tls8.c: Likewise.
48659         * elf/tst-tls9.c: Likewise.
48660         * elf/tst-tlsmod1.c: Likewise.
48661         * elf/tst-tlsmod13.c: Likewise.
48662         * elf/tst-tlsmod13a.c: Likewise.
48663         * elf/tst-tlsmod14a.c: Likewise.
48664         * elf/tst-tlsmod16a.c: Likewise.
48665         * elf/tst-tlsmod16b.c: Likewise.
48666         * elf/tst-tlsmod2.c: Likewise.
48667         * elf/tst-tlsmod3.c: Likewise.
48668         * elf/tst-tlsmod4.c: Likewise.
48669         * elf/tst-tlsmod5.c: Likewise.
48670         * elf/tst-tlsmod6.c: Likewise.
48672 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48674         [BZ #12486]
48675         * malloc/malloc.c: remove checks for statistics.
48677 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48679         [BZ #15277]
48680         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48681         * inet/tst-network.c: Add testcase.
48683 2013-10-17  Andreas Schwab  <schwab@suse.de>
48685         [BZ #15218]
48686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48687         to determine canonical name.
48689 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48691         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48692         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48693         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48694         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48695         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48696         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48697         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48698         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48699         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48700         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48701         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48702         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48703         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48704         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48705         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48706         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48707         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48708         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48709         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48710         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48711         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48712         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48713         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48714         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48715         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48716         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48717         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48718         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48719         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48720         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48721         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48722         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48723         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48724         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48725         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48726         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48727         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48728         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48729         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48730         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48731         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48732         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48733         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48734         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48735         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48736         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48737         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48738         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48739         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48740         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48741         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48742         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48743         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48744         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48745         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48746         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48748         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48750 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48752         [BZ #16041]
48753         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48754         make result into a quiet NaN.
48756 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48758         * soft-fp/adddf3.c: Fix horizontal whitespace.
48759         * soft-fp/addsf3.c: Likewise.
48760         * soft-fp/addtf3.c: Likewise.
48761         * soft-fp/divdf3.c: Likewise.
48762         * soft-fp/divsf3.c: Likewise.
48763         * soft-fp/divtf3.c: Likewise.
48764         * soft-fp/double.h: Likewise.
48765         * soft-fp/eqdf2.c: Likewise.
48766         * soft-fp/eqsf2.c: Likewise.
48767         * soft-fp/eqtf2.c: Likewise.
48768         * soft-fp/extenddftf2.c: Likewise.
48769         * soft-fp/extended.h: Likewise.
48770         * soft-fp/extendsfdf2.c: Likewise.
48771         * soft-fp/extendsftf2.c: Likewise.
48772         * soft-fp/extendxftf2.c: Likewise.
48773         * soft-fp/fixdfdi.c: Likewise.
48774         * soft-fp/fixdfsi.c: Likewise.
48775         * soft-fp/fixdfti.c: Likewise.
48776         * soft-fp/fixsfdi.c: Likewise.
48777         * soft-fp/fixsfsi.c: Likewise.
48778         * soft-fp/fixsfti.c: Likewise.
48779         * soft-fp/fixtfdi.c: Likewise.
48780         * soft-fp/fixtfsi.c: Likewise.
48781         * soft-fp/fixtfti.c: Likewise.
48782         * soft-fp/fixunsdfdi.c: Likewise.
48783         * soft-fp/fixunsdfsi.c: Likewise.
48784         * soft-fp/fixunsdfti.c: Likewise.
48785         * soft-fp/fixunssfdi.c: Likewise.
48786         * soft-fp/fixunssfsi.c: Likewise.
48787         * soft-fp/fixunssfti.c: Likewise.
48788         * soft-fp/fixunstfdi.c: Likewise.
48789         * soft-fp/fixunstfsi.c: Likewise.
48790         * soft-fp/fixunstfti.c: Likewise.
48791         * soft-fp/floatdidf.c: Likewise.
48792         * soft-fp/floatdisf.c: Likewise.
48793         * soft-fp/floatditf.c: Likewise.
48794         * soft-fp/floatsidf.c: Likewise.
48795         * soft-fp/floatsisf.c: Likewise.
48796         * soft-fp/floatsitf.c: Likewise.
48797         * soft-fp/floattidf.c: Likewise.
48798         * soft-fp/floattisf.c: Likewise.
48799         * soft-fp/floattitf.c: Likewise.
48800         * soft-fp/floatundidf.c: Likewise.
48801         * soft-fp/floatundisf.c: Likewise.
48802         * soft-fp/floatunditf.c: Likewise.
48803         * soft-fp/floatunsidf.c: Likewise.
48804         * soft-fp/floatunsisf.c: Likewise.
48805         * soft-fp/floatunsitf.c: Likewise.
48806         * soft-fp/floatuntidf.c: Likewise.
48807         * soft-fp/floatuntisf.c: Likewise.
48808         * soft-fp/floatuntitf.c: Likewise.
48809         * soft-fp/fmadf4.c: Likewise.
48810         * soft-fp/fmasf4.c: Likewise.
48811         * soft-fp/fmatf4.c: Likewise.
48812         * soft-fp/gedf2.c: Likewise.
48813         * soft-fp/gesf2.c: Likewise.
48814         * soft-fp/getf2.c: Likewise.
48815         * soft-fp/ledf2.c: Likewise.
48816         * soft-fp/lesf2.c: Likewise.
48817         * soft-fp/letf2.c: Likewise.
48818         * soft-fp/muldf3.c: Likewise.
48819         * soft-fp/mulsf3.c: Likewise.
48820         * soft-fp/multf3.c: Likewise.
48821         * soft-fp/negdf2.c: Likewise.
48822         * soft-fp/negsf2.c: Likewise.
48823         * soft-fp/negtf2.c: Likewise.
48824         * soft-fp/op-1.h: Likewise.
48825         * soft-fp/op-2.h: Likewise.
48826         * soft-fp/op-4.h: Likewise.
48827         * soft-fp/op-8.h: Likewise.
48828         * soft-fp/op-common.h: Likewise.
48829         * soft-fp/quad.h: Likewise.
48830         * soft-fp/single.h: Likewise.
48831         * soft-fp/soft-fp.h: Likewise.
48832         * soft-fp/sqrtdf2.c: Likewise.
48833         * soft-fp/sqrtsf2.c: Likewise.
48834         * soft-fp/sqrttf2.c: Likewise.
48835         * soft-fp/subdf3.c: Likewise.
48836         * soft-fp/subsf3.c: Likewise.
48837         * soft-fp/subtf3.c: Likewise.
48838         * soft-fp/truncdfsf2.c: Likewise.
48839         * soft-fp/trunctfdf2.c: Likewise.
48840         * soft-fp/trunctfsf2.c: Likewise.
48841         * soft-fp/trunctfxf2.c: Likewise.
48842         * soft-fp/unorddf2.c: Likewise.
48843         * soft-fp/unordsf2.c: Likewise.
48844         * soft-fp/unordtf2.c: Likewise.
48846 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
48848         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
48849         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
48851 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
48853         * elf/dl-libc.c: Clear initfini list after freeing.
48855 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
48857         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
48858         * soft-fp/addsf3.c: Likewise.
48859         * soft-fp/addtf3.c: Likewise.
48860         * soft-fp/divdf3.c: Likewise.
48861         * soft-fp/divsf3.c: Likewise.
48862         * soft-fp/divtf3.c: Likewise.
48863         * soft-fp/double.h: Likewise.
48864         * soft-fp/eqdf2.c: Likewise.
48865         * soft-fp/eqsf2.c: Likewise.
48866         * soft-fp/eqtf2.c: Likewise.
48867         * soft-fp/extenddftf2.c: Likewise.
48868         * soft-fp/extended.h: Likewise.
48869         * soft-fp/extendsfdf2.c: Likewise.
48870         * soft-fp/extendsftf2.c: Likewise.
48871         * soft-fp/extendxftf2.c: Likewise.
48872         * soft-fp/fixdfdi.c: Likewise.
48873         * soft-fp/fixdfsi.c: Likewise.
48874         * soft-fp/fixdfti.c: Likewise.
48875         * soft-fp/fixsfdi.c: Likewise.
48876         * soft-fp/fixsfsi.c: Likewise.
48877         * soft-fp/fixsfti.c: Likewise.
48878         * soft-fp/fixtfdi.c: Likewise.
48879         * soft-fp/fixtfsi.c: Likewise.
48880         * soft-fp/fixtfti.c: Likewise.
48881         * soft-fp/fixunsdfdi.c: Likewise.
48882         * soft-fp/fixunsdfsi.c: Likewise.
48883         * soft-fp/fixunsdfti.c: Likewise.
48884         * soft-fp/fixunssfdi.c: Likewise.
48885         * soft-fp/fixunssfsi.c: Likewise.
48886         * soft-fp/fixunssfti.c: Likewise.
48887         * soft-fp/fixunstfdi.c: Likewise.
48888         * soft-fp/fixunstfsi.c: Likewise.
48889         * soft-fp/fixunstfti.c: Likewise.
48890         * soft-fp/floatdidf.c: Likewise.
48891         * soft-fp/floatdisf.c: Likewise.
48892         * soft-fp/floatditf.c: Likewise.
48893         * soft-fp/floatsidf.c: Likewise.
48894         * soft-fp/floatsisf.c: Likewise.
48895         * soft-fp/floatsitf.c: Likewise.
48896         * soft-fp/floattidf.c: Likewise.
48897         * soft-fp/floattisf.c: Likewise.
48898         * soft-fp/floattitf.c: Likewise.
48899         * soft-fp/floatundidf.c: Likewise.
48900         * soft-fp/floatundisf.c: Likewise.
48901         * soft-fp/floatunsidf.c: Likewise.
48902         * soft-fp/floatunsisf.c: Likewise.
48903         * soft-fp/floatuntidf.c: Likewise.
48904         * soft-fp/floatuntisf.c: Likewise.
48905         * soft-fp/floatuntitf.c: Likewise.
48906         * soft-fp/fmadf4.c: Likewise.
48907         * soft-fp/fmasf4.c: Likewise.
48908         * soft-fp/fmatf4.c: Likewise.
48909         * soft-fp/gedf2.c: Likewise.
48910         * soft-fp/gesf2.c: Likewise.
48911         * soft-fp/getf2.c: Likewise.
48912         * soft-fp/ledf2.c: Likewise.
48913         * soft-fp/lesf2.c: Likewise.
48914         * soft-fp/letf2.c: Likewise.
48915         * soft-fp/muldf3.c: Likewise.
48916         * soft-fp/mulsf3.c: Likewise.
48917         * soft-fp/multf3.c: Likewise.
48918         * soft-fp/negdf2.c: Likewise.
48919         * soft-fp/negsf2.c: Likewise.
48920         * soft-fp/negtf2.c: Likewise.
48921         * soft-fp/op-1.h: Likewise.
48922         * soft-fp/op-2.h: Likewise.
48923         * soft-fp/op-4.h: Likewise.
48924         * soft-fp/op-8.h: Likewise.
48925         * soft-fp/op-common.h: Likewise.
48926         * soft-fp/quad.h: Likewise.
48927         * soft-fp/single.h: Likewise.
48928         * soft-fp/soft-fp.h: Likewise.
48929         * soft-fp/sqrtdf2.c: Likewise.
48930         * soft-fp/sqrtsf2.c: Likewise.
48931         * soft-fp/sqrttf2.c: Likewise.
48932         * soft-fp/subdf3.c: Likewise.
48933         * soft-fp/subsf3.c: Likewise.
48934         * soft-fp/subtf3.c: Likewise.
48935         * soft-fp/truncdfsf2.c: Likewise.
48936         * soft-fp/trunctfdf2.c: Likewise.
48937         * soft-fp/trunctfsf2.c: Likewise.
48938         * soft-fp/trunctfxf2.c: Likewise.
48939         * soft-fp/unorddf2.c: Likewise.
48940         * soft-fp/unordsf2.c: Likewise.
48941         * soft-fp/unordtf2.c: Likewise.
48943 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
48945         [BZ #15672]
48946         * misc/error.c (error_tail): Fix possible buffer overflow.
48948 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
48950         [BZ #13028]
48951         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
48952         address.
48954 2013-10-14  P. J. McDermott  <pj@pehjota.net>
48956         [BZ #832]
48957         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
48958         testing pipefail option.
48960 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48962         * soft-fp/double.h: Indent preprocessor directives inside #if.
48963         * soft-fp/extended.h: Likewise.
48964         * soft-fp/op-2.h: Likewise.
48965         * soft-fp/op-4.h: Likewise.
48966         * soft-fp/op-common.h: Likewise.
48967         * soft-fp/quad.h: Likewise.
48968         * soft-fp/single.h: Likewise.
48969         * soft-fp/soft-fp.h: Likewise.
48971 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
48973         * iconv/iconv_prog.c: Fix typos.
48974         * stdio-common/psiginfo-data.h: Likewise.
48976 2013-10-12   Reuben Thomas <rrt@sc3d.org>
48978         [BZ #15764]
48979         * locale/setlocale.c: Fix typo.
48981 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48983         [BZ #16036]
48984         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48985         signaling NaN arguments.
48986         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48987         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48989         [BZ #14910]
48990         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48991         unordered operands.
48992         * soft-fp/gesf2.c (__gesf2): Likewise.
48993         * soft-fp/getf2.c (__getf2): Likewise.
48994         * soft-fp/ledf2.c (__ledf2): Likewise.
48995         * soft-fp/lesf2.c (__lesf2): Likewise.
48996         * soft-fp/letf2.c (__letf2): Likewise.
48998         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48999         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49000         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49001         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49002         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49003         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49004         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49005         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49006         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49007         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49008         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49009         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49010         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49011         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49012         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49013         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49014         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49015         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49016         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49017         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49018         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49019         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49020         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49021         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49022         * soft-fp/floattidf.c (__floattidf): Likewise.
49023         * soft-fp/floattisf.c (__floattisf): Likewise.
49024         * soft-fp/floattitf.c (__floattitf): Likewise.
49025         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49026         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49027         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49028         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49029         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49030         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49031         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49032         * soft-fp/gesf2.c (__gesf2): Likewise.
49033         * soft-fp/getf2.c (__getf2): Likewise.
49034         * soft-fp/ledf2.c (__ledf2): Likewise.
49035         * soft-fp/lesf2.c (__lesf2): Likewise.
49036         * soft-fp/letf2.c (__letf2): Likewise.
49038         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49039         Undefine and redefine.
49040         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49041         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49042         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49043         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49044         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49045         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49046         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49047         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49048         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49049         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49050         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49051         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49052         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49053         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49054         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49056         [BZ #16032]
49057         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49058         without decrementing exponent if mantissa >= that for the
49059         denominator, not >.
49060         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49061         denominator, not >.  Decrement exponent in < case instead of
49062         incrementing in >= case.
49063         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49064         without decrementing exponent if mantissa >= that for the
49065         denominator, not >.
49067         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49068         computing saturated result for unsigned overflow.
49070 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49071             Jeff Law  <law@redhat.com>
49073         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49074         (atan2Mp): Add systemtap probe marker.
49075         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49076         (__ieee754_log): Add systemtap probe marker.
49077         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49078         (atanMp): Add systemtap probe marker.
49079         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49080         (tanMp): Add systemtap probe marker.
49081         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49082         (__slowexp): Add systemtap probe marker.
49083         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49084         (__slowpow): Add systemtap probe marker.
49085         * manual/probes.texi: Document probes.
49087 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49089         [BZ #15362]
49090         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49091         written.
49092         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49093         written.
49094         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49095         written to buffer but not flushed.
49096         * libio/iofwrite_u.c:  Likewise.
49097         * libio/iopadn.c:  Return bytes returned even if EOF was
49098         encountered.
49099         * libio/iowpadn.c:  Likewise.
49100         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49101         if _IO_padn does not write the whole buffer.
49102         [!COMPILE_WPRINTF] (PAD): Likewise.
49104 2013-10-10  David S. Miller  <davem@davemloft.net>
49106         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49107         directory block.
49109 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49111         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49112         instead of FSF address.
49113         * soft-fp/fixdfti.c: Likewise.
49114         * soft-fp/fixsfti.c: Likewise.
49115         * soft-fp/fixtfti.c: Likewise.
49116         * soft-fp/fixunsdfti.c: Likewise.
49117         * soft-fp/fixunssfti.c: Likewise.
49118         * soft-fp/fixunstfti.c: Likewise.
49119         * soft-fp/floattidf.c: Likewise.
49120         * soft-fp/floattisf.c: Likewise.
49121         * soft-fp/floattitf.c: Likewise.
49122         * soft-fp/floatuntidf.c: Likewise.
49123         * soft-fp/floatuntisf.c: Likewise.
49124         * soft-fp/floatuntitf.c: Likewise.
49125         * soft-fp/trunctfxf2.c: Likewise.
49127         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49128         * soft-fp/fixdfti.c: Likewise.
49129         * soft-fp/fixsfti.c: Likewise.
49130         * soft-fp/fixtfti.c: Likewise.
49131         * soft-fp/fixunsdfti.c: Likewise.
49132         * soft-fp/fixunssfti.c: Likewise.
49133         * soft-fp/fixunstfti.c: Likewise.
49134         * soft-fp/floattidf.c: Likewise.
49135         * soft-fp/floattisf.c: Likewise.
49136         * soft-fp/floattitf.c: Likewise.
49137         * soft-fp/floatuntidf.c: Likewise.
49138         * soft-fp/floatuntisf.c: Likewise.
49139         * soft-fp/floatuntitf.c: Likewise.
49140         * soft-fp/trunctfxf2.c: Likewise.
49142 2013-10-10  David S. Miller  <davem@davemloft.net>
49144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49146 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49148         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49149         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49150         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49151         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49152         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49153         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49154         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49156         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49157         for NaNs before doing comparisons on argument.
49158         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49159         Likewise.
49161 2013-10-10  Will Newton  <will.newton@linaro.org>
49163         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49164         passed to _int_memalign does not overflow.
49166 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49168         * scripts/bench.pl: Add include-sources directive.
49169         * benchtests/README: Update documentation.
49171 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49173         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49174         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49175         instead of FP_INIT_ROUNDMODE.
49176         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49177         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49179         [BZ #16034]
49180         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49181         copy class of input value.
49182         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49183         not handle exceptions.
49184         * soft-fp/negsf2.c (__negsf2): Likewise.
49185         * soft-fp/negtf2.c (__negtf2): Likewise.
49186         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49188 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49190         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49191         semicolon.  From Linux kernel.
49193 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49195         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49197 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49199         [BZ #156]
49200         * manual/socket.texi: Added statement about buffer
49201         for gethostbyname2_r.
49203 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49205         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49206         Use .p2align directive instead, throughout.
49207         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49208         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49209         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49210         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49211         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49212         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49213         * sysdeps/x86_64/strchr.S: Likewise.
49214         * sysdeps/x86_64/strrchr.S: Likewise.
49216 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49218         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49220         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49222         * sysdeps/generic/math_private.h (__mpsin1): Remove
49223         declaration.
49224         (__mpcos1): Likewise.
49225         (__mpsin): New argument __range_reduce.
49226         (__mpcos): Likewise.
49227         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49228         (slow): Use __mpsin and __mpcos.
49229         (slow1): Likewise.
49230         (slow2): Likewise.
49231         (sloww): Likewise.
49232         (sloww1): Likewise.
49233         (sloww2): Likewise.
49234         (bsloww): Likewise.
49235         (bsloww1): Likewise.
49236         (bsloww2): Likewise.
49237         (cslow2): Likewise.
49238         (csloww): Likewise.
49239         (csloww1): Likewise.
49240         (csloww2): Likewise.
49241         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49242         range_reduce.  Merge in __mpsin1.
49243         (__mpcos): Likewise.
49244         (__mpsin1): Remove.
49245         (__mpcos1): Likewise.
49247 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49249         * locale/loadlocale.c (_nl_intern_locale_data): Use
49250         LOCFILE_ALIGNED_P.
49251         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49252         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49253         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49254         obstack data is appropriately aligned.
49255         (obstack_int32_grow_fast): Likewise.
49256         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49257         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49258         (add_locale_uint32_array): Likewise.
49260 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49262         * benchtests/Makefile: Remove ARGLIST and RET variables.
49263         ($(objpfx)bench-%.c): Pass only function name to the script.
49264         * benchtests/README: Update documentation.
49265         * benchtests/acos-inputs: Add new directives.
49266         * benchtests/acosh-inputs: Likewise.
49267         * benchtests/asin-inputs: Likewise.
49268         * benchtests/asinh-inputs: Likewise.
49269         * benchtests/atan-inputs: Likewise.
49270         * benchtests/atanh-inputs: Likewise.
49271         * benchtests/cos-inputs: Likewise.
49272         * benchtests/cosh-inputs: Likewise.
49273         * benchtests/exp-inputs: Likewise.
49274         * benchtests/log-inputs: Likewise.
49275         * benchtests/pow-inputs: Likewise.
49276         * benchtests/rint-inputs: Likewise.
49277         * benchtests/sin-inputs: Likewise.
49278         * benchtests/sinh-inputs: Likewise.
49279         * benchtests/tan-inputs: Likewise.
49280         * benchtests/tanh-inputs: Likewise.
49281         * scripts/bench.pl: Add support for new directives.
49283 2013-10-07  Alan Modra  <amodra@gmail.com>
49285         * README: Fix careless merge.
49287 2013-10-05  Alan Modra  <amodra@gmail.com>
49289         * NEWS: Mention powerpc64le support and bugs fixed.
49290         * README: Both big-endian and little-endian powerpc64 supported.
49292 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49294         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49295         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49296         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49297         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49299 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49301         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49302         match prototype.
49304 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49306         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49307         Move -mhard-float appending from
49308         ports/sysdeps/powerpc/powerpc32/Makefile.
49309         [$(with-fp) = yes] (ASFLAGS): Likewise.
49310         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49311         * sysdeps/powerpc/nofpu: Move directory from
49312         ports/sysdeps/powerpc/nofpu.
49313         * sysdeps/powerpc/soft-fp: Move directory from
49314         ports/sysdeps/powerpc/soft-fp.
49315         * sysdeps/powerpc/powerpc32/405: Move directory from
49316         ports/sysdeps/powerpc/powerpc32/405.
49317         * sysdeps/powerpc/powerpc32/440: Move directory from
49318         ports/sysdeps/powerpc/powerpc32/440.
49319         * sysdeps/powerpc/powerpc32/464: Move directory from
49320         ports/sysdeps/powerpc/powerpc32/464.
49321         * sysdeps/powerpc/powerpc32/476: Move directory from
49322         ports/sysdeps/powerpc/powerpc32/476.
49323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49324         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49326         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49328         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49330         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49332         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49333         * README: Update for powerpc-*-linux-gnu software floating point
49334         support in libc.
49336         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49337         case to powerpc/powerpc32*.
49338         * sysdeps/unix/sysv/linux/configure: Regenerated.
49340         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49341         (_FPU_MASK_OM): Define as 0x04.
49342         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49343         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49344         0x00c10080.
49345         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49346         0x0000003c.
49347         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49350         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49351         getcontext_e500.
49352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49353         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49354         setcontext_e500.
49355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49356         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49357         and setcontext_e500.
49359 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49361         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49363 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49365         * manual/threads.texi (Default Thread Attributes): Fix typo.
49367 2013-10-04  Will Newton  <will.newton@linaro.org>
49369         * malloc/Makefile: Add tst-memalign.
49370         * malloc/tst-memalign.c: New file.
49372         * malloc/tst-posix_memalign.c: Add comments.
49373         (do_test): Add comments and call free on all potentially
49374         allocated pointers. Add space after cast.
49376         * malloc/tst-pvalloc.c: Add comments.
49377         (do_test): Add comments and call free on all potentially
49378         allocated pointers. Remove duplicate check for NULL pointer.
49379         Add space after cast.
49381         * malloc/tst-valloc.c: Add comments.
49382         (do_test): Add comments and call free on all potentially
49383         allocated pointers. Remove duplicate check for NULL pointer.
49384         Add space after cast.
49386 2013-10-04  Alan Modra  <amodra@gmail.com>
49388         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49389         Use stdint types in rather than __attribute__((mode())).
49390         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49392 2013-10-04  Alan Modra  <amodra@gmail.com>
49394         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49395         Correct handling of unaligned relocs for little-endian.
49396         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49398 2013-10-04  Alan Modra  <amodra@gmail.com>
49400         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49401         * configure: Regenerate.
49402         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49403         * shlib-versions: Likewise.
49405 2013-10-04  Alan Modra  <amodra@gmail.com>
49407         * string/tester.c (test_memrchr): Increment reported test cycle.
49409 2013-10-04  Alan Modra  <amodra@gmail.com>
49411         * string/test-memcpy.c (do_one_test): When reporting errors, print
49412         string address and don't overrun end of string.
49414 2013-10-04  Alan Modra  <amodra@gmail.com>
49416         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49417         insrdi.  Make better use of reg selection to speed exit slightly.
49418         Schedule entry path a little better.  Remove useless "are we done"
49419         checks on entry to main loop.  Handle wrapping around zero address.
49420         Correct main loop count.  Handle single left-over word from main
49421         loop inline rather than by using loop_small.  Remove extra word
49422         case in loop_small caused by wrong loop count.  Add little-endian
49423         support.
49424         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49425         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49426         cache hint.
49427         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49428         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49429         support.  Avoid rlwimi.
49430         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49432 2013-10-04  Alan Modra  <amodra@gmail.com>
49434         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49435         insrdi.  Formatting.
49436         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49437         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49438         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49439         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49440         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49441         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49443 2013-10-04  Alan Modra  <amodra@gmail.com>
49445         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49446         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49447         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49448         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49449         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49450         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49451         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49452         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49453         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49454         use of regs.  Use power7 mtocrf.  Tidy function tails.
49456 2013-10-04  Alan Modra  <amodra@gmail.com>
49458         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49459         Formatting.  Consistently use rXXX register defines or rN defines.
49460         Use early exit labels that avoid restoring unused non-volatile regs.
49461         Make cr field use more consistent with rWORDn compares.  Rename
49462         regs used as shift registers for unaligned loop, using rN defines
49463         for short lifetime/multiple use regs.
49464         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49465         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49466         addi 1,1,64 to pop stack frame.  Simplify return value code.
49467         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49469 2013-10-04  Alan Modra  <amodra@gmail.com>
49471         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49472         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49473         rather than rlwimi.
49474         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49475         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49476         little-endian support.  Correct typos.
49477         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49478         rather than rlwimi.
49479         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49480         in loop and entry code to keep "and." results.
49481         (strchr): Add little-endian support.  Comment.  Move cntlzd
49482         earlier in tail.
49483         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49485 2013-10-04  Alan Modra  <amodra@gmail.com>
49487         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49488         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49489         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49490         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49492 2013-10-04  Alan Modra  <amodra@gmail.com>
49494         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49495         (rTMP): Define as r11.
49496         (strcmp): Add little-endian support.  Optimise tail.
49497         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49498         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49499         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49500         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49501         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49502         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49503         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49505 2013-10-04  Alan Modra  <amodra@gmail.com>
49507         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49508         little-endian support.  Remove unnecessary "are we done" tests.
49509         Handle "s" wrapping around zero and extremely large "size".
49510         Correct main loop count.  Handle single left-over word from main
49511         loop inline rather than by using small_loop.  Correct comments.
49512         Delete "zero" tail, use "end_max" instead.
49513         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49515 2013-10-04  Alan Modra  <amodra@gmail.com>
49517         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49518         support.  Don't branch over align.
49519         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49520         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49521         support.  Rearrange tmp reg use to suit.  Comment.
49522         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49524 2013-10-04  Alan Modra  <amodra@gmail.com>
49526         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49528 2013-10-04  Alan Modra  <amodra@gmail.com>
49530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49531         conditional form of branch and link when obtaining pc.
49532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49534 2013-10-04  Alan Modra  <amodra@gmail.com>
49536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49537         HIWORD/LOWORD.
49538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49541 2013-10-04  Alan Modra  <amodra@gmail.com>
49543         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49544         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49545         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49546         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49547         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49548         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49549         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49550         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49551         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49552         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49554 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49555             Alistair Popple <alistair@ozlabs.au.ibm.com>
49556             Alan Modra <amodra@gmail.com>
49558         [BZ #15723]
49559         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49560         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49561         _dl_hwcap access for little-endian.
49562         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49563         destroy vmx regs when saving unaligned.
49564         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49565         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49566         destroy vmx regs when saving unaligned.
49568 2013-10-04  Alan Modra  <amodra@gmail.com>
49570         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49571         Don't use a union to pack hi/low value.
49573 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49575         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49576         for little-endian.
49577         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49578         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49579         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49580         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49581         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49583 2013-10-04  Alan Modra  <amodra@gmail.com>
49585         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49586         constants to usual value for .cst8 section, and remove redundant
49587         high address load.
49588         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49589         constant for 0x1p52.  Load little-endian words of double from
49590         correct stack offsets.
49592 2013-10-04  Alan Modra  <amodra@gmail.com>
49594         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49595         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49596         words of double from correct stack offsets.
49597         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49598         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49599         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49600         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49601         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49602         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49603         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49604         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49605         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49606         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49607         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49608         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49609         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49610         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49611         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49612         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49613         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49615 2013-10-04  Alan Modra  <amodra@gmail.com>
49617         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49618         64-bit int/double union.
49619         (_FPU_SETCW): Likewise.
49620         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49621         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49623 2013-10-04  Alan Modra  <amodra@gmail.com>
49625         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49626         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49628 2013-10-04  Alan Modra  <amodra@gmail.com>
49630         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49631         use vector int constants.
49632         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49634 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49636         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49637         array with long long.
49638         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49639         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49640         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49641         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49642         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49643         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49644         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49645         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49646         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49647         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49648         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49649         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49650         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49652 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49654         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49655         (__signbit): Likewise.  Correct for little-endian.
49656         (__signbitl): Call __signbit.
49657         (lrint): Correct for little-endian.
49658         (lrintf): Call lrint.
49660 2013-10-04  Alan Modra  <amodra@gmail.com>
49662         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49663         union 32-bit int array member with 64-bit int array.
49664         (t515, tm256): Double rather than long double.
49665         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49667 2013-10-04  Alan Modra  <amodra@gmail.com>
49669         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49670         Delete.
49671         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49672         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49673         version of math_ldbl.h.
49675 2013-10-04  Alan Modra  <amodra@gmail.com>
49677         [BZ #15734], [BZ #15735]
49678         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49679         all uses of ieee875 long double macros and unions.  Simplify test
49680         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49681         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49682         normalize after ldbl_extract_mantissa, and don't add hidden bit
49683         already handled.  Don't treat low word of ieee854 mantissa like
49684         low word of IBM long double and mask off bit when testing for
49685         zero.
49686         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49687         all uses of ieee875 long double macros and unions.  Simplify tests
49688         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49689         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49690         two1022, instead use their values.  Recognise that tests for large
49691         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49692         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49693         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49694         test for 0.0L and nan.  Correct negation.
49695         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49696         ieee875 long double macros and unions.  Correct output for large
49697         magnitude x.  Correct absolute value calculation.
49698         (__erfcl): Likewise.
49699         * math/libm-test.inc: Add tests for errors discovered in IBM long
49700         double versions of fmodl, remainderl, erfl and erfcl.
49702 2013-10-04  Alan Modra  <amodra@gmail.com>
49704         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49705         all uses of ieee854 long double macros and unions.  Simplify tests
49706         for long doubles that are fully specified by the high double.
49707         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49708         Likewise.
49709         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49710         Remove dead code too.
49711         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49712         (__ieee754_ynl): Likewise.
49713         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49714         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49715         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49716         Remove dead code too.
49717         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49718         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49719         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49720         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49721         Simplify.
49722         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49723         Simplify.
49724         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49725         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49726         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49727         Comment on variable precision.
49728         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49729         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49730         Likewise.
49731         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49732         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49733         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49734         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49735         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49737 2013-10-04  Alan Modra  <amodra@gmail.com>
49739         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49740         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49741         all uses of ieee854 long double macros and unions.
49742         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49744         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49745         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49746         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49747         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49748         Likewise.
49749         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49750         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49751         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49752         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49753         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49754         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49755         Simplify sign and nan test too.
49756         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49757         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49758         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49759         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49760         Likewise.
49761         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49762         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49763         Likewise.
49764         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49765         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49766         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49767         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49768         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49769         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49771 2013-10-04  Alan Modra  <amodra@gmail.com>
49773         * stdio-common/printf_size.c (__printf_size): Don't use
49774         union ieee854_long_double in fpnum union.
49775         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49776         signbit macro to retrieve sign from long double.
49777         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49778         retrieve sign from long double.
49779         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49780         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49781         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49782         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49783         * math/test-misc.c (main): Don't use union ieee854_long_double.
49785 2013-10-04  Alan Modra  <amodra@gmail.com>
49787         [BZ #15680]
49788         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49789         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49790         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49791         calculation.  Remove unnecessary test for denormal exponent.
49792         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49793         Correct handling of denormals.  Avoid undefined shift behaviour.
49794         Correct normalisation of low mantissa when low double is denormal.
49795         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49796         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
49797         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
49798         Correct normalisation of low mantissa.  Test for overflow of high
49799         mantissa and normalise.
49800         (ldbl_nearbyint): Use more readable constant for two52.
49801         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
49802         (__mpn_construct_long_double): Fix test for overflow of high
49803         mantissa and correct normalisation.  Avoid undefined shift.
49805 2013-10-04  Alan Modra  <amodra@gmail.com>
49807         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49808         (union ibm_extended_long_double): Define as an array of ieee754_double.
49809         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
49810         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
49811         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
49812         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49813         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49814         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
49815         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49816         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49817         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49818         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
49819         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49821 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
49823         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
49824         page size instead of calling getpagesize.
49826         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
49827         (LOCFILE_ALIGN_MASK): Likewise.
49828         (LOCFILE_ALIGN_UP): Likewise.
49829         (LOCFILE_ALIGNED_P): Likewise.
49830         * locale/programs/ld-collate.c (collate_output): Use the new
49831         macros instead of __alignof__ (int32_t).
49832         * locale/weight.h (findidx): Likewise.
49834 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
49836         [BZ #431]
49837         * manual/string.texi: Fix strncat and wcsncat.
49839 2013-10-03  Brooks Moses  <bmoses@google.com>
49841         [BZ #15915]
49842         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
49843         * Makerules: ...here, and adjust associated comments.
49845 2013-10-02  Will Newton  <will.newton@linaro.org>
49847         * malloc/Makefile: Add tst-pvalloc.
49848         * malloc/tst-pvalloc.c: New file.
49850 2013-10-02  Will Newton  <will.newton@linaro.org>
49852         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49853         improve test coverage.
49855 2013-10-02  Will Newton  <will.newton@linaro.org>
49857         * malloc/Makefile: Add tst-posix_memalign.
49858         * malloc/tst-posix_memalign.c: New file.
49860 2013-10-01  Eric Blake  <eblake@redhat.com>
49862         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
49863         Use __THROWNL rather than __THROW on static functions.
49865 2013-09-30  Petr Machata  <pmachata@redhat.com>
49867         * elf/elf.h (R_AARCH64_ABS16): New macro.
49868         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49869         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
49870         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
49871         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49872         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
49873         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
49874         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
49875         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
49876         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
49877         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
49878         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
49879         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
49880         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
49881         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
49882         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
49883         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
49884         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
49885         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
49886         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49887         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
49888         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
49889         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
49890         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
49891         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
49892         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49893         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
49894         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
49895         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
49896         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
49897         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
49898         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
49899         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
49900         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
49901         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
49902         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49903         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
49904         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
49905         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
49906         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
49907         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
49908         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
49909         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
49910         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
49911         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
49912         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49913         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
49914         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
49915         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
49916         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
49917         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
49918         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
49919         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
49920         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
49921         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
49922         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
49923         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
49924         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
49925         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
49926         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
49927         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
49928         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
49929         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
49930         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
49931         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
49932         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
49933         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
49934         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
49935         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
49936         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
49937         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
49938         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
49939         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
49940         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
49941         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
49942         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
49943         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
49944         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
49945         (R_AARCH64_TLSDESC_LDR): Likewise.
49946         (R_AARCH64_TLSDESC_ADD): Likewise.
49947         (R_AARCH64_TLSDESC_CALL): Likewise.
49949 2013-09-30  Andreas Schwab  <schwab@suse.de>
49951         [BZ #15048]
49952         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
49953         the nss database lookup.
49954         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49957 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
49959         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
49961 2013-09-28  P. J. McDermott  <pj@pehjota.net>
49963         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
49964         ${Bash-specific parameter/pattern/string} parameter expansion.
49965         * sysdeps/unix/make-syscalls.sh: Likewise.
49967 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49969         * sysdeps/sh/stackguard-macros.h: New file.
49971 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
49973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
49975         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
49976         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49977         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49978         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49980 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49982         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49983         Fix thread ID register.
49985 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49987         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49988         [POSIX || UNIX98]: Require rather than permitting all symbols from
49989         <time.h>.
49990         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49991         element of struct sched_param.
49992         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49993         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49994         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49995         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49996         constant.
49998 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50000         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50001         argument calculation.
50003 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50005         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50006         Expect macro.
50007         [POSIX] (pthread_attr_t): Do not require type.
50008         [POSIX] (pthread_cond_t): Likewise.
50009         [POSIX] (pthread_condattr_t): Likewise.
50010         [POSIX] (pthread_key_t): Likewise.
50011         [POSIX] (pthread_mutex_t): Likewise.
50012         [POSIX] (pthread_mutexattr_t): Likewise.
50013         [POSIX] (pthread_once_t): Likewise.
50014         [POSIX] (pthread_t): Likewise.
50015         [POSIX-based standards] (pthread_atfork): Expect function.
50017 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50018             Richard Sandiford  <richard@codesourcery.com>
50020         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50021         (swap_endianness_p): New extern variable.
50022         (set_big_endian): New inline function.
50023         (maybe_swap_uint32): Likewise.
50024         (maybe_swap_uint32_array): Likewise.
50025         (maybe_swap_uint32_obstack): Likewise.
50026         * locale/programs/locfile.c: Include <stdbool.h>.
50027         (swap_endianness_p): New variable.
50028         (add_locale_uint32): Call maybe_swap_uint32.
50029         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50030         (write_locale_data): Call maybe_swap_uint32_array.
50031         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50032         maybe_swap_uint32.
50033         (obstack_int32_grow_fast): Likewise.
50034         (output_weightwc): Call maybe_swap_uint32_obstack.
50035         (collate_output): Likewise.
50036         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50037         (OPT_LITTLE_ENDIAN): Likewise.
50038         (options): Add --little-endian and --big-endian options.
50039         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50040         * locale/programs/locarchive.c: Include "locfile.h".
50041         (GET): New macro.
50042         (SET): Likewise.
50043         (INC): Likewise.
50044         (create_archive): Use the new macros to access fields of
50045         structures directly mapped from or written to locale archives.
50046         (oldlocrecentcmp): Likewise.
50047         (enlarge_archive): Likewise.
50048         (insert_name): Likewise.
50049         (add_alias): Likewise.
50050         (add_locale): Likewise.
50051         (delete_locales_from_archive): Likewise.
50052         (show_archive_content): Likewise.
50053         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50054         locale data.
50056 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50058         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50059         http://www.gnu.org/doc/freemanuals.texi.
50060         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50062 2013-09-24  Will Newton  <will.newton@linaro.org>
50064         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50065         macro.
50067 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50069         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50070         unsigned char.
50072 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50074         * manual/threads.texi (POSIX Threads): Fix a typo.
50076 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50078         [BZ #14547]
50079         * string/tst-strcoll-overflow.c: New test case.
50080         * string/Makefile (xtests): Add tst-strcoll-overflow.
50081         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50082         cache if string sizes may cause integer overflow.
50084         [BZ #14547]
50085         * string/strcoll_l.c (coll_seq): New members rule, idx,
50086         save_idx and back_us.
50087         (get_next_seq_nocache): New function.
50088         (do_compare_nocache): New function.
50089         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50090         when malloc fails.
50092 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50094         [BZ #15754]
50095         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50096         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50097         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50099         [BZ #15754]
50100         * elf/Makefile (tests): Add tst-ptrguard1.
50101         (tests-static): Add tst-ptrguard1-static.
50102         (tst-ptrguard1-ARGS): Define.
50103         (tst-ptrguard1-static-ARGS): Define.
50104         * elf/tst-ptrguard1.c: New file.
50105         * elf/tst-ptrguard1-static.c: New file.
50106         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50107         * sysdeps/i386/stackguard-macros.h: Likewise.
50108         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50109         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50110         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50111         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50112         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50113         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50115 2013-09-23  Hector Marco  <hecmargi@upv.es>
50116             Ismael Ripoll  <iripoll@disca.upv.es>
50117             Carlos O'Donell  <carlos@redhat.com>
50119         [BZ #15754]
50120         * sysdeps/generic/stackguard-macros.h: Define
50121         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50122         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50123         Define __pointer_chk_guard_local.
50124         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50125         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50127 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50129         [BZ #15859]
50130         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50132 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50134         * include/string.h (__ffs): Declare as hidden.
50135         * string/ffs.c (__ffs): Define as hidden.
50136         * sysdeps/i386/ffs.c (__ffs): Likewise.
50137         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50138         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50139         * sysdeps/s390/ffs.c (__ffs): Likewise.
50140         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50142 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50144         * NEWS: Mention malloc probes.
50146         * malloc/arena.c (new_heap): New memory_heap_new probe.
50147         (grow_heap): New memory_heap_more probe.
50148         (shrink_heap): New memory_heap_less probe.
50149         (heap_trim): New memory_heap_free probe.
50150         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50151         (systrim): New memory_sbrk_less probe.
50152         * manual/probes.texi: Document them.
50154         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50155         * manual/probes.texi: Document it.
50157         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50158         (__libc_realloc): Add memory_realloc_retry probe.
50159         (__libc_memalign): Add memory_memalign_retry probe.
50160         (__libc_valloc): Add memory_valloc_retry probe.
50161         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50162         (__libc_calloc): Add memory_calloc_retry probe.
50163         * manual/probes.texi: Document them.
50165         * malloc/arena.c (get_free_list): Add probe
50166         memory_arena_reuse_free_list.
50167         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50168         and memory_arena_reuse.
50169         (arena_get2) [!PER_THREAD]: Likewise.
50170         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50171         memory_arena_reuse_realloc.
50172         * manual/probes.texi: Document them.
50174         * malloc/malloc.c (__libc_free): Add
50175         memory_mallopt_free_dyn_thresholds probe.
50176         (__libc_mallopt): Add multiple memory_mallopt probes.
50177         * manual/probes.texi: Document them.
50179         * malloc/malloc.c: Include stap-probe.h.
50180         (__libc_mallopt): Add memory_mallopt probe.
50181         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50182         * manual/probes.texi: New.
50183         * manual/Makefile (chapters): Add probes.
50184         * manual/threads.texi: Set next node.
50186 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50188         [BZ #15963, #13985]
50189         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50190         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50191         Add `Chinese' to `nan' entry name.
50193 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50195         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50196         (POLYNOMIAL): Likewise.
50197         (TAYLOR_SINCOS): Likewise.
50198         (TAYLOR_SLOW): Likewise.
50199         (__sin): Use TAYLOR_SINCOS.
50200         (__cos): Likewise.
50201         (slow): Use TAYLOR_SLOW.
50202         (sloww): Likewise.
50203         (bsloww): Likewise.
50204         (csloww): Likewise.
50206 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50208         * stdlib/strtod_l.c: Fix buffer overrun.
50210 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50212         * benchtests/Makefile (bench): Add sincos.
50213         * benchtests/bench-sincos.c: New file.
50215         * math/libm-test.inc (cos_test_data): New test inputs.
50216         (sin_test_data): Likewise.
50218         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50219         macro.
50220         (__sin): Use it.
50221         (__cos): Likewise.
50222         (slow1): Likewise.
50223         (slow2): Likewise.
50224         (sloww1): Likewise.
50225         (sloww2): Likewise.
50226         (bsloww1): Likewise.
50227         (bsloww2): Likewise.
50228         (cslow2): Likewise.
50229         (csloww1): Likewise.
50230         (csloww2): Likewise.
50232         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50233         function.
50234         (__sin): Use it.
50235         (__cos): Likewise.
50237         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50238         gotos.
50239         (__cos): Likewise.
50241 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50243         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50244         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50245         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50246         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50247         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50248         * elf/cache.c (print_entry): Handle the new cache flags.
50250 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50251             Aldy Hernandez  <aldyh@redhat.com>
50253         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50254         Change condition to [_SOFT_FLOAT].
50255         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50267         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50270         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50271         declaration.
50273 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50275         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50276         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50277         (__longjmp): Use LOAD_GP to load saved GPRs.
50278         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50279         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50280         (__sigsetjmp): Use SAVE_GP to save GPRs.
50282         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50283         Do not append -msoft-float.
50284         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50286 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50288         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50290 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50292         [BZ #15966]
50293         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50294         (_FPU_GETCW): Use initial "__" on variable and field names but not
50295         on macro parameter name.
50296         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50297         parentheses around reference to macro parameter.
50299 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50301         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50302         prototype.
50303         (ctype_startup): Use uint32_t in cast and sizeof for
50304         ctype->charnames.
50306 2013-09-11  Jia Liu  <proljc@gmail.com>
50308         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50309         __daddr_t_defined.
50310         [__FreeBSD__]: Likewise.
50312 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50315         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50316         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50317         (strchr): Remove __strchr_sse42 ifunc selection.
50318         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50319         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50321 2013-09-11  Will Newton  <will.newton@linaro.org>
50323         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50324         parameter to RES. Remove hardcoded 1000 value.
50325         * benchtests/bench-skeleton.c (main): Pass RES parameter
50326         to TIMING_INIT and multiply result by 1000.
50328 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50332 2013-09-11  Andreas Schwab  <schwab@suse.de>
50334         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50335         if not defined.
50336         (O_TMPFILE) [__USE_GNU]: Define.
50337         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50338         Define.
50340 2013-09-11  Will Newton  <will.newton@linaro.org>
50342         [BZ #15857]
50343         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50344         does not overflow.
50346 2013-09-11  Will Newton  <will.newton@linaro.org>
50348         [BZ #15856]
50349         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50350         does not overflow.
50352 2013-09-11  Will Newton  <will.newton@linaro.org>
50354         [BZ #15855]
50355         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50356         does not overflow.
50358 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50360         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50361         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50362         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50363         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50364         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50366 2013-09-10  Allan McRae  <allan@archlinux.org>
50368         [BZ #15748]
50369         * manual/arith.texi (Parsing of Floats): Clarify
50370         cross-reference.
50372         [BZ #15849]
50373         * manual/install.texi (Running make install): Mention
50374         --enable-pt-chown.
50375         * INSTALL: Regenerated.
50377 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50379         * csu/init-first.c (_init): Remove the !SHARED condition around
50380         FPU control word initialization.
50381         * elf/dl-support.c (_dl_fpu_control): New variable.
50382         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50383         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50384         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50385         * math/test-fpucw-static.c: New file.
50386         * math/test-fpucw-ieee.c: New file.
50387         * math/test-fpucw-ieee-static.c: New file.
50388         * math/Makefile (tests): Add `test-fpucw-ieee' and
50389         `$(tests-static)'.
50390         (tests-static): New variable.
50391         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50392         dependency to...
50393         [($(build-shared),yes)]
50394         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50395         ... this.
50396         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50397         New dependency.
50399 2013-09-09  Allan McRae  <allan@archlinux.org>
50401         [BZ #15939]
50402         * manual/string.texi (Collation Functions): Fix typo in
50403         strcoll example.
50404         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50406         [BZ #15893]
50407         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50409         [BZ #15892]
50410         * libio/memstream.c (open_memstream): Fix memory leak.
50411         * libio/wmemstream.c (open_wmemstream): Likewise.
50413         [BZ #15895]
50414         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50416 2013-09-09  Will Newton  <will.newton@linaro.org>
50418         * malloc/Makefile: Add tst-realloc to tests.
50419         * malloc/tst-realloc.c: New file.
50421 2013-09-09  Allan McRae  <allan@archlinux.org>
50423         [BZ #15844]
50424         * COPYING: Update from GNU website to fix FSF address.
50425         * COPYING.LIB: Likewise.
50427 2013-09-06  David S. Miller  <davem@davemloft.net>
50429         * po/zh_TW.po: Update Chinese (traditional) translation from
50430         translation project.
50432 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50433             Joseph Myers  <joseph@codesourcery.com>
50435         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50436         "localeinfo.h".
50437         (obstack_chunk_alloc): New macro.
50438         (obstack_chunk_free): Likewise.
50439         (record_offset): New function.
50440         (init_locale_data): Likewise.
50441         (align_locale_data): Likewise.
50442         (add_locale_empty): Likewise.
50443         (add_locale_raw_data): Likewise.
50444         (add_locale_raw_obstack): Likewise.
50445         (add_locale_string): Likewise.
50446         (add_locale_wstring): Likewise.
50447         (add_locale_uint32): Likewise.
50448         (add_locale_uint32_array): Likewise.
50449         (add_locale_char): Likewise.
50450         (start_locale_structure): Likewise.
50451         (end_locale_structure): Likewise.
50452         (start_locale_prelude): Likewise.
50453         (end_locale_prelude): Likewise.
50454         (write_locale_data): Take locale_file structure rather than an
50455         iovec.
50456         * locale/programs/locfile.h: Include "obstack.h".
50457         (struct locale_file): Change to store locale file contents instead
50458         of header.
50459         (init_locale_data): New prototype.
50460         (align_locale_data): Likewise.
50461         (add_locale_empty): Likewise.
50462         (add_locale_raw_data): Likewise.
50463         (add_locale_raw_obstack): Likewise.
50464         (add_locale_string): Likewise.
50465         (add_locale_wstring): Likewise.
50466         (add_locale_uint32): Likewise.
50467         (add_locale_uint32_array): Likewise.
50468         (add_locale_char): Likewise.
50469         (start_locale_structure): Likewise.
50470         (end_locale_structure): Likewise.
50471         (start_locale_prelude): Likewise.
50472         (end_locale_prelude): Likewise.
50473         (write_locale_data): Update prototype.
50474         * locale/programs/3level.h (struct TABLE): Remove result field.
50475         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50476         Use new locale_file interface.
50477         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50478         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50479         * locale/programs/ld-address.c (address_output): Use new
50480         locale_file interface.
50481         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50482         NO_ADD_LOCALE.
50483         (collate_finish): Don't call collseq_table_finalize.
50484         (collate_output): Use new locale_file interface.
50485         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50486         in file.
50487         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50488         (TABLE): Move defines earlier in file.
50489         (ELEMENT): Likewise.
50490         (DEFAULT): Likewise.
50491         (wctrans_table_add): Move macro and inline function earlier in
50492         file.
50493         (struct wctype_table): Move type earlier in file.
50494         (add_locale_wctype_table): New static prototype.
50495         (struct locale_ctype_t): Use logical types instead of struct iovec
50496         pointers for members.
50497         (ctype_output): Use new locale_file interface.
50498         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50499         new locale_file interface.
50500         (allocate_arrays): Update for use of new locale_file interface.
50501         * locale/programs/ld-identification.c (identification_output): Use
50502         new locale_file interface.
50503         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50504         * locale/programs/ld-messages.c (messages_output): Likewise.
50505         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50506         * locale/programs/ld-name.c (name_output): Likewise.
50507         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50508         * locale/programs/ld-paper.c (paper_output): Likewise.
50509         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50510         * locale/programs/ld-time.c (time_output): Likewise.
50512 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50514         * benchtests/Makefile: Add memrchr benchmark.
50515         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50516         benchmark as memrchr.
50517         * benchtests/bench-memrchr-ifunc.c: New file.
50518         * benchtests/bench-memrchr.c: New file.
50520 2013-09-06   Will Newton  <will.newton@linaro.org>
50522         * benchtests/Makefile (string-bench): Add memcpy.
50524 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50525             Cong Wang  <amwang@redhat.com>
50527         [BZ #15850]
50528         * sysdeps/unix/sysv/linux/bits/in.h
50529         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50530         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50531         before __USE_KERNEL_IPV6_DEFS uses.
50532         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50533         IPPROTO_BEETPH.
50534         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50535         sockaddr_in6, or ipv6_mreq.
50537 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50539         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50540         memory access for final bytes in some large inputs.
50541         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50543 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50545         * string/test-memrchr.c: New file.
50546         * string/test-memrchr-ifunc.c: New file.
50547         * string/Makefile: Add new memrchr testcase.
50549 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50551         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50552         fanotify_init returns EPERM.
50554 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50556         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50557         errors.
50558         (top level): Treat second token from macro or constant entries for
50559         allowed headers as allowed.
50560         * include/complex.h: Condition internal declarations on
50561         [!_ISOMAC].
50562         * include/fenv.h: Condition include of <stdbool.h> and internal
50563         declarations on [!_ISOMAC].
50565 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50567         [BZ #15923]
50568         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50570 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50572         * configure.in (--enable-versioning): Remove configure option.
50573         (libc_cv_asm_symver_directive): Remove configure test.
50574         (libc_cv_ld_version_script_option): Likewise.
50575         (VERSIONING): Remove variable and AC_SUBST.
50576         (DO_VERSIONING): Remove AC_DEFINE.
50577         * configure: Regenerated.
50578         * config.h.in (DO_VERSIONING): Remove macro.
50579         * Makerules [$(versioning) = yes]: Change conditionals to
50580         [$(build-shared) = yes].
50581         * config.make.in (versioning): Remove variable.
50582         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50583         [$(build-shared) = yes].
50584         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50585         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50586         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50587         [$(build-shared) = yes].
50588         * extra-lib.mk [$(versioning) = yes]: Likewise.
50589         * hurd/Makefile [$(versioning) = yes]: Likewise.
50590         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50591         [SHARED].
50592         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50593         [SHARED].
50594         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50595         [SHARED && !NO_HIDDEN].
50596         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50597         [SHARED].
50598         [SHARED && DO_VERSIONING]: Likewise..
50599         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50600         [$(build-shared) = yes].
50601         * manual/install.texi (--disable-versioning): Remove
50602         documentation.
50603         * INSTALL: Regenerated.
50604         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50605         to [SHARED].
50606         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50607         [$(build-shared) = yes].
50608         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50609         * sysdeps/i386/i686/multiarch/strstr-c.c
50610         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50611         [SHARED && !NO_HIDDEN].
50612         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50613         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50614         * sysdeps/powerpc/powerpc32/dl-machine.c
50615         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50616         * sysdeps/powerpc/powerpc32/sysdep.h
50617         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50618         to [SHARED && PIC && !NO_HIDDEN].
50619         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50620         conditional to [SHARED].
50622 2013-09-04   Will Newton  <will.newton@linaro.org>
50624         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50625         * benchtests/bench-string.h: Include bench-timing.h instead
50626         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50627         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50628         call to HP_TIMING_DIFF_INIT.
50629         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50630         instead of hp-timing.h macros.
50631         * benchtests/bench-memchr.c: Likewise.
50632         * benchtests/bench-memcmp.c: Likewise.
50633         * benchtests/bench-memcpy.c: Likewise.
50634         * benchtests/bench-memmem.c: Likewise.
50635         * benchtests/bench-memmove.c: Likewise.
50636         * benchtests/bench-memset.c: Likewise.
50637         * benchtests/bench-rawmemchr.c: Likewise.
50638         * benchtests/bench-strcasecmp.c: Likewise.
50639         * benchtests/bench-strcasestr.c: Likewise.
50640         * benchtests/bench-strcat.c: Likewise.
50641         * benchtests/bench-strchr.c: Likewise.
50642         * benchtests/bench-strcmp.c: Likewise.
50643         * benchtests/bench-strcpy.c: Likewise.
50644         * benchtests/bench-strcpy_chk.c: Likewise.
50645         * benchtests/bench-strlen.c: Likewise.
50646         * benchtests/bench-strncasecmp.c: Likewise.
50647         * benchtests/bench-strncat.c: Likewise.
50648         * benchtests/bench-strncmp.c: Likewise.
50649         * benchtests/bench-strncpy.c: Likewise.
50650         * benchtests/bench-strnlen.c: Likewise.
50651         * benchtests/bench-strpbrk.c: Likewise.
50652         * benchtests/bench-strrchr.c: Likewise.
50653         * benchtests/bench-strspn.c: Likewise.
50654         * benchtests/bench-strstr.c: Likewise.
50656 2013-09-04  Will Newton  <will.newton@linaro.org>
50658         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50660 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50662         [BZ #15427]
50663         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50664         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50665         * math/libm-test.inc (lgamma_test_data): Add more tests.
50666         * sysdeps/i386/fpu/libm-test-ulps: Update.
50667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50669 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50671         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50673         Add ifunc.
50674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50675         Add strcmp-sse2-unaligned
50676         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50678 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50680         * Versions.def (libc): Add GLIBC_2.19.
50682 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50684         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50685         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50687 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50689         [BZ #14155]
50690         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50691         intermediate calculations in recurrence.
50692         (__ieee754_ynf): Likewise.
50693         * math/libm-test.inc (jn_test_data): Do not allow spurious
50694         underflow exception.  Add more tests.
50695         (yn_test_data): Add more tests.
50696         * sysdeps/i386/fpu/libm-test-ulps: Update.
50697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50699 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50701         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50703 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50705         * csu/init-first.c: Fix then/than typos.
50706         * locale/programs/ld-collate.c: Likewise.
50707         * locale/programs/linereader.h: Likewise.
50708         * manual/charset.texi: Likewise.
50709         * manual/filesys.texi: Likewise.
50710         * manual/stdio.texi: Likewise.
50711         * manual/string.texi: Likewise.
50712         * stdlib/fmtmsg.c: Likewise.
50713         * sysdeps/i386/stpncpy.S: Likewise.
50714         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50715         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50716         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50717         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50719 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50721         * elf/dl-open.c: Fix typos.
50722         * iconvdata/gbbig5.c: Likewise.
50723         * iconvdata/iso-2022-jp.c: Likewise.
50724         * iconv/gconv_int.h: Likewise.
50725         * iconv/loop.c: Likewise.
50726         * nis/rpcsvc/nis.h: Likewise.
50727         * resolv/ns_name.c: Likewise.
50728         * stdio-common/vfscanf.c: Likewise.
50729         * streams/stropts.h: Likewise.
50730         * sunrpc/rpc_thread.c: Likewise.
50731         * sysdeps/i386/strpbrk.S: Likewise.
50732         * sysdeps/ieee754/k_standard.c: Likewise.
50733         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50735         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50736         * sysdeps/mach/hurd/profil.c: Likewise.
50737         * sysdeps/s390/dl-procinfo.h: Likewise.
50738         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50739         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50740         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50741         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50742         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50744 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50746         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50749 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50751         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50752         aix specific files.
50753         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50754         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50755         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50756         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50757         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50758         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50759         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50760         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50762 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50763             Roland McGrath  <roland@hack.frob.com>
50765         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50766         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50768 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50770         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50771         __executable_start symbol instead of _start.
50773 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50775         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50776         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50777         Move macros to...
50778         * sysdeps/gnu/ldsodefs.h: ... this new file.
50780         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50781         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50782         instead of ELFOSABI_LINUX.
50784         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50785         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50786         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50787         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50788         Likewise.
50789         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50790         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50791         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50792         Likewise.
50793         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50794         (ibm_extended_long_double): Add ieee_nan member.
50795         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50796         (do_test): New function.
50798         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
50799         TEST_TRUNC.
50800         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
50801         functions, renamed from truncdfsf_test, trunctfsf_test,
50802         trunctfdf_test.
50803         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
50804         functions.
50805         (do_test): Run all these.
50807 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
50809         * argp/argp-help.c: Fix typos.
50810         * argp/argp-parse.c: Likewise.
50811         * debug/backtracesyms.c: Likewise.
50812         * elf/elf.h: Likewise.
50813         * malloc/malloc.c: Likewise.
50814         * nis/nis_print.c: Likewise.
50815         * resolv/res_comp.c: Likewise.
50816         * stdlib/stdlib.h: Likewise.
50817         * sunrpc/clnt_tcp.c: Likewise.
50818         * sunrpc/clnt_udp.c: Likewise.
50819         * sunrpc/clnt_unix.c: Likewise.
50820         * sysdeps/unix/bsd/ptsname.c: Likewise.
50821         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
50822         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
50823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
50824         Likewise.
50825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
50826         Likewise.
50827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50828         Likewise.
50829         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50831 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50833         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
50834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50836 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
50838         [BZ #15897]
50839         * dlfcn/Makefile (tests): Add bug-dl-leaf.
50840         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
50841         ($(objpfx)bug-dl-leaf): New rule.
50842         ($(objpfx)bug-dl-leaf.so): Likewise.
50843         ($(objpfx)bug-dl-leaf.out): Likewise.
50844         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
50845         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
50846         * dlfcn/bug-dl-leaf.c: New test.
50847         * dlfcn/bug-dl-leaf-lib.c: Likewise.
50848         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
50849         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
50850         (dlclose): Likewise.
50851         (dlmopen): Likewise.
50853 2013-08-27  Roland McGrath  <roland@hack.frob.com>
50855         * include/netdb.h [!_ISOMAC]:
50856         Don't include <tls.h>.
50857         (h_errno, __libc_h_errno): Move declaration and macros out of
50858         [_LIBC_REENTRANT].
50860         * include/resolv.h [_RESOLV_H_]:
50861         Don't include <tls.h>.
50862         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
50863         * resolv/res_libc.c: Don't include <tls.h>.
50864         (_res): Use __attribute__ ((nocommon)) in place of
50865         __attribute__ ((section (".bss"))).
50867         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
50868         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
50870         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
50872         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
50873         only under [SIOCGIFCONF && SIOCGIFNETMASK].
50875         * resolv/res_mkquery.c: Include <sys/time.h>.
50877         * inet/ifreq.c: Moved to ...
50878         * sysdeps/unix/ifreq.c: ... here.
50879         * inet/ifreq.c: New file, true stub version.
50881         * socket/sa_len.c: New file.
50882         * socket/Makefile (aux): Add it.
50883         * sysdeps/unix/sysv/linux/Makefile
50884         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
50885         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
50886         and #include <socket/sa_len.c>.
50887         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
50888         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
50890         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
50891         * bits/socket.h: ... here.
50893         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
50894         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
50895         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
50897 2013-08-27  Andreas Schwab  <schwab@suse.de>
50899         [BZ #15736]
50900         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
50901         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
50902         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
50903         * string/test-strcasecmp.c (test_main): Run tests in several
50904         locales.
50905         * string/test-strncasecmp.c (test_main): Likewise.
50907         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
50908         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
50909         to __strcasecmp_nonascii and __strncasecmp_nonascii.
50910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
50911         (__strncasecmp_ssse3) [PIC]: Likewise.
50913 2013-08-26  Roland McGrath  <roland@hack.frob.com>
50915         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
50917         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
50918         instead of explicitly declaring xdecrypt.
50919         * nis/nss_nis/nis-publickey.c: Likewise.
50921 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50923         [BZ #15890]
50924         * nscd/aicache.c: Include res_hconf.h.
50925         (addhstaiX): Initialize res_hconf.
50927 2013-08-26  Andreas Schwab  <schwab@suse.de>
50929         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
50930         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
50932 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50934         * nscd/aicache.c (addhstaiX): Fix indentation.
50936 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
50938         * configure.ac: Quote $build_pt_chown test.
50939         * configure: Regenerated.
50941 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
50943         [BZ #15532]
50944         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
50945         * math/s_cexpf.c (__cexpf): Likewise.
50946         * math/s_cexpl.c (__cexpl): Likewise.
50947         * math/libm-test.inc (cexp_test_data): Correct expected return
50948         value for NaN + i0.  Add another test.
50950 2013-08-22  David S. Miller  <davem@davemloft.net>
50952         * po/ca.po: Update Catalan translation from translation project.
50953         * po/uk.po: Add Ukrainian translations from translation project.
50955 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
50957         [BZ #15797]
50958         * math/s_fdim.c (__fdim): Check for infinite arguments if result
50959         is infinite, not alongside NaN test.
50960         * math/s_fdimf.c (__fdimf): Likewise.
50961         * math/s_fdiml.c (__fdiml): Likewise.
50962         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
50963         errno is unchanged.
50965 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
50967         * argp/argp-help.c: Fix typos.
50968         * crypt/speeds.c: Likewise.
50969         * csu/check_fds.c: Likewise.
50970         * elf/dl-load.c: Likewise.
50971         * elf/dl-open.c: Likewise.
50972         * elf/reldep3.c: Likewise.
50973         * elf/reldep.c: Likewise.
50974         * elf/sprof.c: Likewise.
50975         * iconv/iconv_charmap.c: Likewise.
50976         * iconv/skeleton.c: Likewise.
50977         * iconv/strtab.c: Likewise.
50978         * io/lockf64.c: Likewise.
50979         * libio/libioP.h: Likewise.
50980         * resolv/gai_notify.c: Likewise.
50981         * resolv/ns_name.c: Likewise.
50982         * resolv/ns_samedomain.c: Likewise.
50983         * resolv/res_send.c: Likewise.
50984         * stdlib/random.c: Likewise.
50985         * sunrpc/rpc/xdr.h: Likewise.
50986         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50987         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50988         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50989         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50990         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50991         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50993         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50994         * sysdeps/mach/hurd/check_fds.c: Likewise.
50995         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50996         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50997         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50998         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50999         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51000         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51001         * sysdeps/pthread/aio_notify.c: Likewise.
51002         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51003         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51004         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51005         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51006         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51008 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51010         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51011         version if bit_Slow_SSE4_2 is set.
51012         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51013         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51015 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51017         [BZ #15867]
51018         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51019         trampoline stack frame information.
51020         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51021         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51022         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51023         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51024         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51025         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51026         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51027         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51028         sa_flags value.
51029         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51030         interrupting a syscall and set with option SA_SIGINFO.
51032 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51034         [BZ #15531]
51035         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51036         argument is infinite.
51037         * math/s_cprojf.c (__cprojf): Likewise.
51038         * math/s_cprojl.c (__cprojl): Likewise.
51039         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51040         * math/libm-test.inc (cproj_test_data): Add more tests.
51042         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51044         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51045         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51046         size.  Use __ffs to determine corresponding shift.
51048 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51049             Roland McGrath  <roland@hack.frob.com>
51051         * Makefile (INSTALL): Remove trailing blank lines from output of
51052         makeinfo.
51054 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51056         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51057         Align 32 bit compat elf_greg to 8 bytes.
51059 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51061         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51063 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51065         * string/strcoll_l.c (coll_seq): New structure.
51066         (get_next_seq_cached): New function.
51067         (get_next_seq): New function.
51068         (do_compare): New function.
51069         (STRCOLL): Use GNU style definition.  Simplify implementation
51070         by using get_next_seq, get_next_seq_cached and do_compare.
51072 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51074         [BZ #14699]
51075         CVE-2013-4237
51076         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51077         member.
51078         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51079         member.
51080         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51081         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51082         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51083         conditional.
51084         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51085         GETDENTS_64BIT_ALIGNED.
51086         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51087         * manual/filesys.texi (Reading/Closing Directory): Document
51088         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51089         strongly.
51090         * manual/conf.texi (Limits for Files): Add portability note to
51091         NAME_MAX, PATH_MAX.
51092         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51094 2013-08-13  Andreas Schwab  <schwab@suse.de>
51096         [BZ #15749]
51097         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51098         of fabs.
51099         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51100         LDBL_MAX_EXP >= 16384]: Add tests for it.
51102 2013-08-12  David S. Miller  <davem@davemloft.net>
51104         * version.h (RELEASE): Set to "development".
51105         (VERSION): Set to "2.18.90".
51106         * NEWS: Add 2.19 section.
51108 2013-08-03  David S. Miller  <davem@davemloft.net>
51110         * po/ko.po: Update Korean translation from translation project.
51112 2013-08-01  David S. Miller  <davem@davemloft.net>
51114         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51115         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51116         Bilka.
51118 2013-07-30  David S. Miller  <davem@davemloft.net>
51120         * po/fr.po: Update French translation from translation project.
51122 2013-07-28  David S. Miller  <davem@davemloft.net>
51124         * po/cs.po: Update Czech translation from translation project.
51126         * po/sv.po: Update Swedish translation from translation project.
51128 2013-07-27  David S. Miller  <davem@davemloft.net>
51130         * po/eo.po: Update Esperanto translation from translation project.
51132         * po/vi.po: Update Vietnamese translation from translation project.
51134         * po/de.po: Update German translation from translation project.
51136 2013-07-26  David S. Miller  <davem@davemloft.net>
51138         * po/bg.po: Update Bulgarian translation from translation project.
51140         * po/nl.po: Update Dutch translation from translation project.
51141         * po/pl.po: Update Polish translation from translation project.
51142         * po/ru.po: Update Russian translation from translation project.
51144 2013-07-24  David S. Miller  <davem@davemloft.net>
51146         * po/libc.pot: Update.
51148 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51150         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51151         variable page size.
51152         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51153         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51154         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51156 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51158         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51160 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51161             Andreas Schwab  <schwab@suse.de>
51162             Roland McGrath  <roland@hack.frob.com>
51163             Joseph Myers  <joseph@codesourcery.com>
51164             Carlos O'Donell  <carlos@redhat.com>
51166         [BZ #15755]
51167         * config.h.in: Define HAVE_PT_CHOWN.
51168         * config.make.in (build-pt-chown): New variable.
51169         * configure.in (--enable-pt_chown): New configure option.
51170         * configure: Regenerate.
51171         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51172         build-pt-chown is enabled.
51173         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51174         pt_chown to fix pty ownership.
51175         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51176         CLOSE_ALL_FDS.
51177         * manual/install.texi (Configuring and compiling): Mention
51178         --enable-pt_chown. Add @findex for grantpt.
51179         * INSTALL: Regenerate.
51181 2013-07-20  David S. Miller  <davem@davemloft.net>
51183         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51184         difference between 32-bit and 64-bit.
51186 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51188         [BZ #15711]
51189         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51190         Avoid system header dependency with -ffreestanding.
51191         ($(objpfx)bits/syscall%d): Likewise.
51193 2013-07-13  David S. Miller  <davem@davemloft.net>
51195         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51196         underflows from atanl/atan2l due to bug 15319.
51197         (casinh_test_data): Likewise.
51199 2013-07-07  David S. Miller  <davem@davemloft.net>
51201         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51203 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51205         * sysdeps/i386/fpu/libm-test-ulps: Update.
51206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51208 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51210         * configure.in (--enable-lock-elision): Fix message text.
51211         * INSTALL: Regenerate.
51212         * configure: Regenerate.
51214 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51218 2013-07-03  Andreas Jaeger  <aj@suse.de>
51220         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51221         define.
51222         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51223         (ptrace_peeksiginfo_args): Add.
51224         (__ptrace_peeksiginfo_flags): Add.
51225         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51226         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51227         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51229 2013-07-03  Allan McRae  <allan@archlinux.org>
51231         * sysdeps/i386/fpu/libm-test-ulps: Update.
51233 2013-07-02  David S. Miller  <davem@davemloft.net>
51235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51237 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51241 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51243         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51246 2013-07-02  Andi Kleen <ak@linux.intel.com>
51248         * config.h.in (ENABLE_LOCK_ELISION): Add.
51249         * configure.in (--enable-lock-elision): Add option.
51250         * manual/install.texi: Document --enable lock elision.
51251         * configure: Regenerate
51252         * INSTALL: Regenerate.
51254 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51256         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51257         SSE4.2 strcasecmp for libc.a.
51258         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51260 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51262         [BZ #13304]
51263         * soft-fp/op-common.h (_FP_FMA): New macro.
51264         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51265         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51266         (_FP_MUL_MEAT_1_imm): ... here.
51267         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51268         (_FP_MUL_MEAT_1_wide): ... here.
51269         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51270         (_FP_MUL_MEAT_1_hard): ... here.
51271         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51272         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51273         (_FP_MUL_MEAT_2_wide): ... here.
51274         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51275         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51276         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51277         (_FP_MUL_MEAT_2_gmp): ... here.
51278         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51279         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51280         (_FP_MUL_MEAT_4_wide): ... here.
51281         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51282         (_FP_MUL_MEAT_4_gmp): ... here.
51283         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51284         (_FP_WFRACBITS_DW_S): Likewise.
51285         (_FP_WFRACXBITS_DW_S): Likewise.
51286         (_FP_HIGHBIT_DW_S): Likewise.
51287         (FP_FMA_S): Likewise.
51288         (_FP_FRAC_HIGH_DW_S): Likewise.
51289         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51290         (_FP_WFRACBITS_DW_D): Likewise.
51291         (_FP_WFRACXBITS_DW_D): Likewise.
51292         (_FP_HIGHBIT_DW_D): Likewise.
51293         (FP_FMA_D): Likewise.
51294         (_FP_FRAC_HIGH_DW_D): Likewise.
51295         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51296         (_FP_WFRACBITS_DW_E): Likewise.
51297         (_FP_WFRACXBITS_DW_E): Likewise.
51298         (_FP_HIGHBIT_DW_E): Likewise.
51299         (FP_FMA_E): Likewise.
51300         (_FP_FRAC_HIGH_DW_E): Likewise.
51301         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51302         (_FP_WFRACBITS_DW_Q): Likewise.
51303         (_FP_WFRACXBITS_DW_Q): Likewise.
51304         (_FP_HIGHBIT_DW_Q): Likewise.
51305         (FP_FMA_Q): Likewise.
51306         (_FP_FRAC_HIGH_DW_Q): Likewise.
51307         * soft-fp/fmasf4.c: New file.
51308         * soft-fp/fmadf4.c: Likewise.
51309         * soft-fp/fmatf4.c: Likewise.
51311 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51314         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51315         Silvermont.
51316         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51317         macro.
51318         (index_Slow_SSE4_2): Likewise.
51319         (index_Prefer_PMINUB_for_stringop): Likewise.
51320         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51321         bit_Slow_SSE4_2 is set.
51322         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51323         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51325 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51327         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51328         rtld_global._dl_hwcap2.
51329         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51330         POWER8.
51331         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51332         POWER8 feature descriptions defined in _dl_hwcap2.
51333         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51334         string handling for POWER8 feature bits.
51335         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51336         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51337         _dl_powerpc_cap_flags.
51338         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51339         * sysdeps/powerpc/rtld-global-offsets.sym
51340         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51341         _dl_hwcap2 in the rtld_global_ro structure.
51343 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51345         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51346         hardware capabilities in support of AT_HWCAP2.
51347         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51348         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51349         GLRO(dl_hwcap2).
51350         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51351         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51352         explicitly the unknown a_type display mechanism is used.
51353         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51354         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51355         struct member.
51356         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51357         to macro prototype for AT_HWCAP2 support.
51358         * sysdeps/i386/dl-procinfo.h: Likewise.
51359         * sysdeps/s390/dl-procinfo.h: Likewise.
51360         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51361         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51362         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51363         return -1 for unknown a_type display fallback.
51364         * sysdeps/sparc/dl-procinfo.h: Likewise.
51365         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51366         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51368 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51370         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51371         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51373 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51375         [BZ #12492]
51376         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51377         mprotect making __stack_prot writable.
51379 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51380             Joseph Myers  <joseph@codesourcery.com>
51382         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51383         as being properly aligned.
51385 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51387         * dlfcn/modstatic5.c: New file.
51388         * dlfcn/tststatic5.c: New file.
51389         * dlfcn/Makefile (tests): Add tststatic5.
51390         (tests-static): Likewise.
51391         (modules-names): Add modstatic5.
51392         (tststatic5-ENV): New variable.
51393         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51395         [BZ #15022]
51396         * elf/dl-support.c (_dl_main_map): New variable.
51397         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51398         (_dl_nns, _dl_load_adds): Set to 1.
51399         (_dl_initial_searchlist): Refer to _dl_main_map.
51400         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51401         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51402         call to _dl_get_origin.
51403         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51404         around call_map.
51405         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51406         * dlfcn/modstatic3.c: New file.
51407         * dlfcn/tststatic3.c: New file.
51408         * dlfcn/tststatic4.c: New file.
51409         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51410         (tests-static): Likewise.
51411         (modules-names): Add modstatic3.
51412         (tststatic3-ENV, tststatic4-ENV): New variables.
51413         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51414         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51416 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51418         * configure.in (CC): Require GCC version 4.4 or later.
51419         * configure: Regenerated.
51420         * manual/install.texi (Tools for Compilation): Update GCC version
51421         requirement.
51422         * INSTALL: Regenerated.
51424 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51426         [BZ #15674]
51427         * string/test-memcmp.c (check2): New.
51428         (main): Call check2.
51430         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51432 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51434         [BZ #15022]
51435         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51436         over to...
51437         (dl_open_worker) [!SHARED]: ... here.
51439 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51441         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51443 2013-06-25  Richard Henderson  <rth@redhat.com>
51445         * locale/programs/locarchive.c: Include <libc-internal.h>
51447 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51449         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51450         trailing whitespace removed.
51452 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51454         [BZ #10283]
51455         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51456         * locale/programs/locarchive.c: Include libc-mmap.h.
51457         (prepare_address_space): Take two new outputs (the mmap base and len).
51458         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51459         values.
51460         (create_archive): Declare new mmap base and len values for
51461         prepare_address_space, and store the result in ah.
51462         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51463         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51464         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51465         Declare new mmap base and len values for
51466         prepare_address_space, and store the result in new_ah.
51467         (open_archive): Declare new mmap base and len values for
51468         prepare_address_space, and store the result in ah.
51469         (close_archive): If ah->mmap_base is not NULL, use that and
51470         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51471         * sysdeps/generic/libc-mmap.h: New file.
51473 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51475         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51476         (ALIGN_UP): Likewise.
51477         (PTR_ALIGN_DOWN): Likewise.
51478         (PTR_ALIGN_UP): Likewise.
51480 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51482         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51483         entry mapped to PPC_PLATFORM_POWER8.
51484         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51485         POWER8.
51486         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51487         (_dl_string_platform): Add case for exporting platform position for
51488         POWER8.
51489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51490         search path to sysdeps/powerpc/powerpc32/power8 directory.
51491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51492         search path to sysdeps/powerpc/powerpc64/power8 directory.
51493         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51494         power7 directories.
51495         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51496         power7 directories.
51498 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51500         * INSTALL: Regenerate.
51502         * nscd/connections.c (nscd_init): Fix comment.
51504 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51506         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51508         [BZ #15667]
51509         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51510         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51512 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51514         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51515         DL_DST_REQ_STATIC.
51516         (DL_DST_REQ_STATIC): Remove macro.
51518 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51520         [BZ #7006]
51521         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51522         with a shift of 0 bits.
51524 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51526         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51527         $(tststatic-ENV).
51529 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51531         [BZ #15655]
51532         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51534 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51536         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51537         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51538         accepts -fno-tree-loop-distribute-patterns.
51539         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51540         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51541         recursive call.
51542         * string/memset.c (memset): Likewise.
51543         * string/test-memmove.c (simple_memmove): Disable loop transformation
51544         to library calls.
51545         * string/test-memset.c (simple_memset): Likewise.
51546         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51547         * benchtests/bench-memset.c (simple_memset): Likewise.
51548         * configure: Regenerated.
51550 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51552         * math/test-misc.c (main): Ignore fesetround failure when failures
51553         of subsequent rounding tests would be ignored.
51555         [BZ #15654]
51556         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51557         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51558         * math/fegetenv.c (__fegetenv): Return 0.
51559         * math/fegetexcept.c (fegetexcept): Return 0.
51560         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51561         FE_TONEAREST.
51562         * math/feholdexcpt.c (feholdexcept): Return 0.
51563         * math/fesetenv.c (__fesetenv): Return 0.
51564         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51565         argument FE_TONEAREST.
51566         * math/feupdateenv.c (__feupdateenv): Return 0.
51567         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51569 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51571         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51572         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51573         ($(objpfx)rtld-%.os rules): Use them.
51575 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51577         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51578         fields.
51580 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51582         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51583         length of target pattern, then descending length of dependency pattern.
51584         * configure.in (AWK): Require gawk 3.1.2 or newer.
51585         * manual/install.texi (Tools for Compilation): Say that we do.
51586         * configure: Regenerated.
51588         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51589         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51590         * scripts/sysd-rules.awk: ... this new script.
51591         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51592         than a glob-style pattern.
51594 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51596         * math/test-misc.c (main): Do not treat incorrectly rounded
51597         conversions as failure unless ROUNDING_TESTS passes.
51599 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51601         [BZ #15631]
51602         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51603         restore exception state around main square root computation, then
51604         check for inexactness explicitly.
51606         * math/libm-test.inc (fma_test_data): Add another test.
51608 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51610         * manual/threads.texi (Non-POSIX Extensions): New document
51611         node.  Document pthread_getattr_default_np and
51612         pthread_setattr_default_np.
51614         * Versions.def (libpthread): Add GLIBC_2.18.
51615         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51617         Likewise.
51618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51619         Likewise.
51620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51621         Likewise.
51622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51623         Likewise.
51624         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51625         Likewise.
51626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51627         Likewise.
51628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51629         Likewise.
51630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51631         Likewise.
51632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51633         Likewise.
51635 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51638         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51640 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51641             H.J. Lu  <hjl.tools@gmail.com>
51643         [BZ #15627]
51644         * sysdeps/x86_64/rtld-memset.c: Remove file.
51645         * sysdeps/x86_64/rtld-memset.S: New file.
51647 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51649         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51650         (test_in_one_mode): Take arguments for whether the rounding mode
51651         is supported for each floating-point type.
51652         (do_test): Pass new arguments to test_in_one_mode using
51653         ROUNDING_TESTS.
51655 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51657         * posix/tst-waitid.c (do_test): Distinguish different instances of
51658         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51659         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51660         before entering the kernel for waitpid.
51662 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51664         * NEWS: Fix note on clock function precision.  Text by Roland
51665         McGrath.
51667 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51669         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51670         it into place only when and if the sanity check passes.
51672 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51674         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51675         output for whether conversion result is exact.  Take argument
51676         indicating whether type is IBM long double.
51677         (round_for_all): Change need_exact field to ibm_ld.
51678         * stdlib/tst-strtod-round.c (struct exactness): New type.
51679         (struct test): Change bool ld_ok field to struct exactness exact.
51680         (TEST): Update all definitions for change to field.
51681         (tests): Regenerate array contents.
51682         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51683         field value.  Check for IBM long double here.
51684         (do_test): Update calls to test_in_one_mode.
51686 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51688         [BZ #12515]
51689         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51690         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51692 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51694         [BZ #15605]
51695         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51696         generated by the compiler on loop optimizations.
51697         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51698         general definitions.
51700 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51702         * math/bug-nextafter.c: Include <math-tests.h>.
51703         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51704         the relevant type.
51705         * math/bug-nexttoward.c: Include <math-tests.h>.
51706         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51707         the relevant type.
51708         * math/test-misc.c: Include <math-tests.h>.
51709         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51710         the relevant type.
51712 2013-06-12  Andreas Jaeger  <aj@suse.de>
51714         * po/ia.po: Update Interlingua translation from translation
51715         project.
51717 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51719         * include/fenv.h: Include stdbool.h.
51720         (struct rm_ctx): New structure.
51721         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51722         Define macro.
51723         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51724         (SET_RESTORE_ROUNDF): Likewise.
51725         (SET_RESTORE_ROUNDL): Likewise.
51726         (SET_RESTORE_ROUND_NOEX): Likewise.
51727         (SET_RESTORE_ROUND_NOEXF): Likewise.
51728         (SET_RESTORE_ROUND_NOEXL): Likewise.
51729         (SET_RESTORE_ROUND_53BIT): Likewise.
51730         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51731         (libc_feresetround_noexf_ctx): Likewise.
51732         (libc_feresetround_noexl_ctx): Likewise.
51733         (libc_feholdsetround_53bit_ctx): Likewise.
51734         (libc_feresetround_53bit_ctx): Likewise.
51735         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51736         (libc_feholdexcept_setround_sse_ctx): New function.
51737         (libc_fesetenv_sse_ctx): Likewise.
51738         (libc_feupdateenv_sse_ctx): Likewise.
51739         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51740         (libc_feholdexcept_setround_387_ctx): Likewise.
51741         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51742         (libc_feholdsetround_387_prec_ctx): Likewise.
51743         (libc_feholdsetround_387_ctx): Likewise.
51744         (libc_feholdsetround_387_53bit_ctx): Likewise.
51745         (libc_feholdsetround_sse_ctx): Likewise.
51746         (libc_feresetround_sse_ctx): Likewise.
51747         (libc_feresetround_387_ctx): Likewise.
51748         (libc_feupdateenv_387_ctx): Likewise.
51749         (libc_feholdexcept_setroundf_ctx): Define macro.
51750         (libc_fesetenvf_ctx): Likewise.
51751         (libc_feupdateenvf_ctx): Likewise.
51752         (libc_feholdsetroundf_ctx): Likewise.
51753         (libc_feresetroundf_ctx): Likewise.
51754         (libc_feholdexcept_setround_ctx): Likewise.
51755         (libc_fesetenv_ctx): Likewise.
51756         (libc_feupdateenv_ctx): Likewise.
51757         (libc_feholdsetround_ctx): Likewise.
51758         (libc_feresetround_ctx): Likewise.
51759         (libc_feholdexcept_setroundl_ctx): Likewise.
51760         (libc_feupdateenvl_ctx): Likewise.
51761         (libc_feholdsetroundl_ctx): Likewise.
51762         (libc_feresetroundl_ctx): Likewise.
51763         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51764         (libc_feresetround_53bit_ctx): Likewise.
51766 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51768         * locale/iso-639.def: Convert to UTF-8.
51770 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51772         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51773         (EXCEPTION_TESTS_double): Likewise.
51774         (EXCEPTION_TESTS_long_double): Likewise.
51775         (EXCEPTION_TESTS): Likewise.
51776         * math/libm-test.inc (test_exceptions): Only test exceptions if
51777         EXCEPTION_TESTS (FLOAT).
51779 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51781         * benchtests/Makefile (string-bench): Add strcpy_chk and
51782         stpcpy_chk.
51783         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51784         * benchtests/bench-stpcpy_chk.c: New file.
51785         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51786         * benchtests/bench-strcpy_chk.c: New file.
51787         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51788         code.
51789         (do_test): Likewise.
51791 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51793         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51794         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51795         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51796         with tabs where appropriate.
51797         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
51798         dl-procinfo.h.
51799         [PPC_PLATFORM_PPC440]: Likewise.
51800         [PPC_PLATFORM_PPC464]: Likewise.
51801         [PPC_PLATFORM_PPC476]: Likewise.
51802         (_dl_string_platform): Add support for detecting ppc405, ppc440,
51803         ppc464, and ppc476 platform strings merging from ports/
51804         dl-procinfo.h.
51806 2013-06-11  Andreas Schwab  <schwab@suse.de>
51808         [BZ #14991]
51809         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
51810         (from_ucs4_idx): Regenerate.
51811         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
51812         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
51813         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
51814         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
51815         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51816         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
51817         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
51818         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
51819         from FROM_LOOP and TO_LOOP specific macros.
51820         (BODY): Handle combining characters.
51821         * iconvdata/BIG5HKSCS.irreversible: Update.
51822         * iconvdata/BIG5HKSCS.precomposed: New file.
51823         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
51824         characters.
51825         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
51827 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51829         * include/sys/time.h: Fix indentation and add copyright header.
51831         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
51832         (do_test): Likewise.
51833         * string/test-memchr.c (do_one_test): Likewise.
51834         (do_test): Likewise.
51835         * string/test-memcmp.c (do_one_test): Likewise.
51836         (do_test): Likewise.
51837         * string/test-memcpy.c (do_one_test): Likewise.
51838         (do_test): Likewise.
51839         * string/test-memmem.c (do_one_test): Likewise.
51840         (do_test): Likewise.
51841         (do_random_tests): Likewise.
51842         * string/test-memmove.c (do_one_test): Likewise.
51843         (do_test): Likewise.
51844         * string/test-memset.c (do_one_test): Likewise.
51845         (do_test): Likewise.
51846         * string/test-rawmemchr.c (do_one_test): Likewise.
51847         (do_test): Likewise.
51848         * string/test-strcasecmp.c (do_one_test): Likewise.
51849         (do_test): Likewise.
51850         * string/test-strcasestr.c (do_one_test): Likewise.
51851         (do_test): Likewise.
51852         * string/test-strcat.c (do_one_test): Likewise.
51853         (do_test): Likewise.
51854         * string/test-strchr.c (do_one_test): Likewise.
51855         (do_test): Likewise.
51856         * string/test-strcmp.c (do_one_test): Likewise.
51857         (do_test): Likewise.
51858         * string/test-strcpy.c (do_one_test): Likewise.
51859         (do_test): Likewise.
51860         * string/test-string.h: Likewise.
51861         (test_init): Likewise.
51862         * string/test-strlen.c (do_one_test): Likewise.
51863         (do_test): Likewise.
51864         * string/test-strncasecmp.c (do_one_test): Likewise.
51865         (do_test): Likewise.
51866         * string/test-strncat.c (do_one_test): Likewise.
51867         (do_test): Likewise.
51868         * string/test-strncmp.c (do_one_test): Likewise.
51869         (do_test_limit): Likewise.
51870         (do_test): Likewise.
51871         * string/test-strncpy.c (do_one_test): Likewise.
51872         (do_test): Likewise.
51873         * string/test-strnlen.c (do_one_test): Likewise.
51874         (do_test): Likewise.
51875         * string/test-strpbrk.c (do_one_test): Likewise.
51876         (do_test): Likewise.
51877         * string/test-strrchr.c (do_one_test): Likewise.
51878         (do_test): Likewise.
51879         * string/test-strspn.c (do_one_test): Likewise.
51880         (do_test): Likewise.
51881         * string/test-strstr.c (do_one_test): Likewise.
51882         (do_test): Likewise.
51884         * benchtests/Makefile (string-bench): Add string benchmarks.
51885         * benchtests/bench-bcopy-ifunc.c: New file.
51886         * benchtests/bench-bcopy.c: New file.
51887         * benchtests/bench-bzero-ifunc.c: New file.
51888         * benchtests/bench-bzero.c: New file.
51889         * benchtests/bench-memccpy-ifunc.c: New file.
51890         * benchtests/bench-memccpy.c: New file.
51891         * benchtests/bench-memchr-ifunc.c: New file.
51892         * benchtests/bench-memchr.c: New file.
51893         * benchtests/bench-memcmp-ifunc.c: New file.
51894         * benchtests/bench-memcmp.c: New file.
51895         * benchtests/bench-memmem-ifunc.c: New file.
51896         * benchtests/bench-memmem.c: New file.
51897         * benchtests/bench-memmove-ifunc.c: New file.
51898         * benchtests/bench-memmove.c: New file.
51899         * benchtests/bench-mempcpy-ifunc.c: New file.
51900         * benchtests/bench-mempcpy.c: New file.
51901         * benchtests/bench-memset-ifunc.c: New file.
51902         * benchtests/bench-memset.c: New file.
51903         * benchtests/bench-rawmemchr-ifunc.c: New file.
51904         * benchtests/bench-rawmemchr.c: New file.
51905         * benchtests/bench-stpcpy-ifunc.c: New file.
51906         * benchtests/bench-stpcpy.c: New file.
51907         * benchtests/bench-stpncpy-ifunc.c: New file.
51908         * benchtests/bench-stpncpy.c: New file.
51909         * benchtests/bench-strcasecmp-ifunc.c: New file.
51910         * benchtests/bench-strcasecmp.c: New file.
51911         * benchtests/bench-strcasestr-ifunc.c: New file.
51912         * benchtests/bench-strcasestr.c: New file.
51913         * benchtests/bench-strcat-ifunc.c: New file.
51914         * benchtests/bench-strcat.c: New file.
51915         * benchtests/bench-strchr-ifunc.c: New file.
51916         * benchtests/bench-strchr.c: New file.
51917         * benchtests/bench-strchrnul-ifunc.c: New file.
51918         * benchtests/bench-strchrnul.c: New file.
51919         * benchtests/bench-strcmp-ifunc.c: New file.
51920         * benchtests/bench-strcmp.c: New file.
51921         * benchtests/bench-strcpy-ifunc.c: New file.
51922         * benchtests/bench-strcpy.c: New file.
51923         * benchtests/bench-strcspn-ifunc.c: New file.
51924         * benchtests/bench-strcspn.c: New file.
51925         * benchtests/bench-strlen-ifunc.c: New file.
51926         * benchtests/bench-strlen.c: New file.
51927         * benchtests/bench-strncasecmp-ifunc.c: New file.
51928         * benchtests/bench-strncasecmp.c: New file.
51929         * benchtests/bench-strncat-ifunc.c: New file.
51930         * benchtests/bench-strncat.c: New file.
51931         * benchtests/bench-strncmp-ifunc.c: New file.
51932         * benchtests/bench-strncmp.c: New file.
51933         * benchtests/bench-strncpy-ifunc.c: New file.
51934         * benchtests/bench-strncpy.c: New file.
51935         * benchtests/bench-strnlen-ifunc.c: New file.
51936         * benchtests/bench-strnlen.c: New file.
51937         * benchtests/bench-strpbrk-ifunc.c: New file.
51938         * benchtests/bench-strpbrk.c: New file.
51939         * benchtests/bench-strrchr-ifunc.c: New file.
51940         * benchtests/bench-strrchr.c: New file.
51941         * benchtests/bench-strspn-ifunc.c: New file.
51942         * benchtests/bench-strspn.c: New file.
51943         * benchtests/bench-strstr-ifunc.c: New file.
51944         * benchtests/bench-strstr.c: New file.
51946         * benchtests/Makefile: Disable parallel execution of targets.
51947         (string-bench): Add memcpy.
51948         (benchset): New variable to store a list of benchmark sets.
51949         (bench-func): Renamed from bench.
51950         (bench-set): New target.
51951         (bench): Depend on bench-func and bench-set.
51952         * benchtests/README: Add section on benchmark sets.
51953         * benchtests/bench-memcpy-ifunc.c: New file.
51954         * benchtests/bench-memcpy.c: New file.
51955         * benchtests/bench-string.h: New file.
51957 2013-06-11  Andreas Schwab  <schwab@suse.de>
51959         [BZ #15577]
51960         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
51961         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
51962         values in the triple.
51963         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
51964         terminator in the group key.
51966 2013-06-11  Andreas Jaeger  <aj@suse.de>
51968         * po/zh_TW.po: Update Chinese (traditional) translation from
51969         translation project.
51971 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51973         * include/time.h (__clock_gettime): Add libc_hidden_proto.
51974         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
51975         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
51976         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51977         (clock_getcpuclockid): Likewise.
51978         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51979         Add weak_alias and libc_hidden_def.
51980         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51981         * rt/clock_gettime.c (clock_gettime): Rename to
51982         __clock_gettime.  Add weak_alias and libc_hidden_def.
51983         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51984         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51985         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51986         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51987         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51988         Likewise.
51989         * rt/clock_settime.c (clock_settime): Rename to
51990         __clock_settime.  Add weak_alias and libc_hidden_def.
51991         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51993 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51995         * mach/err_boot.sub: Remove trailing whitespace.
51996         * mach/err_ipc.sub: Likewise.
51997         * mach/err_mach.sub: Likewise.
51999         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52000         (ROUNDING_TESTS_double): Likewise.
52001         (ROUNDING_TESTS_long_double): Likewise.
52002         (ROUNDING_TESTS): Likewise.
52003         * math/libm-test.inc: Include <math-tests.h>.
52004         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52005         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52006         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52007         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52009 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52011         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52012         of assigning.
52014 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52016         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52017         otherwise empty TRANS lines.
52018         * sysdeps/gnu/errlist.c: Regenerated.
52020         * catgets/gencat.c (error_print): Use (void) in function
52021         definition.
52022         * crypt/crypt_util.c (__init_des): Likewise.
52023         * crypt/speeds.c (Stop): Likewise.
52024         (main): Likewise.
52025         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52026         * inet/ruserpass.c (token): Likewise.
52027         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52028         * intl/localealias.c (extend_alias_table): Likewise.
52029         * intl/plural-exp.c (init_germanic_plural): Likewise.
52030         * libio/fcloseall.c (__fcloseall): Likewise.
52031         * libio/genops.c (_IO_flush_all): Likewise.
52032         (_IO_flush_all_linebuffered): Likewise.
52033         (_IO_cleanup): Likewise.
52034         (_IO_iter_begin): Likewise.
52035         (_IO_iter_end): Likewise.
52036         (_IO_list_lock): Likewise.
52037         (_IO_list_unlock): Likewise.
52038         (_IO_list_resetlock): Likewise.
52039         * libio/getchar.c (getchar): Likewise.
52040         * libio/getchar_u.c (getchar_unlocked): Likewise.
52041         * libio/getwchar.c (getwchar): Likewise.
52042         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52043         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52044         * login/getpt.c (__getpt): Likewise.
52045         * login/tst-utmp.c (main): Likewise.
52046         * malloc/hooks.c (__malloc_check_init): Likewise.
52047         * malloc/malloc.c (__malloc_stats): Likewise.
52048         * malloc/mtrace.c (tr_break): Likewise.
52049         (mtrace): Likewise.
52050         (muntrace): Likewise.
52051         * misc/fstab.c (endfsent): Likewise.
52052         * misc/getclktck.c (__getclktck): Likewise.
52053         * misc/getdtsz.c (__getdtablesize): Likewise.
52054         * misc/gethostid.c (gethostid): Likewise.
52055         * misc/getpagesize.c (__getpagesize): Likewise.
52056         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52057         (__get_nprocs): Likewise.
52058         (__get_phys_pages): Likewise.
52059         (__get_avphys_pages): Likewise.
52060         * misc/getttyent.c (getttyent): Likewise.
52061         (setttyent): Likewise.
52062         (endttyent): Likewise.
52063         * misc/getusershell.c (getusershell): Likewise.
52064         (endusershell): Likewise.
52065         (setusershell): Likewise.
52066         (initshells): Likewise.
52067         * misc/hsearch.c (__hdestroy): Likewise.
52068         * misc/sync.c (sync): Likewise.
52069         * misc/syslog.c (closelog_internal): Likewise.
52070         (closelog): Likewise.
52071         * misc/ttyslot.c (ttyslot): Likewise.
52072         * misc/vhangup.c (vhangup): Likewise.
52073         * posix/fork.c (__fork): Likewise.
52074         * posix/getegid.c (__getegid): Likewise.
52075         * posix/geteuid.c (__geteuid): Likewise.
52076         * posix/getgid.c (__getgid): Likewise.
52077         * posix/getpid.c (__getpid): Likewise.
52078         * posix/getppid.c (__getppid): Likewise.
52079         * posix/getuid.c (__getuid): Likewise.
52080         * posix/pause.c (pause): Likewise.
52081         * posix/setpgrp.c (setpgrp): Likewise.
52082         * posix/setsid.c (__setsid): Likewise.
52083         * posix/test-vfork.c (noop): Likewise.
52084         * resolv/gethnamaddr.c (_endhtent): Likewise.
52085         (_gethtent): Likewise.
52086         (ht_endhostent): Likewise.
52087         (gethostent): Likewise.
52088         (dns_service): Likewise.
52089         * stdlib/drand48.c (drand48): Likewise.
52090         * stdlib/lrand48.c (lrand48): Likewise.
52091         * stdlib/mrand48.c (mrand48): Likewise.
52092         * stdlib/rand.c (rand): Likewise.
52093         * stdlib/random.c (__random): Likewise.
52094         * stdlib/setenv.c (clearenv): Likewise.
52095         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52096         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52097         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52098         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52099         (__get_nprocs): Likewise.
52100         (__get_phys_pages): Likewise.
52101         (__get_avphys_pages): Likewise.
52102         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52103         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52104         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52105         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52106         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52107         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52108         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52109         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52110         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52111         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52112         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52113         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52114         * sysdeps/posix/clock.c (clock): Likewise.
52115         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52116         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52117         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52118         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52119         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52120         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52121         (__get_nprocs_conf): Likewise.
52122         (__get_phys_pages): Likewise.
52123         (__get_avphys_pages): Likewise.
52124         * time/clock.c (clock): Likewise.
52125         * time/tzset.c (__tzname_max): Likewise.
52127 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52129         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52130         (__bswap_32): Do not use "register".
52131         * crypt/crypt.c (_ufc_doit_r): Likewise.
52132         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52133         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52134         * gmon/gmon.c (__monstartup): Likewise.
52135         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52136         * hurd/hurdmalloc.c (more_memory): Likewise.
52137         (malloc): Likewise.
52138         (free): Likewise.
52139         (realloc): Likewise.
52140         (malloc_fork_prepare): Likewise.
52141         (malloc_fork_parent): Likewise.
52142         (malloc_fork_child): Likewise.
52143         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52144         (_svcauth_des): Likewise.
52145         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52146         * inet/inet_net.c (inet_network): Likewise.
52147         * inet/inet_netof.c (inet_netof): Likewise.
52148         * inet/rcmd.c (__validuser2_sa): Likewise.
52149         * io/fts.c (fts_open): Likewise.
52150         (fts_load): Likewise.
52151         (fts_close): Likewise.
52152         (fts_read): Likewise.
52153         (fts_children): Likewise.
52154         (fts_build): Likewise.
52155         (fts_stat): Likewise.
52156         (fts_sort): Likewise.
52157         (fts_alloc): Likewise.
52158         (fts_lfree): Likewise.
52159         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52160         (_IO_file_xsgetn): Likewise.
52161         (_IO_file_xsgetn_mmap): Likewise.
52162         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52163         (_IO_cookie_write): Likewise.
52164         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52165         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52166         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52167         * malloc/obstack.c (_obstack_begin): Likewise.
52168         (_obstack_begin_1): Likewise.
52169         (_obstack_newchunk): Likewise.
52170         (_obstack_allocated_p): Likewise.
52171         (obstack_free): Likewise.
52172         (_obstack_memory_used): Likewise.
52173         * misc/getttyent.c (getttynam): Likewise.
52174         (getttyent): Likewise.
52175         (skip): Likewise.
52176         (value): Likewise.
52177         * misc/getusershell.c (initshells): Likewise.
52178         * misc/syslog.c (__vsyslog_chk): Likewise.
52179         * misc/ttyslot.c (ttyslot): Likewise.
52180         * nis/nis_hash.c (__nis_hash): Likewise.
52181         * posix/fnmatch_loop.c (FCT): Likewise.
52182         * posix/getconf.c (print_all): Likewise.
52183         (main): Likewise.
52184         * posix/getopt.c (exchange): Likewise.
52185         * posix/glob.c (globfree): Likewise.
52186         (prefix_array): Likewise.
52187         (__glob_pattern_type): Likewise.
52188         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52189         (NS_GET32): Likewise.
52190         (NS_PUT16): Likewise.
52191         (NS_PUT32): Likewise.
52192         * resolv/gethnamaddr.c (getanswer): Likewise.
52193         (gethostbyname2): Likewise.
52194         (gethostbyaddr): Likewise.
52195         (_gethtent): Likewise.
52196         (_gethtbyname2): Likewise.
52197         (_gethtbyaddr): Likewise.
52198         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52199         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52200         * resolv/res_init.c (__res_vinit): Likewise.
52201         (net_mask): Likewise.
52202         * resolv/res_mkquery.c (outchar): Likewise.
52203         (PRINT): Likewise.
52204         * stdio-common/printf_fp.c (outchar): Likewise.
52205         (PRINT): Likewise.
52206         * stdio-common/printf_fphex.c (outchar): Likewise.
52207         (PRINT): Likewise.
52208         * stdio-common/printf_size.c (outchar): Likewise.
52209         (PRINT): Likewise.
52210         * stdio-common/test_rdwr.c (main): Likewise.
52211         * stdio-common/tfformat.c (matches): Likewise.
52212         * stdio-common/vfprintf.c (outchar): Likewise.
52213         (printf_unknown): Likewise.
52214         (buffered_vfprintf): Likewise.
52215         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52216         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52217         (ReadFile): Likewise.
52218         * stdlib/qsort.c (SWAP): Likewise.
52219         (_quicksort): Likewise.
52220         * stdlib/setenv.c (__add_to_environ): Likewise.
52221         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52222         * stdlib/strtol_l.c (__strtol_l): Likewise.
52223         * stdlib/tst-strtod.c (main): Likewise.
52224         * stdlib/tst-strtol.c (main): Likewise.
52225         * stdlib/tst-strtoll.c (main): Likewise.
52226         * string/bits/string2.h (__strcmp_cc): Likewise.
52227         (__strcmp_cg): Likewise.
52228         (__strcspn_c1): Likewise.
52229         (__strcspn_c2): Likewise.
52230         (__strcspn_c3): Likewise.
52231         (__strspn_c1): Likewise.
52232         (__strspn_c2): Likewise.
52233         (__strspn_c3): Likewise.
52234         (__strsep_1c): Likewise.
52235         (__strsep_2c): Likewise.
52236         (__strsep_3c): Likewise.
52237         * string/memccpy.c (__memccpy): Likewise.
52238         * string/stpcpy.c (__stpcpy): Likewise.
52239         * string/strcmp.c (strcmp): Likewise.
52240         * string/strrchr.c (strrchr): Likewise.
52241         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52242         Likewise.
52243         * sysdeps/mach/hurd/getcwd.c
52244         (_hurd_canonicalize_directory_name_internal): Likewise.
52245         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52246         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52247         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52248         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52249         Likewise, in both definitions.
52250         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52251         definitions.
52252         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52253         64] (__bswap_64): Likewise.
52254         * time/test_time.c (main): Likewise.
52255         * time/tzfile.c (__tzfile_read): Likewise.
52256         (__tzfile_compute): Likewise.
52257         * time/tzset.c (__tzset_parse_tz): Likewise.
52258         (tzset_internal): Likewise.
52259         (compute_change): Likewise.
52260         * wcsmbs/wcscat.c (__wcscat): Likewise.
52261         * wcsmbs/wcschr.c (wcschr): Likewise.
52262         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52263         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52264         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52265         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52266         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52267         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52268         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52269         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52270         * wcsmbs/wmemset.c (wmemset): Likewise.
52272 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52274         * scripts/config.guess: Update to version 2013-05-16.
52275         * scripts/config.sub: Update to version 2013-04-24.
52276         * scripts/install-sh: Update to version 2011-11-20.07.
52277         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52278         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52280 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52282         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52283         * elf/sln.c: Likewise.
52284         * hurd/hurd/ioctl.h: Likewise.
52285         * hurd/hurdmalloc.c: Likewise.
52286         * hurd/xattr.c: Likewise.
52287         * include/shlib-compat.h: Likewise.
52288         * inet/ruserpass.c: Likewise.
52289         * libio/iofgets_u.c: Likewise.
52290         * libio/iofgetws_u.c: Likewise.
52291         * locale/programs/ld-identification.c: Likewise.
52292         * locale/programs/ld-time.c: Likewise.
52293         * mach/msg-destroy.c: Likewise.
52294         * nss/nss_files/files-netgrp.c: Likewise.
52295         * resolv/res_data.c: Likewise.
52296         * soft-fp/op-1.h: Likewise.
52297         * soft-fp/op-2.h: Likewise.
52298         * soft-fp/op-4.h: Likewise.
52299         * soft-fp/op-common.h: Likewise.
52300         * stdio-common/printf_fphex.c: Likewise.
52301         * stdlib/strtod_l.c: Likewise.
52302         * sunrpc/rpc/clnt.h: Likewise.
52303         * sysdeps/generic/framestate.c: Likewise.
52304         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52305         * sysdeps/i386/bsd-setjmp.S: Likewise.
52306         * sysdeps/i386/__longjmp.S: Likewise.
52307         * sysdeps/i386/setjmp.S: Likewise.
52308         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52309         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52310         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52311         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52312         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52313         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52314         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52315         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52316         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52317         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52318         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52319         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52320         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52321         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52322         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52323         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52324         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52325         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52326         * sysdeps/ieee754/support.c: Likewise.
52327         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52328         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52329         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52330         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52331         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52332         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52333         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52334         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52335         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52336         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52337         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52338         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52339         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52340         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52341         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52342         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52343         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52346 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52348         * posix/transbug.c: Remove executable mode.
52350 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52352         * crypt/speeds.c: Remove trailing whitespace.
52353         * dlfcn/default.c: Likewise.
52354         * elf/ifuncdep2.c: Likewise.
52355         * elf/ifuncmain1.c: Likewise.
52356         * elf/ifuncmain1vis.c: Likewise.
52357         * elf/testobj.h: Likewise.
52358         * elf/tst-stackguard1.c: Likewise.
52359         * gmon/sys/gmon.h: Likewise.
52360         * hurd/hurdmsg.c: Likewise.
52361         * hurd/new-fd.c: Likewise.
52362         * hurd/ports-get.c: Likewise.
52363         * iconvdata/ibm1008_420.c: Likewise.
52364         * inet/tst-getni1.c: Likewise.
52365         * inet/tst-getni2.c: Likewise.
52366         * libio/ioungetc.c: Likewise.
52367         * libio/wfiledoalloc.c: Likewise.
52368         * manual/libm-err-tab.pl: Likewise.
52369         * math/w_dremf.c: Likewise.
52370         * misc/ftruncate.c: Likewise.
52371         * posix/bug-glob2.c: Likewise.
52372         * posix/tst-pcre.c: Likewise.
52373         * posix/wait4.c: Likewise.
52374         * resolv/README: Likewise.
52375         * resolv/res_debug.h: Likewise.
52376         * resolv/tst-inet_ntop.c: Likewise.
52377         * setjmp/bug269-setjmp.c: Likewise.
52378         * soft-fp/extended.h: Likewise.
52379         * soft-fp/op-1.h: Likewise.
52380         * soft-fp/op-2.h: Likewise.
52381         * soft-fp/op-4.h: Likewise.
52382         * soft-fp/op-8.h: Likewise.
52383         * soft-fp/testit.c: Likewise.
52384         * stdio-common/bug16.c: Likewise.
52385         * stdlib/random.c: Likewise.
52386         * sunrpc/rpcsvc/rquota.x: Likewise.
52387         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52388         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52389         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52390         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52391         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52392         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52393         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52394         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52395         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52396         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52397         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52398         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52399         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52400         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52401         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52402         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52403         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52404         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52405         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52406         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52407         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52408         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52409         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52410         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52411         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52412         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52413         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52414         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52415         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52416         * sysdeps/ieee754/s_lib_version.c: Likewise.
52417         * sysdeps/mach/hurd/check_fds.c: Likewise.
52418         * sysdeps/mach/hurd/getsockname.c: Likewise.
52419         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52420         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52421         * sysdeps/powerpc/bits/link.h: Likewise.
52422         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52423         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52424         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52425         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52426         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52427         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52428         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52429         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52430         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52431         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52432         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52433         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52434         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52435         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52436         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52437         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52438         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52439         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52440         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52441         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52442         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52443         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52444         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52445         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52446         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52447         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52448         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52449         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52450         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52451         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52452         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52453         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52454         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52455         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52456         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52457         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52458         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52459         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52460         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52461         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52462         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52463         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52464         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52465         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52466         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52467         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52468         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52469         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52470         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52471         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52472         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52473         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52474         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52475         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52476         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52477         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52478         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52479         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52480         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52481         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52482         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52483         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52484         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52485         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52486         * sysdeps/powerpc/sysdep.h: Likewise.
52487         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52488         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52489         * sysdeps/sh/dl-trampoline.S: Likewise.
52490         * sysdeps/sh/memset.S: Likewise.
52491         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52492         * sysdeps/sh/strlen.S: Likewise.
52493         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52494         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52495         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52496         * sysdeps/sparc/sparc32/rem.S: Likewise.
52497         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52498         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52499         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52500         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52501         * sysdeps/sparc/sparc32/urem.S: Likewise.
52502         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52503         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52504         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52505         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52506         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52507         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52508         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52509         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52510         * sysdeps/unix/bsd/times.c: Likewise.
52511         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52512         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52516         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52517         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52518         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52519         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52520         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52521         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52522         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52523         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52524         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52525         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52526         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52527         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52528         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52529         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52530         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52531         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52532         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52533         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52534         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52535         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52536         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52537         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52538         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52539         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52540         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52541         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52542         * sysdeps/x86_64/strcspn.S: Likewise.
52544 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52546         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52547         generated file.  Regenerate properly from gen-translit.pl.
52548         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52549         locale/C-translit.h.
52551 2013-06-05  Andreas Schwab  <schwab@suse.de>
52553         [BZ #15100]
52554         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52555         week as 6 instead of -1.
52556         * time/tst-strptime.c (day_tests): Add test case.
52558 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52560         * sysdeps/generic/math_private.h
52561         (libc_feholdexcept_setround_53bit): Replace with
52562         libc_feholdsetround_53bit.
52563         (libc_feupdateenv_53bit): Replace with
52564         libc_feresetround_53bit.
52565         (SET_RESTORE_ROUND_53BIT): Adjust.
52567 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52569         * string/test-strchrnul.c: Add copyright header.
52571         * posix/tst-getaddrinfo4.c: Increase test timeout.
52573 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52575         [BZ #15536]
52576         * math/libm-test.inc (MAX_EXP): Remove
52577         (MIN_EXP): Define.
52578         (ulp): Use MIN_EXP - MANT_DIG.
52579         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52581 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52583         * po/be.po: Revert last change.
52584         * po/zh_CN.po: Likewise.
52585         * po/header.pot: Likewise.
52587 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52589         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52590         link-libc-deps to empty as target-specific variable.
52591         * Makerules (link-libc-args): New variable.
52592         (libc-for-link): Likewise.
52593         (link-libc-deps): Likewise.
52594         (lib%.so): Depend on $(link-libc-deps).  Link with
52595         $(link-libc-args).
52596         (build-module): Link with $(link-libc-args).
52597         (build-module-asneeded): Likewise.
52598         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52599         list of objects.
52600         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52601         target-specific variable.
52602         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52603         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52604         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52605         libc.
52606         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52607         libc and ld.so.
52608         ($(objpfx)libpcprofile.so): Likewise.
52609         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52610         libc_nonshared.a.
52611         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52612         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52613         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52614         $(link-libc-deps).
52615         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52616         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52617         * login/Makefile ($(objpfx)libutil.so): Likewise.
52618         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52619         * math/Makefile ($(objpfx)libm.so): Likewise.
52620         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52621         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52622         variable instead of depending directly on libc.
52623         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52624         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52625         $(link-libc-deps).
52626         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52627         libc.
52628         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52629         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52630         ($(objpfx)libanl.so): Likewise.
52631         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52632         ld.so.
52633         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52634         $(link-libc-deps).
52635         * sysdeps/i386/fpu/Makefile: Remove file.
52636         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52637         ($(objpfx)libm.so): Remove dependency on ld.so.
52639 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52641         [BZ # 15553]
52642         * nis/yp_xdr.c (XDRMAXNAME): Define.
52643         (XDRMAXRECORD): Define.
52644         (xdr_domainname): Use XDRMAXNAME.
52645         (xdr_mapname): Likewise.
52646         (xdr_peername): Likewise.
52647         (xdr_keydat): Use XDRMAXRECORD.
52648         (xdr_valdat): Likewise.
52650 2013-05-30  Jeff Law  <law@redhat.com>
52652         [BZ #14256]
52653         * manual/errno.texi (ESTALE): Update to account for more than
52654         just NFS file systems.
52655         * sysdeps/gnu/errlist.c: Regenerated.
52657 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52659         [BZ #15465]
52660         * elf/Makefile (tests): Add tst-null-argv.
52661         (modules-names):  Add tst-null-argv-lib.
52662         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52663         (tst-null-argv-ENV): Set environment for tst-null-argv.
52664         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52665         (RTLD_PROGNAME): New macro.
52666         * elf/tst-null-argv.c: New test case.
52667         * elf/tst-null-argv-lib.c: Library for test case.
52668         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52669         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52670         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52671         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52672         * elf/dl-init.c (call_init): Likewise.
52673         (_dl_init): Likewise.
52674         * elf/dl-load.c (print_search_path): Likewise.
52675         (_dl_map_object): Likewise.
52676         * elf/dl-lookup.c (do_lookup_x): Likewise.
52677         (add_dependency): Likewise.
52678         (_dl_lookup_symbol_x): Likewise.
52679         (_dl_debug_bindings): Likewise.
52680         * elf/dl-open.c (_dl_show_scope): Likewise.
52681         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52682         * elf/dl-version.c (match_symbol): Likewise.
52683         (_dl_check_map_versions): Likewise.
52684         * elf/rtld.c (dl_main): Likewise.
52685         (print_unresolved): Use RTLD_PROGNAME.
52686         (print_missing_version): Likewise.
52687         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52688         (elf_machine_rela): Likewise.
52689         * sysdeps/powerpc/powerpc32/dl-machine.c
52690         (__process_machine_rela): Likewise.
52691         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52692         Likewise.
52693         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52694         Likewise.
52695         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52696         Likewise.
52697         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52698         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52699         Likewise.
52700         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52701         Likewise.
52702         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52704 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52706         * po/be.po: Add descriptive title.
52707         * po/zh_CN.po: Likewise.
52708         * po/header.pot: Likewise.
52710 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52712         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52713         error message.
52714         (enlarge_archive): Likewise.
52716 2013-05-28  Ben North  <ben@redfrontdoor.org>
52718         * manual/arith.texi (frexp): It is the magnitude of the return
52719         value which lies in [0.5, 1), not the return value itself.
52721 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52725 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52727         * stdio-common/bug26.c (main): Correct fscanf template.
52729         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52730         declare _dl_skip_args.
52732         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52733         Don't declare.
52735         * manual/platform.texi: Add missing @end deftypefun.
52737 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52739         [BZ #15529]
52740         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52741         bit of mantissa of 2^16382.
52742         * math/libm-test.inc (hypot_test_data): Add more tests.
52744         * math/libm-test.inc: Add drem and pow10 to list of tested
52745         functions.
52746         (pow10_test): New function.
52747         (drem_test): Likewise.
52748         (drem_test_tonearest): Likewise.
52749         (drem_test_towardzero): Likewise.
52750         (drem_test_downward): Likewise.
52751         (drem_test_upward): Likewise.
52752         (main): Call the new functions.
52754         * math/libm-test.inc (finite_test_data): Remove.
52755         (finite_test): Run tests from isfinite_test_data.
52756         (gamma_test_data): Remove.
52757         (gamma_test): Run tests from lgamma_test_data.
52758         * sysdeps/i386/fpu/libm-test-ulps: Update.
52759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52761 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52763         * manual/platform.texi: Add PowerPC PPR function set documentation.
52764         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52765         implementation.
52767 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52769         * math/libm-test.inc (MAX_EXP): Define.
52770         (ULPDIFF): Define.
52771         (ulp): New function.
52772         (check_float_internal): Use ULPDIFF.
52773         (cpow_test): Disable failing test.
52774         (check_ulp): Test ulp() implemetnation.
52775         (main): Call check_ulp before starting tests.
52777 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52779         * math/gen-libm-test.pl (generate_testfile): Do not handle
52780         START_DATA and END_DATA.
52781         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52782         END_DATA.
52783         (acos_tonearest_test_data): Likewise.
52784         (acos_towardzero_test_data): Likewise.
52785         (acos_downward_test_data): Likewise.
52786         (acos_upward_test_data): Likewise.
52787         (acosh_test_data): Likewise.
52788         (asin_test_data): Likewise.
52789         (asin_tonearest_test_data): Likewise.
52790         (asin_towardzero_test_data): Likewise.
52791         (asin_downward_test_data): Likewise.
52792         (asin_upward_test_data): Likewise.
52793         (asinh_test_data): Likewise.
52794         (atan_test_data): Likewise.
52795         (atanh_test_data): Likewise.
52796         (atan2_test_data): Likewise.
52797         (cabs_test_data): Likewise.
52798         (cacos_test_data): Likewise.
52799         (cacosh_test_data): Likewise.
52800         (carg_test_data): Likewise.
52801         (casin_test_data): Likewise.
52802         (casinh_test_data): Likewise.
52803         (catan_test_data): Likewise.
52804         (catanh_test_data): Likewise.
52805         (cbrt_test_data): Likewise.
52806         (ccos_test_data): Likewise.
52807         (ccosh_test_data): Likewise.
52808         (ceil_test_data): Likewise.
52809         (cexp_test_data): Likewise.
52810         (cimag_test_data): Likewise.
52811         (clog_test_data): Likewise.
52812         (clog10_test_data): Likewise.
52813         (conj_test_data): Likewise.
52814         (copysign_test_data): Likewise.
52815         (cos_test_data): Likewise.
52816         (cos_tonearest_test_data): Likewise.
52817         (cos_towardzero_test_data): Likewise.
52818         (cos_downward_test_data): Likewise.
52819         (cos_upward_test_data): Likewise.
52820         (cosh_test_data): Likewise.
52821         (cosh_tonearest_test_data): Likewise.
52822         (cosh_towardzero_test_data): Likewise.
52823         (cosh_downward_test_data): Likewise.
52824         (cosh_upward_test_data): Likewise.
52825         (cpow_test_data): Likewise.
52826         (cproj_test_data): Likewise.
52827         (creal_test_data): Likewise.
52828         (csin_test_data): Likewise.
52829         (csinh_test_data): Likewise.
52830         (csqrt_test_data): Likewise.
52831         (ctan_test_data): Likewise.
52832         (ctan_tonearest_test_data): Likewise.
52833         (ctan_towardzero_test_data): Likewise.
52834         (ctan_downward_test_data): Likewise.
52835         (ctan_upward_test_data): Likewise.
52836         (ctanh_test_data): Likewise.
52837         (ctanh_tonearest_test_data): Likewise.
52838         (ctanh_towardzero_test_data): Likewise.
52839         (ctanh_downward_test_data): Likewise.
52840         (ctanh_upward_test_data): Likewise.
52841         (erf_test_data): Likewise.
52842         (erfc_test_data): Likewise.
52843         (exp_test_data): Likewise.
52844         (exp_tonearest_test_data): Likewise.
52845         (exp_towardzero_test_data): Likewise.
52846         (exp_downward_test_data): Likewise.
52847         (exp_upward_test_data): Likewise.
52848         (exp10_test_data): Likewise.
52849         (exp2_test_data): Likewise.
52850         (expm1_test_data): Likewise.
52851         (fabs_test_data): Likewise.
52852         (fdim_test_data): Likewise.
52853         (finite_test_data): Likewise.
52854         (floor_test_data): Likewise.
52855         (fma_test_data): Likewise.
52856         (fma_towardzero_test_data): Likewise.
52857         (fma_downward_test_data): Likewise.
52858         (fma_upward_test_data): Likewise.
52859         (fmax_test_data): Likewise.
52860         (fmin_test_data): Likewise.
52861         (fmod_test_data): Likewise.
52862         (fpclassify_test_data): Likewise.
52863         (frexp_test_data): Likewise.
52864         (gamma_test_data): Likewise.
52865         (hypot_test_data): Likewise.
52866         (ilogb_test_data): Likewise.
52867         (isfinite_test_data): Likewise.
52868         (isgreater_test_data): Likewise.
52869         (isgreaterequal_test_data): Likewise.
52870         (isinf_test_data): Likewise.
52871         (isless_test_data): Likewise.
52872         (islessequal_test_data): Likewise.
52873         (islessgreater_test_data): Likewise.
52874         (isnan_test_data): Likewise.
52875         (isnormal_test_data): Likewise.
52876         (issignaling_test_data): Likewise.
52877         (isunordered_test_data): Likewise.
52878         (j0_test_data): Likewise.
52879         (j1_test_data): Likewise.
52880         (jn_test_data): Likewise.
52881         (ldexp_test_data): Likewise.
52882         (lgamma_test_data): Likewise.
52883         (lrint_test_data): Likewise.
52884         (lrint_tonearest_test_data): Likewise.
52885         (lrint_towardzero_test_data): Likewise.
52886         (lrint_downward_test_data): Likewise.
52887         (lrint_upward_test_data): Likewise.
52888         (llrint_test_data): Likewise.
52889         (llrint_tonearest_test_data): Likewise.
52890         (llrint_towardzero_test_data): Likewise.
52891         (llrint_downward_test_data): Likewise.
52892         (llrint_upward_test_data): Likewise.
52893         (log_test_data): Likewise.
52894         (log10_test_data): Likewise.
52895         (log1p_test_data): Likewise.
52896         (log2_test_data): Likewise.
52897         (logb_test_data): Likewise.
52898         (logb_downward_test_data): Likewise.
52899         (lround_test_data): Likewise.
52900         (llround_test_data): Likewise.
52901         (modf_test_data): Likewise.
52902         (nearbyint_test_data): Likewise.
52903         (nextafter_test_data): Likewise.
52904         (nexttoward_test_data): Likewise.
52905         (pow_test_data): Likewise.
52906         (pow_tonearest_test_data): Likewise.
52907         (pow_towardzero_test_data): Likewise.
52908         (pow_downward_test_data): Likewise.
52909         (pow_upward_test_data): Likewise.
52910         (remainder_test_data): Likewise.
52911         (remainder_tonearest_test_data): Likewise.
52912         (remainder_towardzero_test_data): Likewise.
52913         (remainder_downward_test_data): Likewise.
52914         (remainder_upward_test_data): Likewise.
52915         (remquo_test_data): Likewise.
52916         (rint_test_data): Likewise.
52917         (rint_tonearest_test_data): Likewise.
52918         (rint_towardzero_test_data): Likewise.
52919         (rint_downward_test_data): Likewise.
52920         (rint_upward_test_data): Likewise.
52921         (round_test_data): Likewise.
52922         (scalb_test_data): Likewise.
52923         (scalbn_test_data): Likewise.
52924         (scalbln_test_data): Likewise.
52925         (signbit_test_data): Likewise.
52926         (sin_test_data): Likewise.
52927         (sin_tonearest_test_data): Likewise.
52928         (sin_towardzero_test_data): Likewise.
52929         (sin_downward_test_data): Likewise.
52930         (sin_upward_test_data): Likewise.
52931         (sincos_test_data): Likewise.
52932         (sinh_test_data): Likewise.
52933         (sinh_tonearest_test_data): Likewise.
52934         (sinh_towardzero_test_data): Likewise.
52935         (sinh_downward_test_data): Likewise.
52936         (sinh_upward_test_data): Likewise.
52937         (sqrt_test_data): Likewise.
52938         (tan_test_data): Likewise.
52939         (tan_tonearest_test_data): Likewise.
52940         (tan_towardzero_test_data): Likewise.
52941         (tan_downward_test_data): Likewise.
52942         (tan_upward_test_data): Likewise.
52943         (tanh_test_data): Likewise.
52944         (tgamma_test_data): Likewise.
52945         (trunc_test_data): Likewise.
52946         (y0_test_data): Likewise.
52947         (y1_test_data): Likewise.
52948         (yn_test_data): Likewise.
52949         (significand_test_data): Likewise.
52951         * math/gen-libm-test.pl (@functions): Remove variable.
52952         (generate_testfile): Don't handle START and END lines.
52953         * math/libm-test.inc (START): New macro.
52954         (END): Likewise.
52955         (END_COMPLEX): Likewise.
52956         (acos_test): Use END macro without arguments.
52957         (acos_test_tonearest): Likewise.
52958         (acos_test_towardzero): Likewise.
52959         (acos_test_downward): Likewise.
52960         (acos_test_upward): Likewise.
52961         (acosh_test): Likewise.
52962         (asin_test): Likewise.
52963         (asin_test_tonearest): Likewise.
52964         (asin_test_towardzero): Likewise.
52965         (asin_test_downward): Likewise.
52966         (asin_test_upward): Likewise.
52967         (asinh_test): Likewise.
52968         (atan_test): Likewise.
52969         (atanh_test): Likewise.
52970         (atan2_test): Likewise.
52971         (cabs_test): Likewise.
52972         (cacos_test): Use END_COMPLEX macro without arguments.
52973         (cacosh_test): Likewise.
52974         (carg_test): Use END macro without arguments.
52975         (casin_test): Use END_COMPLEX macro without arguments.
52976         (casinh_test): Likewise.
52977         (catan_test): Likewise.
52978         (catanh_test): Likewise.
52979         (cbrt_test): Use END macro without arguments.
52980         (ccos_test): Use END_COMPLEX macro without arguments.
52981         (ccosh_test): Likewise.
52982         (ceil_test): Use END macro without arguments.
52983         (cexp_test): Use END_COMPLEX macro without arguments.
52984         (cimag_test): Use END macro without arguments.
52985         (clog_test): Use END_COMPLEX macro without arguments.
52986         (clog10_test): Likewise.
52987         (conj_test): Likewise.
52988         (copysign_test): Use END macro without arguments.
52989         (cos_test): Likewise.
52990         (cos_test_tonearest): Likewise.
52991         (cos_test_towardzero): Likewise.
52992         (cos_test_downward): Likewise.
52993         (cos_test_upward): Likewise.
52994         (cosh_test): Likewise.
52995         (cosh_test_tonearest): Likewise.
52996         (cosh_test_towardzero): Likewise.
52997         (cosh_test_downward): Likewise.
52998         (cosh_test_upward): Likewise.
52999         (cpow_test): Use END_COMPLEX macro without arguments.
53000         (cproj_test): Likewise.
53001         (creal_test): Use END macro without arguments.
53002         (csin_test): Use END_COMPLEX macro without arguments.
53003         (csinh_test): Likewise.
53004         (csqrt_test): Likewise.
53005         (ctan_test): Likewise.
53006         (ctan_test_tonearest): Likewise.
53007         (ctan_test_towardzero): Likewise.
53008         (ctan_test_downward): Likewise.
53009         (ctan_test_upward): Likewise.
53010         (ctanh_test): Likewise.
53011         (ctanh_test_tonearest): Likewise.
53012         (ctanh_test_towardzero): Likewise.
53013         (ctanh_test_downward): Likewise.
53014         (ctanh_test_upward): Likewise.
53015         (erf_test): Use END macro without arguments.
53016         (erfc_test): Likewise.
53017         (exp_test): Likewise.
53018         (exp_test_tonearest): Likewise.
53019         (exp_test_towardzero): Likewise.
53020         (exp_test_downward): Likewise.
53021         (exp_test_upward): Likewise.
53022         (exp10_test): Likewise.
53023         (exp2_test): Likewise.
53024         (expm1_test): Likewise.
53025         (fabs_test): Likewise.
53026         (fdim_test): Likewise.
53027         (finite_test): Likewise.
53028         (floor_test): Likewise.
53029         (fma_test): Likewise.
53030         (fma_test_towardzero): Likewise.
53031         (fma_test_downward): Likewise.
53032         (fma_test_upward): Likewise.
53033         (fmax_test): Likewise.
53034         (fmin_test): Likewise.
53035         (fmod_test): Likewise.
53036         (fpclassify_test): Likewise.
53037         (frexp_test): Likewise.
53038         (gamma_test): Likewise.
53039         (hypot_test): Likewise.
53040         (ilogb_test): Likewise.
53041         (isfinite_test): Likewise.
53042         (isgreater_test): Likewise.
53043         (isgreaterequal_test): Likewise.
53044         (isinf_test): Likewise.
53045         (isless_test): Likewise.
53046         (islessequal_test): Likewise.
53047         (islessgreater_test): Likewise.
53048         (isnan_test): Likewise.
53049         (isnormal_test): Likewise.
53050         (issignaling_test): Likewise.
53051         (isunordered_test): Likewise.
53052         (j0_test): Likewise.
53053         (j1_test): Likewise.
53054         (jn_test): Likewise.
53055         (ldexp_test): Likewise.
53056         (lgamma_test): Likewise.
53057         (lrint_test): Likewise.
53058         (lrint_test_tonearest): Likewise.
53059         (lrint_test_towardzero): Likewise.
53060         (lrint_test_downward): Likewise.
53061         (lrint_test_upward): Likewise.
53062         (llrint_test): Likewise.
53063         (llrint_test_tonearest): Likewise.
53064         (llrint_test_towardzero): Likewise.
53065         (llrint_test_downward): Likewise.
53066         (llrint_test_upward): Likewise.
53067         (log_test): Likewise.
53068         (log10_test): Likewise.
53069         (log1p_test): Likewise.
53070         (log2_test): Likewise.
53071         (logb_test): Likewise.
53072         (logb_test_downward): Likewise.
53073         (lround_test): Likewise.
53074         (llround_test): Likewise.
53075         (modf_test): Likewise.
53076         (nearbyint_test): Likewise.
53077         (nextafter_test): Likewise.
53078         (nexttoward_test): Likewise.
53079         (pow_test): Likewise.
53080         (pow_test_tonearest): Likewise.
53081         (pow_test_towardzero): Likewise.
53082         (pow_test_downward): Likewise.
53083         (pow_test_upward): Likewise.
53084         (remainder_test): Likewise.
53085         (remainder_test_tonearest): Likewise.
53086         (remainder_test_towardzero): Likewise.
53087         (remainder_test_downward): Likewise.
53088         (remainder_test_upward): Likewise.
53089         (remquo_test): Likewise.
53090         (rint_test): Likewise.
53091         (rint_test_tonearest): Likewise.
53092         (rint_test_towardzero): Likewise.
53093         (rint_test_downward): Likewise.
53094         (rint_test_upward): Likewise.
53095         (round_test): Likewise.
53096         (scalb_test): Likewise.
53097         (scalbn_test): Likewise.
53098         (scalbln_test): Likewise.
53099         (signbit_test): Likewise.
53100         (sin_test): Likewise.
53101         (sin_test_tonearest): Likewise.
53102         (sin_test_towardzero): Likewise.
53103         (sin_test_downward): Likewise.
53104         (sin_test_upward): Likewise.
53105         (sincos_test): Likewise.
53106         (sinh_test): Likewise.
53107         (sinh_test_tonearest): Likewise.
53108         (sinh_test_towardzero): Likewise.
53109         (sinh_test_downward): Likewise.
53110         (sinh_test_upward): Likewise.
53111         (sqrt_test): Likewise.
53112         (tan_test): Likewise.
53113         (tan_test_tonearest): Likewise.
53114         (tan_test_towardzero): Likewise.
53115         (tan_test_downward): Likewise.
53116         (tan_test_upward): Likewise.
53117         (tanh_test): Likewise.
53118         (tgamma_test): Likewise.
53119         (trunc_test): Likewise.
53120         (y0_test): Likewise.
53121         (y1_test): Likewise.
53122         (yn_test): Likewise.
53123         (significand_test): Likewise.
53125 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53127         [BZ #15381]
53128         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53130 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53132         [BZ #14894]
53133         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53134         __ppc_mdoio and __ppc_mdoom.
53135         * manual/platform.texi: Document new functions __ppc_yield,
53136         __ppc_mdoio and __ppc_mdoom.
53138 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53140         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53141         (main): Mention "tls" pseudo-hwcap is legacy.
53142         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53144 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53146         * math/gen-libm-test.pl (parse_args): Output only string of
53147         arguments as text for test name, not full call or descriptions of
53148         tests for extra outputs.
53149         (generate_testfile): Do not pass function name to parse_args.
53150         Generate this_func variable from START.
53151         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53152         field to arg_str.
53153         (struct test_ff_f_data): Likewise.
53154         (test_ff_f_data_nexttoward): Likewise.
53155         (struct test_fi_f_data): Likewise.
53156         (struct test_fl_f_data): Likewise.
53157         (struct test_if_f_data): Likewise.
53158         (struct test_fff_f_data): Likewise.
53159         (struct test_c_f_data): Likewise.
53160         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53161         (struct test_fF_f1_data): Likewise.
53162         (struct test_ffI_f1_data): Likewise.
53163         (struct test_c_c_data): Rename test_name field to arg_str.
53164         (struct test_cc_c_data): Likewise.
53165         (struct test_f_i_data): Likewise.
53166         (struct test_ff_i_data): Likewise.
53167         (struct test_f_l_data): Likewise.
53168         (struct test_f_L_data): Likewise.
53169         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53170         and extra2_name.
53171         (COMMON_TEST_SETUP): New macro.
53172         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53173         (COMMON_TEST_CLEANUP): Likewise.
53174         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53175         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53176         macros.
53177         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53178         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53179         macros.
53180         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53181         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53182         cleanup macros.
53183         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53184         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53185         macros.
53186         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53187         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53188         macros.
53189         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53190         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53191         cleanup macros.
53192         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53193         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53194         cleanup macros.
53195         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53196         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53197         cleanup macros.
53198         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53199         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53200         macros.
53201         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53202         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53203         macros.
53204         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53205         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53206         macros.
53207         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53208         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53209         cleanup macros.
53210         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53211         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53212         cleanup macros.
53213         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53214         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53215         macros.
53216         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53217         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53218         cleanup macros.
53219         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53220         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53221         macros.
53222         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53223         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53224         macros.
53225         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53226         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53227         cleanup macros.
53228         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53230 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53232         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53233         to _sifields.sigfault.
53234         (si_addr_lsb): Define new macro.
53235         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53236         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53237         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53239 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53241         [BZ #15441]
53242         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53243         returns -1.
53244         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53245         null return -1.
53246         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53247         loading the domain.
53249 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53251         * math/gen-libm-test.pl (parse_args): Do not include expected
53252         result in test name.
53253         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53254         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53255         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53256         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53257         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53260 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53262         * benchtests/Makefile: Sort function entries.
53264         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53265         tanh, asinh, acosh, atanh.
53266         * benchtests/acos-inputs: New file.
53267         * benchtests/acosh-inputs: New file.
53268         * benchtests/asin-inputs: New file.
53269         * benchtests/asinh-inputs: New file.
53270         * benchtests/atanh-inputs: New file.
53271         * benchtests/cosh-inputs: New file.
53272         * benchtests/log-inputs: New file.
53273         * benchtests/sinh-inputs: New file.
53274         * benchtests/tanh-inputs: New file.
53276 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53278         [BZ #15339]
53279         * posix/tst-getaddrinfo4.c: New test.
53280         * posix/Makefile (tests): Add it.
53282 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53284         [BZ #15339]
53285         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53286         when no services were used.
53287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53288         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53290 2013-05-21  Andreas Schwab  <schwab@suse.de>
53292         [BZ #15014]
53293         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53294         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53295         successful.
53296         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53297         redundant variable declarations and reallocation of buffer when
53298         parsing as IPv6 address.  Always set NSS status when called from
53299         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53300         buffer too small.  Correct computation of needed size.
53301         * nss/Makefile (tests): Add test-digits-dots.
53302         * nss/test-digits-dots.c: New test.
53304 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53306         * benchtests/Makefile: Remove instructions for adding
53307         benchmark tests.
53308         * benchtests/README: New file to explain how to execute and
53309         enhance the benchmark tests.
53311 2013-05-21  Andreas Schwab  <schwab@suse.de>
53313         [BZ #15493]
53314         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53315         * setjmp/tst-sigsetjmp.c: New test.
53317 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53319         * sysdeps/x86_64/memset.S (memset): New implementation.
53320         (__bzero): Likewise.
53321         (__memset_tail): New function.
53323 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53325         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53326         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53327         __memcpy_sse2_unaligned ifunc selection.
53328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53329         Add memcpy-sse2-unaligned.S.
53330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53331         Add: __memcpy_sse2_unaligned.
53333 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53335         [BZ #15490]
53336         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53337         math_force_eval before restoring floating-point envrionment.
53338         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53339         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53340         Likewise.
53341         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53342         <math_private.h>.
53343         (__nearbyintl): Use math_force_eval before restoring
53344         floating-point environment.
53345         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53347         * math/gen-libm-test.pl (special_functions): Remove.
53348         (parse_args): Don't handle TEST_extra.  Handle functions with no
53349         return value.
53350         * math/libm-test.inc (struct test_sincos_data): Replace with
53351         struct test_fFF_11_data.
53352         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53353         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53354         (sincos_test_data): Change element type to struct
53355         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53356         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53357         RUN_TEST_LOOP_sincos.
53358         * math/README.libm-test: Don't mention special handling of
53359         individual functions.
53360         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53361         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53362         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53363         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53364         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53367         * math/gen-libm-test.pl (get_variable): Remove function.
53368         (parse_args): Don't show pointer parameters to call in test
53369         names.  Use "extra output N" in test names for extra outputs
53370         rather than naming variables.
53372 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53374         [BZ #15488]
53375         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53376         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53377         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53378         double tests.
53379         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53380         disable.
53381         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53382         check_long_double.
53384         * math/gen-libm-test.pl (@tests): Remove variable.
53385         ($count): Likewise.
53386         (new_test): Remove function.
53387         (show_exceptions): New function.
53388         (special_functions): Use show_exceptions instead of new_test.
53389         (parse_args): Likewise.
53390         (generate_testfile): Pass only function name in generated call to
53391         print_max_error or print_complex_max_error.
53392         (get_ulps): Do not handle complex tests specially.
53393         (output_test): Rename to ...
53394         (get_all_ulps_for_test): ... this.  Return a string rather than
53395         printing to a file.  Require ulps to be present.
53396         (output_ulps): Generate arrays rather than #defines.
53397         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53398         (struct ulp_data): New type.
53399         (BUILD_COMPLEX_ULP): Remove macro.
53400         (compare_ulp_data): New function.
53401         (find_ulps): Likewise.
53402         (find_test_ulps): Likewise.
53403         (find_function_ulps): Likewise.
53404         (find_complex_function_ulps): Likewise.
53405         (print_max_error): Determine allowed ulps using
53406         find_function_ulps.
53407         (print_complex_max_error): Determine allowed ulps using
53408         find_complex_function_ulps.
53409         (check_float_internal): Determine max ulps using find_test_ulps.
53410         (check_float): Do not take max_ulp parameter.  Update call to
53411         check_float_internal.
53412         (check_complex): Likewise.
53413         (check_int): Do not take max_ulp parameter.
53414         (check_long): Likewise.
53415         (check_bool): Likewise.
53416         (check_longlong): Likewise.
53417         (struct test_f_f_data): Remove max_ulp field.
53418         (struct test_ff_f_data): Likewise.
53419         (struct test_ff_f_data_nexttoward): Likewise.
53420         (struct test_fi_f_data): Likewise.
53421         (struct test_fl_f_data): Likewise.
53422         (struct test_if_f_data): Likewise.
53423         (struct test_fff_f_data): Likewise.
53424         (struct test_c_f_data): Likewise.
53425         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53426         (struct test_fF_f1_data): Likewise.
53427         (struct test_ffI_f1_data): Likewise.
53428         (struct test_c_c_data): Remove max_ulp field.
53429         (struct test_cc_c_data): Likewise.
53430         (struct test_f_i_data): Likewise.
53431         (struct test_ff_i_data): Likewise.
53432         (struct test_f_l_data): Likewise.
53433         (struct test_f_L_data): Likewise.
53434         (struct test_sincos_data): Likewise.
53435         (RUN_TEST_f_f): Do not handle ulps.
53436         (RUN_TEST_LOOP_f_f): Likewise.
53437         (RUN_TEST_2_f): Likewise.
53438         (RUN_TEST_LOOP_2_f): Likewise.
53439         (RUN_TEST_fff_f): Likewise.
53440         (RUN_TEST_LOOP_fff_f): Likewise.
53441         (RUN_TEST_c_f): Likewise.
53442         (RUN_TEST_LOOP_c_f): Likewise.
53443         (RUN_TEST_f_f1): Likewise.
53444         (RUN_TEST_LOOP_f_f1): Likewise.
53445         (RUN_TEST_fF_f1): Likewise.
53446         (RUN_TEST_LOOP_fF_f1): Likewise.
53447         (RUN_TEST_fI_f1): Likewise.
53448         (RUN_TEST_LOOP_fI_f1): Likewise.
53449         (RUN_TEST_ffI_f1): Likewise.
53450         (RUN_TEST_LOOP_ffI_f1): Likewise.
53451         (RUN_TEST_c_c): Likewise.
53452         (RUN_TEST_LOOP_c_c): Likewise.
53453         (RUN_TEST_cc_c): Likewise.
53454         (RUN_TEST_LOOP_cc_c): Likewise.
53455         (RUN_TEST_f_i): Likewise.
53456         (RUN_TEST_LOOP_f_i): Likewise.
53457         (RUN_TEST_f_i_tg): Likewise.
53458         (RUN_TEST_LOOP_f_i_tg): Likewise.
53459         (RUN_TEST_ff_i_tg): Likewise.
53460         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53461         (RUN_TEST_f_b): Likewise.
53462         (RUN_TEST_LOOP_f_b): Likewise.
53463         (RUN_TEST_f_b_tg): Likewise.
53464         (RUN_TEST_LOOP_f_b_tg): Likewise.
53465         (RUN_TEST_f_l): Likewise.
53466         (RUN_TEST_LOOP_f_l): Likewise.
53467         (RUN_TEST_f_L): Likewise.
53468         (RUN_TEST_LOOP_f_L): Likewise.
53469         (RUN_TEST_sincos): Likewise.
53470         (RUN_TEST_LOOP_sincos): Likewise.
53472 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53474         [BZ #15480]
53475         [BZ #15485]
53476         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53477         main case of finite arguments, set rounding mode to FE_TONEAREST
53478         and discard exceptions.
53479         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53480         exceptions.
53481         (remainder_tonearest_test_data): New variable.
53482         (remainder_test_tonearest): New function.
53483         (remainder_towardzero_test_data): New variable.
53484         (remainder_test_towardzero): New function.
53485         (remainder_downward_test_data): New variable.
53486         (remainder_test_downward): New function.
53487         (remainder_upward_test_data): New variable.
53488         (remainder_test_upward): New function.
53489         (main): Call the new test functions.
53491         * math/libm-test.inc (struct test_f_f1_data): Remove field
53492         extra_init.
53493         (struct test_fF_f1_data): Likewise.
53494         (struct test_ffI_f1_data): Likewise.
53495         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53496         based on value of EXTRA_EXPECTED.
53497         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53498         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53499         EXTRA_VAR based on value of EXTRA_EXPECTED.
53500         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53501         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53502         EXTRA_VAR based on value of EXTRA_EXPECTED.
53503         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53504         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53505         EXTRA_VAR based on value of EXTRA_EXPECTED.
53506         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53507         * math/gen-libm-test.pl (parse_args): Don't output initializers
53508         for extra output values.
53510         * math/libm-test.inc (check_int): Expect result to be exactly
53511         equal to expected value and do not handle ulps.
53512         (check_long): Likewise.
53513         (check_longlong): Likewise.
53515         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53516         exceptions.
53517         (cimag_test_data): Likewise.
53518         (conj_test_data): Likewise.
53519         (copysign_test_data): Likewise.
53520         (cproj_test_data): Likewise.
53521         (creal_test_data): Likewise.
53522         (fabs_test_data): Likewise.
53523         (fdim_test_data): Likewise.
53524         (finite_test_data): Likewise.
53525         (floor_test_data): Likewise.
53526         (fmax_test_data): Likewise.
53527         (fmin_test_data): Likewise.
53528         (fmod_test_data): Likewise.
53529         (fpclassify_test_data): Likewise.
53530         (frexp_test_data): Likewise.
53531         (ilogb_test_data): Likewise.
53532         (isfinite_test_data): Likewise.
53533         (isgreater_test_data): Likewise.
53534         (isgreaterequal_test_data): Likewise.
53535         (isinf_test_data): Likewise.
53536         (isless_test_data): Likewise.
53537         (islessequal_test_data): Likewise.
53538         (islessgreater_test_data): Likewise.
53539         (isnan_test_data): Likewise.
53540         (isnormal_test_data): Likewise.
53541         (issignaling_test_data): Likewise.
53542         (isunordered_test_data): Likewise.
53543         (ldexp_test_data): Likewise.
53544         (lrint_test_data): Likewise.
53545         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53546         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53547         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53548         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53549         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53550         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53551         test input.
53552         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53553         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53554         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53555         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53556         that test input.
53557         (lrint_downward_test_data): Test for "inexact" exceptions.
53558         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53559         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53560         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53561         test input.
53562         (lrint_upward_test_data): Test for "inexact" exceptions.
53563         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53564         test input.
53565         (llrint_test_data): Test for "inexact" exceptions.
53566         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53567         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53568         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53569         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53570         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53571         (llrint_downward_test_data): Test for "inexact" exceptions.
53572         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53573         (llrint_upward_test_data): Test for "inexact" exceptions.
53574         (logb_test_data): Likewise.
53575         (logb_downward_test_data): Likewise.
53576         (nextafter_test_data): Likewise.
53577         (nexttoward_test_data): Likewise.
53578         (remainder_test_data): Likewise.
53579         (remquo_test_data): Likewise.
53580         (scalbn_test_data): Likewise.
53581         (scalbln_test_data): Likewise.
53582         (signbit_test_data): Likewise.
53583         (sqrt_test_data): Likewise.
53584         (significand_test_data): Likewise.
53586 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53588         [BZ #15424]
53589         * benchtests/bench-modf.c (struct args): Mark arg0 as
53590         volatile.
53591         * scripts/bench.pl: Mark members of struct args as volatile.
53593 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53595         [BZ # 15497]
53596         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53597         negative infinity on POWER6 or lower.
53598         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53600 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53602         [BZ #15442]
53603         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53604         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53605         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53606         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53607         (_FP_SETQNAN): New macro.
53608         (_FP_SETQNAN_SEMIRAW): Likewise.
53609         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53610         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53611         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53612         (FP_EXTEND): Use _FP_FRAC_SNANP.
53613         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53614         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53615         into account.
53616         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53617         New macro.
53618         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53619         Likewise.
53621 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53623         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53624         with DIVIDE_BY_ZERO_EXCEPTION.
53625         (gamma_test_data): Likewise.
53626         (lgamma_test_data): Likewise.
53627         (log_test_data): Likewise.
53628         (log10_test_data): Likewise.
53629         (log2_test_data): Likewise.
53630         (tgamma_test_data): Likewise.
53632         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53633         (acos_test_tonearest): Likewise.
53634         (acos_test_towardzero): Likewise.
53635         (acos_test_downward): Likewise.
53636         (acos_test_upward): Likewise.
53637         (acosh_test): Likewise.
53638         (asin_test): Likewise.
53639         (asin_test_tonearest): Likewise.
53640         (asin_test_towardzero): Likewise.
53641         (asin_test_downward): Likewise.
53642         (asin_test_upward): Likewise.
53643         (asinh_test): Likewise.
53644         (atan_test): Likewise.
53645         (atanh_test): Likewise.
53646         (atan2_test): Likewise.
53647         (cabs_test): Likewise.
53648         (cacos_test): Likewise.
53649         (cacosh_test): Likewise.
53650         (casin_test): Likewise.
53651         (casinh_test): Likewise.
53652         (catan_test): Likewise.
53653         (catanh_test): Likewise.
53654         (cbrt_test): Likewise.
53655         (ccos_test): Likewise.
53656         (ccosh_test): Likewise.
53657         (cexp_test): Likewise.
53658         (clog_test): Likewise.
53659         (clog10_test): Likewise.
53660         (cos_test): Likewise.
53661         (cos_test_tonearest): Likewise.
53662         (cos_test_towardzero): Likewise.
53663         (cos_test_downward): Likewise.
53664         (cos_test_upward): Likewise.
53665         (cosh_test): Likewise.
53666         (cosh_test_tonearest): Likewise.
53667         (cosh_test_towardzero): Likewise.
53668         (cosh_test_downward): Likewise.
53669         (cosh_test_upward): Likewise.
53670         (cpow_test): Likewise.
53671         (csin_test): Likewise.
53672         (csinh_test): Likewise.
53673         (csqrt_test): Likewise.
53674         (ctan_test): Likewise.
53675         (ctan_test_tonearest): Likewise.
53676         (ctan_test_towardzero): Likewise.
53677         (ctan_test_downward): Likewise.
53678         (ctan_test_upward): Likewise.
53679         (ctanh_test): Likewise.
53680         (ctanh_test_tonearest): Likewise.
53681         (ctanh_test_towardzero): Likewise.
53682         (ctanh_test_downward): Likewise.
53683         (ctanh_test_upward): Likewise.
53684         (erf_test): Likewise.
53685         (erfc_test): Likewise.
53686         (exp_test): Likewise.
53687         (exp_test_tonearest): Likewise.
53688         (exp_test_towardzero): Likewise.
53689         (exp_test_downward): Likewise.
53690         (exp_test_upward): Likewise.
53691         (exp10_test): Likewise.
53692         (exp2_test): Likewise.
53693         (expm1_test): Likewise.
53694         (fmod_test): Likewise.
53695         (gamma_test): Likewise.
53696         (hypot_test): Likewise.
53697         (j0_test): Likewise.
53698         (j1_test): Likewise.
53699         (jn_test): Likewise.
53700         (lgamma_test): Likewise.
53701         (log_test): Likewise.
53702         (log10_test): Likewise.
53703         (log1p_test): Likewise.
53704         (log2_test): Likewise.
53705         (logb_test_downward): Likewise.
53706         (pow_test): Likewise.
53707         (pow_test_tonearest): Likewise.
53708         (pow_test_towardzero): Likewise.
53709         (pow_test_downward): Likewise.
53710         (pow_test_upward): Likewise.
53711         (remainder_test): Likewise.
53712         (remquo_test): Likewise.
53713         (sin_test): Likewise.
53714         (sin_test_tonearest): Likewise.
53715         (sin_test_towardzero): Likewise.
53716         (sin_test_downward): Likewise.
53717         (sin_test_upward): Likewise.
53718         (sincos_test): Likewise.
53719         (sinh_test): Likewise.
53720         (sinh_test_tonearest): Likewise.
53721         (sinh_test_towardzero): Likewise.
53722         (sinh_test_downward): Likewise.
53723         (sinh_test_upward): Likewise.
53724         (sqrt_test): Likewise.
53725         (tan_test): Likewise.
53726         (tan_test_tonearest): Likewise.
53727         (tan_test_towardzero): Likewise.
53728         (tan_test_downward): Likewise.
53729         (tan_test_upward): Likewise.
53730         (tanh_test): Likewise.
53731         (tgamma_test): Likewise.
53732         (y0_test): Likewise.
53733         (y1_test): Likewise.
53734         (yn_test): Likewise.
53736         * math/gen-libm-test.pl (adjust_arg): Remove function.
53737         (special_function): Remove argument $in_func.  Only handle
53738         generating output for tables of tests, not inside functions.
53739         (parse_args): Likewise.
53740         (generate_testfile): Remove variable $in_func.  Update call to
53741         parse_args.
53742         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53743         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53744         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53745         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53746         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53747         (MAX_VALUE_INIT): Rename macro to max_value.
53748         (MIN_VALUE_INIT): Rename macro to min_value.
53749         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53750         (plus_zero): Remove variable.
53751         (minus_zero): Likewise.
53752         (plus_infty): Likewise.
53753         (minus_infty): Likewise.
53754         (qnan_value): Likewise.
53755         (max_value): Likewise.
53756         (min_value): Likewise.
53757         (min_subnorm_value): Likewise.
53759 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53761         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53762         uint64_t or uint32_t usage.
53763         * crypt/sha256-block.c: Likewise.
53764         * crypt/sha256-crypt.c: Likewise.
53765         * crypt/sha256.c: Likewise.
53766         * crypt/sha512-block.c: Likewise.
53767         * crypt/sha512-crypt.c: Likewise.
53768         * crypt/sha512.c: Likewise.
53769         * debug/backtrace-tst.c: Likewise.
53770         * debug/pcprofiledump.c: Likewise.
53771         * elf/cache.c: Likewise.
53772         * elf/dl-cache.c: Likewise.
53773         * elf/dl-misc.c: Likewise.
53774         * elf/dl-profile.c: Likewise.
53775         * elf/dl-support.c: Likewise.
53776         * elf/ldconfig.c: Likewise.
53777         * elf/sprof.c: Likewise.
53778         * iconv/dummy-repertoire.c: Likewise.
53779         * iconv/iconv_charmap.c: Likewise.
53780         * iconv/skeleton.c: Likewise.
53781         * iconvdata/8bit-generic.c: Likewise.
53782         * iconvdata/cp737.h: Likewise.
53783         * iconvdata/cp775.h: Likewise.
53784         * iconvdata/ibm1008.h: Likewise.
53785         * iconvdata/ibm1025.h: Likewise.
53786         * iconvdata/ibm1046.h: Likewise.
53787         * iconvdata/ibm1097.h: Likewise.
53788         * iconvdata/ibm1112.h: Likewise.
53789         * iconvdata/ibm1122.h: Likewise.
53790         * iconvdata/ibm1123.h: Likewise.
53791         * iconvdata/ibm1124.h: Likewise.
53792         * iconvdata/ibm1129.h: Likewise.
53793         * iconvdata/ibm1130.h: Likewise.
53794         * iconvdata/ibm1132.h: Likewise.
53795         * iconvdata/ibm1133.h: Likewise.
53796         * iconvdata/ibm1137.h: Likewise.
53797         * iconvdata/ibm1140.h: Likewise.
53798         * iconvdata/ibm1141.h: Likewise.
53799         * iconvdata/ibm1142.h: Likewise.
53800         * iconvdata/ibm1143.h: Likewise.
53801         * iconvdata/ibm1144.h: Likewise.
53802         * iconvdata/ibm1145.h: Likewise.
53803         * iconvdata/ibm1146.h: Likewise.
53804         * iconvdata/ibm1147.h: Likewise.
53805         * iconvdata/ibm1148.h: Likewise.
53806         * iconvdata/ibm1149.h: Likewise.
53807         * iconvdata/ibm1153.h: Likewise.
53808         * iconvdata/ibm1154.h: Likewise.
53809         * iconvdata/ibm1155.h: Likewise.
53810         * iconvdata/ibm1156.h: Likewise.
53811         * iconvdata/ibm1157.h: Likewise.
53812         * iconvdata/ibm1158.h: Likewise.
53813         * iconvdata/ibm1160.h: Likewise.
53814         * iconvdata/ibm1161.h: Likewise.
53815         * iconvdata/ibm1162.h: Likewise.
53816         * iconvdata/ibm1163.h: Likewise.
53817         * iconvdata/ibm1164.h: Likewise.
53818         * iconvdata/ibm1166.h: Likewise.
53819         * iconvdata/ibm1167.h: Likewise.
53820         * iconvdata/ibm12712.h: Likewise.
53821         * iconvdata/ibm1390.h: Likewise.
53822         * iconvdata/ibm1399.h: Likewise.
53823         * iconvdata/ibm16804.h: Likewise.
53824         * iconvdata/ibm4517.h: Likewise.
53825         * iconvdata/ibm4899.h: Likewise.
53826         * iconvdata/ibm4909.h: Likewise.
53827         * iconvdata/ibm4971.h: Likewise.
53828         * iconvdata/ibm5347.h: Likewise.
53829         * iconvdata/ibm803.h: Likewise.
53830         * iconvdata/ibm856.h: Likewise.
53831         * iconvdata/ibm901.h: Likewise.
53832         * iconvdata/ibm902.h: Likewise.
53833         * iconvdata/ibm9030.h: Likewise.
53834         * iconvdata/ibm9066.h: Likewise.
53835         * iconvdata/ibm921.h: Likewise.
53836         * iconvdata/ibm922.h: Likewise.
53837         * iconvdata/ibm9448.h: Likewise.
53838         * iconvdata/isiri-3342.h: Likewise.
53839         * iconvdata/jis0201.h: Likewise.
53840         * include/link.h: Likewise.
53841         * include/netdb.h: Likewise.
53842         * inet/check_native.c: Likewise.
53843         * inet/check_pf.c: Likewise.
53844         * inet/getipv4sourcefilter.c: Likewise.
53845         * inet/getnameinfo.c: Likewise.
53846         * inet/getsourcefilter.c: Likewise.
53847         * inet/htonl.c: Likewise.
53848         * inet/setipv4sourcefilter.c: Likewise.
53849         * inet/setsourcefilter.c: Likewise.
53850         * inet/test-inet6_opt.c: Likewise.
53851         * inet/tst-network.c: Likewise.
53852         * locale/C-collate.c: Likewise.
53853         * locale/C-ctype.c: Likewise.
53854         * locale/C-time.c: Likewise.
53855         * locale/C-translit.h: Likewise.
53856         * locale/loadarchive.c: Likewise.
53857         * locale/programs/3level.h: Likewise.
53858         * locale/programs/charmap.c: Likewise.
53859         * locale/programs/charmap.h: Likewise.
53860         * locale/programs/ld-address.c: Likewise.
53861         * locale/programs/ld-collate.c: Likewise.
53862         * locale/programs/ld-ctype.c: Likewise.
53863         * locale/programs/ld-identification.c: Likewise.
53864         * locale/programs/ld-measurement.c: Likewise.
53865         * locale/programs/ld-messages.c: Likewise.
53866         * locale/programs/ld-monetary.c: Likewise.
53867         * locale/programs/ld-name.c: Likewise.
53868         * locale/programs/ld-numeric.c: Likewise.
53869         * locale/programs/ld-paper.c: Likewise.
53870         * locale/programs/ld-telephone.c: Likewise.
53871         * locale/programs/ld-time.c: Likewise.
53872         * locale/programs/linereader.c: Likewise.
53873         * locale/programs/locale.c: Likewise.
53874         * locale/programs/locarchive.c: Likewise.
53875         * locale/programs/locfile.h: Likewise.
53876         * locale/programs/repertoire.c: Likewise.
53877         * locale/programs/simple-hash.c: Likewise.
53878         * locale/programs/simple-hash.h: Likewise.
53879         * malloc/memusage.c: Likewise.
53880         * malloc/memusagestat.c: Likewise.
53881         * nis/nis_defaults.c: Likewise.
53882         * nis/nis_hash.c: Likewise.
53883         * nis/nis_print.c: Likewise.
53884         * nis/nis_xdr.c: Likewise.
53885         * nscd/connections.c: Likewise.
53886         * nscd/hstcache.c: Likewise.
53887         * nscd/nscd_gethst_r.c: Likewise.
53888         * nscd/nscd_getserv_r.c: Likewise.
53889         * nscd/nscd_helper.c: Likewise.
53890         * nscd/servicescache.c: Likewise.
53891         * nss/makedb.c: Likewise.
53892         * nss/nss_db/db-XXX.c: Likewise.
53893         * nss/nss_db/db-initgroups.c: Likewise.
53894         * nss/nss_db/db-netgrp.c: Likewise.
53895         * nss/nss_files/files-network.c: Likewise.
53896         * nss/nss_files/files-parse.c: Likewise.
53897         * posix/bug-regex5.c: Likewise.
53898         * posix/fnmatch_loop.c: Likewise.
53899         * posix/regcomp.c: Likewise.
53900         * posix/regexec.c: Likewise.
53901         * posix/tst-rfc3484-2.c: Likewise.
53902         * posix/tst-rfc3484-3.c: Likewise.
53903         * posix/tst-rfc3484.c: Likewise.
53904         * resolv/nss_dns/dns-canon.c: Likewise.
53905         * resolv/nss_dns/dns-network.c: Likewise.
53906         * resolv/res_init.c: Likewise.
53907         * resolv/res_mkquery.c: Likewise.
53908         * resolv/tst-aton.c: Likewise.
53909         * stdlib/cxa_atexit.c: Likewise.
53910         * stdlib/cxa_finalize.c: Likewise.
53911         * stdlib/gen-fpioconst.c: Likewise.
53912         * stdlib/strtol_l.c: Likewise.
53913         * string/tst-endian.c: Likewise.
53914         * sunrpc/auth_des.c: Likewise.
53915         * sunrpc/clnt_udp.c: Likewise.
53916         * sunrpc/rtime.c: Likewise.
53917         * sunrpc/svcauth_des.c: Likewise.
53918         * sunrpc/xdr.c: Likewise.
53919         * sunrpc/xdr_intXX_t.c: Likewise.
53920         * sunrpc/xdr_rec.c: Likewise.
53921         * sysdeps/generic/ldconfig.h: Likewise.
53922         * sysdeps/generic/ldsodefs.h: Likewise.
53923         * sysdeps/generic/memusage.h: Likewise.
53924         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53925         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
53926         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
53927         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53928         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53929         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53930         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53931         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53932         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53933         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53934         * sysdeps/posix/getaddrinfo.c: Likewise.
53935         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53936         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53937         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53938         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53939         * sysdeps/powerpc/test-gettimebase.c: Likewise.
53940         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
53941         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
53942         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
53943         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
53944         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
53945         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53946         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53947         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
53948         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
53949         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
53950         * sysdeps/x86_64/dl-tls.h: Likewise.
53951         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
53952         * time/alt_digit.c: Likewise.
53953         * time/era.c: Likewise.
53954         * wcsmbs/tst-c16c32-1.c: Likewise.
53956 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53958         * math/libm-test.inc (struct test_sincos_data): New type.
53959         (RUN_TEST_LOOP_sincos): New macro.
53960         (sincos_test_data): New variable.
53961         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
53963 2013-05-16  Richard Henderson  <rth@redhat.com>
53965         * math/atest-exp2.c (LIMB64): New macro.
53966         (CONSTSZ): New macro.
53967         (mp_exp1, mp_exp_m1, mp_log2): New variables.
53968         (hexdig): Move ...
53969         (print_mpn_fp): ... to function scope.
53970         (read_mpn_hex): Remove.
53971         (get_log2): Remove.
53972         (exp2_mpn): Use mp_log2.
53973         (main): Use mp_exp1.
53975 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53977         * math/libm-test.inc: Remove comment about not testing "inexact"
53978         exceptions.
53979         (INEXACT_EXCEPTION): New macro.
53980         (NO_INEXACT_EXCEPTION): Likewise.
53981         (INVALID_EXCEPTION_OK): Update value.
53982         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53983         (OVERFLOW_EXCEPTION_OK): Likewise.
53984         (UNDERFLOW_EXCEPTION_OK): Likewise.
53985         (IGNORE_ZERO_INF_SIGN): Likewise.
53986         (ERRNO_UNCHANGED): Likewise.
53987         (ERRNO_EDOM): Likewise.
53988         (ERRNO_ERANGE): Likewise.
53989         (test_exceptions): Handle testing "inexact" exceptions.
53990         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53991         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53992         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53993         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53994         INEXACT_EXCEPTION.
53995         (rint_towardzero_test_data): Likewise.
53996         (rint_downward_test_data): Likewise.
53997         (rint_upward_test_data): Likewise.
53999         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54000         with OVERFLOW_EXCEPTION.
54001         (exp10_test_data): Likewise.
54002         (exp2_test_data): Likewise.
54003         (expm1_test_data): Likewise.
54004         (lgamma_test_data): Likewise.
54005         (pow_test_data): Likewise.
54006         (tgamma_test_data): Likewise.
54007         (yn_test_data): Remove duplicate test of overflow.
54009         * math/libm-test.inc (struct test_cc_c_data): New type.
54010         (RUN_TEST_LOOP_cc_c): New macro.
54011         (cpow_test_data): New variable.
54012         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54014         * math/libm-test.inc (struct test_f_L_data): New type.
54015         (RUN_TEST_LOOP_f_L): New macro.
54016         (llrint_test_data): New variable.
54017         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54018         (llrint_tonearest_test_data): New variable.
54019         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54020         (llrint_towardzero_test_data): New variable.
54021         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54022         (llrint_downward_test_data): New variable.
54023         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54024         (llrint_upward_test_data): New variable.
54025         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54026         (llround_test_data): New variable.
54027         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54029 2013-05-13  Peter Collingbourne  <pcc@google.com>
54031         * math/atest-exp2.c (get_log2): Remove const attribute.
54033 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54035         * math/libm-test.inc (struct test_f_l_data): New type.
54036         (RUN_TEST_LOOP_f_l): New macro.
54037         (lrint_test_data): New variable.
54038         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54039         (lrint_tonearest_test_data): New variable.
54040         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54041         (lrint_towardzero_test_data): New variable.
54042         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54043         (lrint_downward_test_data): New variable.
54044         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54045         (lrint_upward_test_data): New variable.
54046         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54047         (lround_test_data): New variable.
54048         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54050 2013-05-15  Peter Collingbourne  <pcc@google.com>
54052         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54053         (EXTRACT_WORDS64) Use where appropriate.
54054         (INSERT_WORDS64) Likewise.
54056         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54057         constraints with x constraints.
54058         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54060         * malloc/obstack.c (_obstack_compat): Add initializer.
54062 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54064         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54065         si_trapno and add si_addr_lsb to _sifields.sigfault.
54066         (si_trapno): Remove macro.
54067         (si_addr_lsb): Define new macro.
54068         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54070 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54072         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54073         instead of TEST_f_l.
54074         (llrint_test_tonearest): Likewise.
54075         (llrint_test_towardzero): Likewise.
54076         (llrint_test_downward): Likewise.
54077         (llrint_test_upward): Likewise.
54078         (llround_test): Likewise.
54080         * math/libm-test.inc (struct test_f_i_data): Add comment.
54081         (RUN_TEST_LOOP_f_b): New macro.
54082         (RUN_TEST_LOOP_f_b_tg): Likewise.
54083         (finite_test_data): New variable.
54084         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54085         (isfinite_test_data): New variable.
54086         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54087         (isinf_test_data): New variable.
54088         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54089         (isnan_test_data): New variable.
54090         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54091         (isnormal_test_data): New variable.
54092         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54093         (issignaling_test_data): New variable.
54094         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54095         (signbit_test_data): New variable.
54096         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54098         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54099         with INVALID_EXCEPTION.
54100         (acosh_test_data): Likewise.
54101         (asin_test_data): Likewise.
54102         (atanh_test_data): Likewise.
54103         (fmod_test_data): Likewise.
54104         (log_test_data): Likewise.
54105         (log10_test_data): Likewise.
54106         (log2_test_data): Likewise.
54107         (pow_test_data): Likewise.
54108         (sqrt_test_data): Likewise.
54109         (y0_test_data): Likewise.
54110         (y1_test_data): Likewise.
54111         (yn_test_data): Likewise.
54113         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54114         function contents.
54116         * math/libm-test.inc (struct test_ff_i_data): New type.
54117         (RUN_TEST_LOOP_ff_i_tg): New macro.
54118         (isgreater_test_data): New variable.
54119         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54120         (isgreaterequal_test_data): New variable.
54121         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54122         (isless_test_data): New variable.
54123         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54124         (islessequal_test_data): New variable.
54125         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54126         (islessgreater_test_data): New variable.
54127         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54128         (isunordered_test_data): New variable.
54129         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54131 2013-05-14  David S. Miller  <davem@davemloft.net>
54133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54135 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54137         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54139         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54140         extra_test to int.
54141         (struct test_f_i_data): Change type of max_ulp to int.
54143         * math/libm-test.inc (test_ffI_f1_data): New type.
54144         (RUN_TEST_LOOP_ffI_f1): New macro.
54145         (remquo_test_data): New variable.
54146         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54148         * setjmp/tst-setjmp-fp.c: New file.
54149         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54150         (link-libm): New variable.
54151         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54153         * math/libm-test.inc (struct test_f_i_data): New type.
54154         (RUN_TEST_LOOP_f_i): New macro.
54155         (RUN_TEST_LOOP_f_i_tg): Likewise.
54156         (fpclassify_test_data): New variable.
54157         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54158         (ilogb_test_data): New variable.
54159         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54161         * math/libm-test.inc (scalbln_test): Correct function name in END
54162         call.
54164         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54165         (RUN_TEST_LOOP_fI_f1): New macro.
54166         (frexp_test_data): New variable.
54167         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54169         * math/libm-test.inc (struct test_fF_f1_data): New type.
54170         (RUN_TEST_LOOP_fF_f1): New macro.
54171         (modf_test_data): New variable.
54172         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54174         * math/libm-test.inc (struct test_f_f1_data): New type.
54175         (RUN_TEST_LOOP_f_f1): New macro.
54176         (gamma_test_data): New variable.
54177         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54178         (lgamma_test_data): New variable.
54179         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54181 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54183         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54184         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54185         (main): Comment "tls" pseudo-hwcap.
54187 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54189         * math/libm-test.inc (struct test_fl_f_data): New type.
54190         (RUN_TEST_LOOP_fl_f): New variable.
54191         (scalbln_test_data): New variable.
54192         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54194         * math/libm-test.inc (struct test_fi_f_data): New type.
54195         (RUN_TEST_LOOP_fi_f): New macro.
54196         (ldexp_test_data): New variable.
54197         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54198         (scalbn_test_data): New variable.
54199         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54201         * math/libm-test.inc (struct test_c_f_data): New type.
54202         (RUN_TEST_LOOP_c_f): New macro.
54203         (cabs_test_data): New variable.
54204         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54205         (carg_test_data): New variable.
54206         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54207         (cimag_test_data): New variable.
54208         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54209         (creal_test_data): New variable.
54210         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54212         * math/libm-test.inc (struct test_if_f_data): New type.
54213         (RUN_TEST_LOOP_if_f): New macro.
54214         (jn_test_data): New variable.
54215         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54216         (yn_test_data): New variable.
54217         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54219         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54221 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54223         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54224         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54226 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54228         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54229         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54230         (bench-deps): Add bench-timing.h.
54231         * benchtests-bench-skeleton.c: Include bench-timing.h.
54232         (main): Use TIMING_* macros instead of clock_gettime.
54233         * benchtests/bench-timing.h: New file.
54235         [BZ #14582]
54236         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54237         Renamed from _LIB_VERSION.
54238         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54240 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54242         * math/libm-test.inc (struct test_fff_f_data): New type.
54243         (RUN_TEST_LOOP_fff_f): New macro.
54244         (fma_test_data): New variable.
54245         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54246         (fma_towardzero_test_data): New variable.
54247         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54248         (fma_downward_test_data): New variable.
54249         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54250         (fma_upward_test_data): New variable.
54251         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54253         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54254         (struct test_c_c_data): New type.
54255         (RUN_TEST_LOOP_c_c): New macro.
54256         (cacos_test_data): New variable.
54257         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54258         (cacosh_test_data): New variable.
54259         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54260         (casin_test_data): New variable.
54261         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54262         (casinh_test_data): New variable.
54263         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54264         (catan_test_data): New variable.
54265         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54266         (catanh_test_data): New variable.
54267         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54268         (ccos_test_data): New variable.
54269         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54270         (ccosh_test_data): New variable.
54271         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54272         (cexp_test_data): New variable.
54273         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54274         (clog_test_data): New variable.
54275         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54276         (clog10_test_data): New variable.
54277         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54278         (conj_test_data): New variable.
54279         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54280         (cproj_test_data): New variable.
54281         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54282         (csin_test_data): New variable.
54283         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54284         (csinh_test_data): New variable.
54285         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54286         (csqrt_test_data): New variable.
54287         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54288         (ctan_test_data): New variable.
54289         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54290         (ctan_tonearest_test_data): New variable.
54291         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54292         (ctan_towardzero_test_data): New variable.
54293         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54294         (ctan_downward_test_data): New variable.
54295         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54296         (ctan_upward_test_data): New variable.
54297         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54298         (ctanh_test_data): New variable.
54299         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54300         (ctanh_tonearest_test_data): New variable.
54301         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54302         (ctanh_towardzero_test_data): New variable.
54303         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54304         (ctanh_downward_test_data): New variable.
54305         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54306         (ctanh_upward_test_data): New variable.
54307         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54308         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54309         of BUILD_COMPLEX.
54311         * math/libm-test.inc (struct test_ff_f_data): New type.
54312         (struct test_ff_f_data_nexttoward): Likewise.
54313         (RUN_TEST_LOOP_2_f): New macro.
54314         (RUN_TEST_LOOP_ff_f): Likewise.
54315         (atan2_test_data): New variable.
54316         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54317         (copysign_test_data): New variable.
54318         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54319         (fdim_test_data): New variable.
54320         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54321         (fmax_test_data): New variable.
54322         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54323         (fmin_test_data): New variable.
54324         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54325         (fmod_test_data): New variable.
54326         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54327         (hypot_test_data): New variable.
54328         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54329         (nextafter_test_data): New variable.
54330         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54331         (nexttoward_test_data): New variable.
54332         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54333         (pow_test_data): New variable.
54334         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54335         (pow_tonearest_test_data): New variable.
54336         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54337         (pow_towardzero_test_data): New variable.
54338         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54339         (pow_downward_test_data): New variable.
54340         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54341         (pow_upward_test_data): New variable.
54342         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54343         (remainder_test_data): New variable.
54344         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54345         (scalb_test_data): New variable.
54346         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54347         * sysdeps/i386/fpu/libm-test-ulps: Update.
54349 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54351         * math/libm-test.inc (fma_test): Use max_value instead of local
54352         variable fltmax.
54353         (nextafter_test): Likewise.
54355         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54356         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54357         (acos_downward_test_data): New variable.
54358         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54359         (acos_upward_test_data): New variable.
54360         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54361         (acosh_test_data): New variable.
54362         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54363         (asin_test_data): New variable.
54364         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54365         (asin_tonearest_test_data): New variable.
54366         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54367         (asin_towardzero_test_data): New variable.
54368         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54369         (asin_downward_test_data): New variable.
54370         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54371         (asin_upward_test_data): New variable.
54372         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54373         (asinh_test_data): New variable.
54374         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54375         (atan_test_data): New variable.
54376         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54377         (atanh_test_data): New variable.
54378         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54379         (cbrt_test_data): New variable.
54380         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54381         (ceil_test_data): New variable.
54382         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54383         (cos_test_data): New variable.
54384         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54385         (cos_tonearest_test_data): New variable.
54386         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54387         (cos_towardzero_test_data): New variable.
54388         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54389         (cos_downward_test_data): New variable.
54390         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54391         (cos_upward_test_data): New variable.
54392         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54393         (cosh_test_data): New variable.
54394         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54395         (cosh_tonearest_test_data): New variable.
54396         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54397         (cosh_towardzero_test_data): New variable.
54398         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54399         (cosh_downward_test_data): New variable.
54400         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54401         (cosh_upward_test_data): New variable.
54402         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54403         (erf_test_data): New variable.
54404         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54405         (erfc_test_data): New variable.
54406         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54407         (exp_test_data): New variable.
54408         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54409         (exp_tonearest_test_data): New variable.
54410         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54411         (exp_towardzero_test_data): New variable.
54412         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54413         (exp_downward_test_data): New variable.
54414         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54415         (exp_upward_test_data): New variable.
54416         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54417         (exp10_test_data): New variable.
54418         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54419         (exp2_test_data): New variable.
54420         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54421         (expm1_test_data): New variable.
54422         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54423         (fabs_test_data): New variable.
54424         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54425         (floor_test_data): New variable.
54426         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54427         (j0_test_data): New variable.
54428         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54429         (j1_test_data): New variable.
54430         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54431         (log_test_data): New variable.
54432         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54433         (log10_test_data): New variable.
54434         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54435         (log1p_test_data): New variable.
54436         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54437         (log2_test_data): New variable.
54438         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54439         (logb_test_data): New variable.
54440         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54441         (logb_downward_test_data): New variable.
54442         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54443         (nearbyint_test_data): New variable.
54444         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54445         (rint_test_data): New variable.
54446         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54447         (rint_tonearest_test_data): New variable.
54448         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54449         (rint_towardzero_test_data): New variable.
54450         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54451         (rint_downward_test_data): New variable.
54452         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54453         (rint_upward_test_data): New variable.
54454         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54455         (round_test_data): New variable.
54456         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54457         (sin_test_data): New variable.
54458         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54459         (sin_tonearest_test_data): New variable.
54460         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54461         (sin_towardzero_test_data): New variable.
54462         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54463         (sin_downward_test_data): New variable.
54464         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54465         (sin_upward_test_data): New variable.
54466         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54467         (sinh_test_data): New variable.
54468         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54469         (sinh_tonearest_test_data): New variable.
54470         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54471         (sinh_towardzero_test_data): New variable.
54472         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54473         (sinh_downward_test_data): New variable.
54474         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54475         (sinh_upward_test_data): New variable.
54476         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54477         (sqrt_test_data): New variable.
54478         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54479         (tan_test_data): New variable.
54480         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54481         (tan_tonearest_test_data): New variable.
54482         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54483         (tan_towardzero_test_data): New variable.
54484         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54485         (tan_downward_test_data): New variable.
54486         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54487         (tan_upward_test_data): New variable.
54488         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54489         (tanh_test_data): New variable.
54490         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54491         (tgamma_test_data): New variable.
54492         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54493         (trunc_test_data): New variable.
54494         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54495         (y0_test_data): New variable.
54496         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54497         (y1_test_data): New variable.
54498         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54499         (significand_test_data): New variable.
54500         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54502 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54504         [BZ #12387]
54505         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54507 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54509         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54511 2013-05-10  Andreas Jaeger  <aj@suse.de>
54513         [BZ #15448]
54514         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54515         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54517 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54519         * math/gen-libm-test.pl (adjust_arg): New function.
54520         (special_functions): Handle generating output in both functions
54521         and arrays.
54522         (parse_args): Likewise.
54523         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54524         $in_func argument to parse_args.
54525         * math/libm-test.inc (struct test_f_f_data): New type.
54526         (IF_ROUND_INIT_): New macro.
54527         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54528         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54529         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54530         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54531         (ROUND_RESTORE_): Likewise.
54532         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54533         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54534         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54535         (ROUND_RESTORE_FE_UPWARD): Likewise.
54536         (RUN_TEST_LOOP_f_f): New macro.
54537         (acos_test_data): New variable.
54538         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54539         (acos_tonearest_test_data): New variable.
54540         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54542 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54544         * benchtests/bench-skeleton.c (startup): Fix coding style.
54546 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54548         [BZ #6809]
54549         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54550         negative infinity argument.
54551         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54552         negative infinity argument.
54553         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54554         negative infinity argument.
54555         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54556         domain errors.
54558 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54560         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54561         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54562         * iconv/iconv_prog.c (main): Likewise.
54563         * locale/programs/charmap-dir.c (charmap_readdir)
54564         (fopen_uncompressed): Likewise.
54565         * locale/programs/locfile.c (siblings_uncached)
54566         (write_locale_data): Use lstat64 instead of lstat.
54567         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54568         stat.
54570 2013-05-10  Andreas Jaeger  <aj@suse.de>
54572         [BZ #15395]
54573         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54574         localization.
54575         Include <locale.h>.
54577 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54579         * elf/dl-close.c (_dl_close_worker): Add comments.
54581 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54583         [BZ #15359]
54584         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54585         high part of pi/2.
54586         (__ieee754_rem_pio2l): Update comments.
54588         [BZ #15429]
54589         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54590         high part of pi/2.
54591         (__ieee754_rem_pio2l): Update comments.
54593         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54594         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54596         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54597         M_PI_4l.
54599         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54600         (M_PI_34_LOG10El): Likewise.
54601         (M_PI2_LOG10El): Likewise.
54602         (M_PI4_LOG10El): Likewise.
54603         (M_PI_LOG10El): Likewise.
54605 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54609 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54611         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54612         (MINUS_ZERO_INIT): Likewise.
54613         (PLUS_INFTY_INIT): Likewise.
54614         (MINUS_INFTY_INIT): Likewise.
54615         (QNAN_VALUE_INIT): Likewise.
54616         (MAX_VALUE_INIT): Likewise.
54617         (MIN_VALUE_INIT): Likewise.
54618         (MIN_SUBNORM_VALUE_INIT): Likewise.
54619         (plus_zero): Initialize with PLUS_ZERO_INIT.
54620         (minus_zero): Initialize with MINUS_ZERO_INIT.
54621         (plus_infty): Initialize with PLUS_INFTY_INIT.
54622         (minus_infty): Initialize with MINUS_INFTY_INIT.
54623         (qnan_value): Initialize with QNAN_VALUE_INIT.
54624         (max_value): Initialize with MAX_VALUE_INIT.
54625         (min_value): Initialize with MIN_VALUE_INIT.
54626         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54628         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54629         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54630         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54631         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54633         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54634         (RUN_TEST_2_f): Likewise.
54635         (RUN_TEST_ff_f): Likewise.
54636         (RUN_TEST_fi_f): Likewise.
54637         (RUN_TEST_fl_f): Likewise.
54638         (RUN_TEST_fff_f): Likewise.
54639         (RUN_TEST_c_f): Likewise.
54640         (RUN_TEST_f_f1): Likewise.
54641         (RUN_TEST_fF_f1): Likewise.
54642         (RUN_TEST_fI_f1): Likewise.
54643         (RUN_TEST_ffI_f1): Likewise.
54644         (RUN_TEST_c_c): Likewise.
54645         (RUN_TEST_cc_c): Likewise.
54646         (RUN_TEST_f_i): Likewise.
54647         (RUN_TEST_f_i_tg): Likewise.
54648         (RUN_TEST_ff_i_tg): Likewise.
54649         (RUN_TEST_f_b): Likewise.
54650         (RUN_TEST_f_b_tg): Likewise.
54651         (RUN_TEST_f_l): Likewise.
54652         (RUN_TEST_f_L): Likewise.
54653         (RUN_TEST_sincos): Likewise.
54654         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54655         whether to show exceptions.  Do not include ");\n" in return
54656         value.
54657         (special_functions): Output call to RUN_TEST_sincos instead of
54658         check_float calls.  Update calls to new_test.
54659         (parse_args): Output call to single RUN_TEST_* macro instead of
54660         check_* calls and other assignments.  Update calls to new_test.
54662         [BZ #2546]
54663         [BZ #2560]
54664         [BZ #5159]
54665         [BZ #15426]
54666         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54667         input to result for tgamma overflow.
54668         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54669         (gamma_coeff): New variable.
54670         (NCOEFF): New macro.
54671         (gamma_positive): New function.
54672         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54673         underflow here.  Use gamma_positive instead of exp (lgamma) for
54674         other arguments.
54675         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54676         (gamma_coeff): New variable.
54677         (NCOEFF): New macro.
54678         (gammaf_positive): New function.
54679         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54680         underflow here.  Use gamma_positive instead of exp (lgamma) for
54681         other arguments.
54682         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54683         (gamma_coeff): New variable.
54684         (NCOEFF): New macro.
54685         (gammal_positive): New function.
54686         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54687         underflow here.  Use gamma_positive instead of exp (lgamma) for
54688         other arguments.
54689         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54690         (gamma_coeff): New variable.
54691         (NCOEFF): New macro.
54692         (gammal_positive): New function.
54693         (__ieee754_gammal_r): Handle positive infinity, overflow and
54694         underflow here.  Handle NaN the same as positive infinity.  Remove
54695         check x < 0xffffffff for negative integers.  Use gamma_positive
54696         instead of exp (lgamma) for other arguments.
54697         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54698         (gamma_coeff): New variable.
54699         (NCOEFF): New macro.
54700         (gammal_positive): New function.
54701         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54702         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54703         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54704         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54705         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54706         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54707         * sysdeps/generic/math_private.h (__gamma_productf): New
54708         prototype.
54709         (__gamma_product): Likewise.
54710         (__gamma_productl): Likewise.
54711         * math/Makefile (libm-calls): Add gamma_product.
54712         * math/libm-test.inc (tgamma_test): Add more tests.
54713         * sysdeps/i386/fpu/libm-test-ulps: Update.
54714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54716 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54718         * benchtests/bench-skeleton.c (main): Preheat CPU.
54720 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54722         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54724 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54726         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54727         and _dl_skip_args_internal.
54729 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54731         * manual/message.texi (Message Translation): Talk about users.
54732         Message to key mapping impacts design.
54734 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54736         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54738         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54740         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54741         * sysdeps/wordsize-64/glob64.c: ... here.
54743         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54744         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54745         New macros.
54747         * debug/getlogin_r_chk.c: Moved to ...
54748         * login/getlogin_r_chk.c: ... here.
54749         * debug/Makefile (routines): Move getlogin_r_chk to ...
54750         * login/Makefile (routines): ... here.
54751         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54752         * login/Versions (libc: GLIBC_2.4): ... here.
54754         * io/poll.c (__poll): Renamed from poll.
54755         Add libc_hidden_def.
54756         (poll): Define as weak alias.
54758         * debug/ptsname_r_chk.c: Moved to ...
54759         * login/ptsname_r_chk.c: ... here.
54760         * debug/Makefile (routines): Move ptsname_r_chk to ...
54761         * login/Makefile (routines): ... here.
54762         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54763         * login/Versions (libc: GLIBC_2.4): ... here.
54765         * posix/getlogin.c: Moved to ...
54766         * login/getlogin.c: ... here.
54767         * posix/getlogin_r.c: Moved to ...
54768         * login/getlogin_r.c: ... here.
54769         * posix/getlogin_r.c: Moved to ...
54770         * login/getlogin_r.c: ... here.
54771         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54772         * login/Makefile (routines): ... here.
54773         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54774         * login/Versions (libc: GLIBC_2.0): ... here.
54776         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54777         (setrlimit): Define as weak alias.
54779         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54780         Call __ names for open, ftruncate, and close.
54781         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54782         (truncate): Define as weak alias.
54784 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54786         * math/gen-libm-test.pl (parse_args): Initialize x before each
54787         test of frexp, modf and remquo.
54789         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54790         test signgam value.
54792 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54794         [BZ #15418]
54795         [BZ #15419]
54796         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54797         internal tests.
54798         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54800 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54802         * elf/dl-writev.h: New file.
54803         * elf/dl-misc.c: Include it.
54804         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54805         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
54807 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
54809         * math/libm-test.inc (noXFails): Remove variable.
54810         (noXPasses): Likewise.
54811         (BUILD_COMPLEX_INT): Remove macro.
54812         (print_screen): Remove xfail argument.
54813         (print_screen_max_error): Likewise.
54814         (update_stats): Likewise.
54815         (print_max_error): Likewise.  Update calls to other affected
54816         functions.
54817         (print_complex_max_error): Likewise.
54818         (test_single_exception): Update calls to print_screen.
54819         (test_single_errno): Likewise.
54820         (check_float_internal): Remove xfail argument.  Update calls to
54821         other affected functions.
54822         (check_float): Likewise.
54823         (check_complex): Likewise.
54824         (check_int): Likewise.
54825         (check_long): Likewise.
54826         (check_bool): Likewise.
54827         (check_longlong): Likewise.
54828         (main): Don't print noXFails and noXPasses.
54829         * math/gen-libm-test.pl (top level): Don't mention expected
54830         failure handling in comment.
54831         (new_test): Don't handle expected failures.
54832         (parse_args): Don't mention expected failure handling in comment.
54833         (generate_testfile): Don't handle expected failures.
54834         (parse_ulps): Likewise.
54835         (print_ulps_file): Likewise.
54836         (get_failure): Remove function.
54837         (output_test): Don't handle expected failures.
54838         * make/README.libm-test: Don't mention expected failure handling.
54840         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
54841         (minus_zero): Likewise.
54842         (plus_infty): Likewise.
54843         (minus_infty): Likewise.
54844         (qnan_value): Likewise.
54845         (max_value): Likewise.
54846         (min_value): Likewise.
54847         (min_subnorm_value): Likewise.
54848         (initialize): Do not initialize those variables dynamically.
54850 2013-05-03  Roland McGrath  <roland@hack.frob.com>
54852         * io/open.c (__open_2): Moved to ...
54853         * io/open_2.c: ... this new file.
54854         * io/open64.c (__open64_2): Moved to ...
54855         * io/open64_2.c: ... this new file.
54856         * io/openat.c (__openat_2): Moved to ...
54857         * io/openat_2.c: ... this new file.
54858         * io/openat64.c (__openat64_2): Moved to ...
54859         * io/openat64_2.c: ... this new file.
54860         * io/Makefile (routines): Add them.
54861         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
54862         * sysdeps/unix/sysv/linux/open_2.c: File removed.
54863         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
54864         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
54865         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
54866         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
54867         (__openat64): Add hidden_ver.
54868         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
54869         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
54871         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
54872         Separately conditionalize setting of GLRO(dl_sysinfo) so
54873         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
54874         as well, but the actual setting is only under [NEED_DL_SYSINFO].
54876 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54878         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
54879         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
54880         definition.
54881         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
54882         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54883         (_libc_vdso_platform_setup): Add __vdso_time initialization.
54884         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
54885         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
54887 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
54889         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
54890         test signgam value.
54892         * math/libm-test.inc (hypot_test): Do not use
54893         IGNORE_ZERO_INF_SIGN.
54895 2013-05-03  Andreas Jaeger  <aj@suse.de>
54897         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
54898         Linux 3.9.
54899         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
54900         (PF_MAX): Adjust for VSOCK change.
54902 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54906 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
54908         [BZ #15264]
54909         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
54910         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
54911         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
54913 2013-05-02  David S. Miller  <davem@davemloft.net>
54915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54917 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
54919         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
54921 2013-05-01  Roland McGrath  <roland@hack.frob.com>
54923         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
54925 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
54927         [BZ #14952]
54928         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54929         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54930         Use __attribute__ ((__gnu_inline__)).
54931         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54932         Don't use __attribute__ ((__gnu_inline__)).
54934 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
54936         [BZ #15423]
54937         * math/s_catan.c (__catan): Handle small real or imaginary part of
54938         input specially to avoid spurious underflow.
54939         * math/s_catanf.c (__catanf): Likewise.
54940         * math/s_catanh.c (__catanh): Likewise.
54941         * math/s_catanhf.c (__catanhf): Likewise.
54942         * math/s_catanhl.c (__catanhl): Likewise.
54943         * math/s_catanl.c (__catanl): Likewise.
54944         * math/libm-test.inc (catan_test): Add more tests.
54945         (catanh_test): Likewise.
54946         * sysdeps/i386/fpu/libm-test-ulps: Update.
54947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54949 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54953 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
54955         [BZ #15416]
54956         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
54957         accurately for denominator in atan2.
54958         * math/s_catanf.c (__catanf): Likewise.
54959         * math/s_catanh.c (__catanh): Likewise.
54960         * math/s_catanhf.c (__catanhf): Likewise.
54961         * math/s_catanhl.c (__catanhl): Likewise.
54962         * math/s_catanl.c (__catanl): Likewise.
54963         * math/libm-test.inc (catan_test): Add more tests.
54964         (catanh_test): Likewise.
54965         * sysdeps/i386/fpu/libm-test-ulps: Update.
54966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54968 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54970         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
54972         * benchtests/Makefile (bench): Remove slow benchmarks.
54973         * benchtests/atan-inputs: Add slow benchmark inputs.
54974         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
54975         (BENCH_FUNC): Accept variant offset.
54976         (VARIANT): Define.
54977         * benchtests/bench-skeleton.c (main): Run benchmark for each
54978         variant.
54979         * benchtests/cos-inputs: Add slow benchmark inputs.
54980         * benchtests/exp-inputs: Likewise.
54981         * benchtests/pow-inputs: Likewise.
54982         * benchtests/sin-inputs: Likewise.
54983         * benchtests/slowatan-inputs: Remove.
54984         * benchtests/slowatan.c: Remove.
54985         * benchtests/slowcos-inputs: Remove.
54986         * benchtests/slowcos.c: Remove.
54987         * benchtests/slowexp-inputs: Remove.
54988         * benchtests/slowexp.c: Remove.
54989         * benchtests/slowpow-inputs: Remove.
54990         * benchtests/slowpow.c: Remove.
54991         * benchtests/slowsin-inputs: Remove.
54992         * benchtests/slowsin.c: Remove.
54993         * benchtests/slowtan-inputs: Remove.
54994         * benchtests/slowtan.c: Remove.
54995         * benchtests/tan-inputs: Add slow benchmark inputs.
54996         * scripts/bench.pl: Parse comments and directives.
54998         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54999         in CPPFLAGS.
55000         ($(objpfx)bench-%.c): Remove *-ITER.
55001         * benchtests/bench-modf.c: Remove definition of ITER.
55002         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55003         (main): Loop for DURATION seconds instead of fixed number of
55004         iterations.
55005         * scripts/bench.pl: Don't expect iterations in parameters.
55007 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55009         * io/fchdir.c (__fchdir): Renamed from fchdir.
55010         (fchdir): Define as weak alias.
55012 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55014         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55015         (ERRNO_EDOM): Likewise.
55016         (ERRNO_ERANGE): Likewise.
55017         (noErrnoTests): New variable.
55018         (init_max_error): Set errno to 0.
55019         (test_single_errno): New function.
55020         (test_errno): Likewise.
55021         (check_float_internal): Call test_errno.  Set errno to 0.
55022         (check_complex): Refer to errno tests in comment.
55023         (check_int): Call test_errno.  Set errno to 0.
55024         (check_long): Likewise.
55025         (check_bool): Likewise.
55026         (check_longlong): Likewise.
55027         (cos_test): Use ERRNO_* flags for errno tests instead of
55028         check_int.
55029         (expm1_test): Likewise.
55030         (fmod_test): Likewise.
55031         (ilogb_test): Likewise.
55032         (lgamma_test): Likewise.
55033         (pow_test): Likewise.
55034         (remainder_test): Likewise.
55035         (sin_test): Likewise.
55036         (tan_test): Likewise.
55037         (yn_test): Likewise.
55038         (initialize): Set errno to 0.
55039         (main): Print number of errno tests.
55040         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55042 2013-04-29  Andreas Jaeger  <aj@suse.de>
55044         [BZ #15084]
55045         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55046         and RES_USEVC.
55048         [BZ #15085]
55049         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55050         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55051         unimplemented.
55053         [BZ #15380]
55054         * stdlib/random.c (__initstate): Return NULL if
55055         __initstate fails.
55057         [BZ #15086]
55058         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55059         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55060         RES_SNGLKUPREOP.
55062 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55066 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55068         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55069         of individual tests.
55070         (casin_test): Likewise.
55071         (casinh_test): Likewise.
55073 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55075         [BZ #15409]
55076         * math/s_catan.c (__catan): Handle arguments with large real or
55077         imaginary part separately without squaring.
55078         * math/s_catanf.c (__catanf): Likewise.
55079         * math/s_catanh.c (__catanh): Likewise.
55080         * math/s_catanhf.c (__catanhf): Likewise.
55081         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55082         and redefine.
55083         (__catanhl): Handle arguments with large real or imaginary part
55084         separately without squaring.
55085         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55086         and redefine.
55087         (__catanl): Handle arguments with large real or imaginary part
55088         separately without squaring.
55089         * math/libm-test.inc (catan_test): Add more tests.
55090         (catanh_test): Likewise.
55091         * sysdeps/i386/fpu/libm-test-ulps: Update.
55092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55094 2013-04-27  Andreas Jaeger  <aj@suse.de>
55096         [BZ #15007]
55097         * stdlib/stdlib.h: Update guards for qecvt.
55098         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55099         <stdlib.h>.
55101 2013-04-27  Allan McRae  <allan@archlinux.org>
55103         * sysdeps/i386/fpu/libm-test-ulps: Update.
55105 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55107         [BZ #15406]
55108         * math/s_catan.c: Include <float.h>.
55109         (__catan): Ensure underflow exception occurs for underflowed
55110         result.
55111         * math/s_catanf.c: Include <float.h>.
55112         (__catanf): Ensure underflow exception occurs for underflowed
55113         result.
55114         * math/s_catanh.c: Include <float.h>.
55115         (__catanh): Ensure underflow exception occurs for underflowed
55116         result.
55117         * math/s_catanhf.c: Include <float.h>.
55118         (__catanhf): Ensure underflow exception occurs for underflowed
55119         result.
55120         * math/s_catanhl.c: Include <float.h>.
55121         (__catanhl): Ensure underflow exception occurs for underflowed
55122         result.
55123         * math/s_catanl.c: Include <float.h>.
55124         (__catanl): Ensure underflow exception occurs for underflowed
55125         result.
55126         * math/libm-test.inc (catan_test): Add more tests.
55127         (catanh_test): Likewise.
55129         [BZ #15405]
55130         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55131         underflowed result.
55132         * math/s_ccoshf.c (__ccoshf): Likewise.
55133         * math/s_ccoshl.c (__ccoshl): Likewise.
55134         * math/s_csin.c (__csin): Likewise.
55135         * math/s_csinf.c (__csinf): Likewise.
55136         * math/s_csinh.c (__csinh): Likewise.
55137         * math/s_csinhf.c (__csinhf): Likewise.
55138         * math/s_csinhl.c (__csinhl): Likewise.
55139         * math/s_csinl.c (__csinl): Likewise.
55140         * math/libm-test.inc (ccos_test): Add more tests.
55141         (ccosh_test): Likewise.
55142         (csin_test): Likewise.
55143         (csinh_test): Likewise.
55145 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55147         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55148         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55149         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55150         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55151         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55152         powerpc/power5+/fpu folders.
55153         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55156 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55160 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55162         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55163         additions to variable.
55164         [$(config-machine) = x86_64] (modules-names): Likewise.
55165         ($(objpfx)tst-audit3): Remove dependency.
55166         ($(objpfx)tst-audit3.out): Likewise.
55167         ($(objpfx)tst-audit4): Likewise.
55168         ($(objpfx)tst-audit4.out): Likewise.
55169         ($(objpfx)tst-audit5): Likewise.
55170         ($(objpfx)tst-audit5.out): Likewise.
55171         ($(objpfx)tst-audit6): Likewise.
55172         ($(objpfx)tst-audit6.out): Likewise.
55173         ($(objpfx)tst-audit7): Likewise.
55174         ($(objpfx)tst-audit7.out): Likewise.
55175         (tst-audit3-ENV): Remove variable.
55176         (tst-audit4-ENV): Likewise.
55177         (tst-audit5-ENV): Likewise.
55178         (tst-audit6-ENV): Likewise.
55179         (tst-audit7-ENV): Likewise.
55180         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55181         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55182         addition to variable.
55183         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55184         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55185         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55186         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55187         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55188         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55189         tst-audit3, tst-audit4 and tst-audit5.
55190         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55191         tst-audit6 and tst-audit7.
55192         [$(subdir) = elf] (modules-names): Add audit modules for those
55193         tests.
55194         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55195         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55196         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55197         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55198         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55199         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55200         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55201         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55202         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55203         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55204         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55205         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55206         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55207         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55208         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55209         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55210         Likewise.
55211         [$(subdir) = elf && $(config-cflags-avx) = yes]
55212         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55213         [$(subdir) = elf && $(config-cflags-avx) = yes]
55214         (CFLAGS-tst-auditmod4a.c): Likewise.
55215         [$(subdir) = elf && $(config-cflags-avx) = yes]
55216         (CFLAGS-tst-auditmod4b.c): Likewise.
55217         [$(subdir) = elf && $(config-cflags-avx) = yes]
55218         (CFLAGS-tst-auditmod6b.c): Likewise.
55219         [$(subdir) = elf && $(config-cflags-avx) = yes]
55220         (CFLAGS-tst-auditmod6c.c): Likewise.
55221         [$(subdir) = elf && $(config-cflags-avx) = yes]
55222         (CFLAGS-tst-auditmod7b.c): Likewise.
55223         * elf/tst-audit3.c: Move to ...
55224         * sysdeps/x86_64/tst-audit3.c: ... here.
55225         * elf/tst-audit4.c: Move to ...
55226         * sysdeps/x86_64/tst-audit4.c: ... here.
55227         * elf/tst-audit5.c: Move to ...
55228         * sysdeps/x86_64/tst-audit5.c: ... here.
55229         * elf/tst-audit6.c: Move to ...
55230         * sysdeps/x86_64/tst-audit6.c: ... here.
55231         * elf/tst-audit7.c: Move to ...
55232         * sysdeps/x86_64/tst-audit7.c: ... here.
55233         * elf/tst-auditmod3a.c: Move to ...
55234         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55235         * elf/tst-auditmod3b.c: Move to ...
55236         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55237         * elf/tst-auditmod4a.c: Move to ...
55238         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55239         * elf/tst-auditmod4b.c: Move to ...
55240         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55241         * elf/tst-auditmod5a.c: Move to ...
55242         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55243         * elf/tst-auditmod5b.c: Move to ...
55244         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55245         * elf/tst-auditmod6a.c: Move to ...
55246         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55247         * elf/tst-auditmod6b.c: Move to ...
55248         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55249         * elf/tst-auditmod6c.c: Move to ...
55250         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55251         * elf/tst-auditmod7a.c: Move to ...
55252         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55253         * elf/tst-auditmod7b.c: Move to ...
55254         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55256 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55258         [BZ #15366]
55259         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55260         define unconditionally.
55261         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55262         define unconditionally.
55263         (INT8_C, INT16_C, etc.): Likewise.
55265 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55267         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55268         __ehdr_start with hidden visibility.
55270         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55272 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55274         * math/libm-test.inc (cos_test): Use accurate hex constants.
55275         (sincost_test): Likewise.
55277 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55279         * math/libm-test.inc (catan_test): Add more tests.
55280         (catanh_test): Likewise.
55282         * math/s_catanf.c (__catanf): Use suffixed floating-point
55283         constants.
55284         * math/s_catanhf.c (__catanhf): Likewise.
55285         * math/s_catanhl.c (__catanhl): Likewise.
55286         * math/s_catanl.c (__catanl): Likewise.
55288         [BZ #15394]
55289         * math/s_catan.c (__catan): Calculate imaginary part of result
55290         with log1p not log unless computing log of number close to 0.
55291         * math/s_catanf.c (__catanf): Likewise.
55292         * math/s_catanl.c (__catanl): Likewise.
55293         * math/s_catanh.c (__catanh): Calculate real part of result with
55294         log1p not log unless computing log of number close to 0.
55295         * math/s_catanhf.c (__catanhf): Likewise.
55296         * math/s_catanhl.c (__catanhl): Likewise.
55297         * math/libm-test.inc (catan_test): Add more tests.
55298         (catanh_test): Likewise.
55299         * sysdeps/i386/fpu/libm-test-ulps: Update.
55300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55302 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55304         * benchtests/Makefile: Mention files in which fast and slow
55305         paths of math functions are implemented.
55307 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55309         * sysdeps/posix/timespec_get.c: New file.
55311 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55313         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55314         POWER.
55315         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55316         for POWER.
55317         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55318         powerpc/power5/fpu folders.
55319         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55320         * benchtests/Makefile: Add modf testcase.
55321         * benchtests/bench-modf.c: New file: Benchmark test for mo
55323 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55325         [BZ #14888]
55326         * time/Makefile (tests): Add tst-strptime-whitespace.
55327         * time/strptime_l.c (get_number): Use ISSPACE.
55328         (__strptime_internal): Likewise.
55329         * time/tst-strptime-whitespace.c: New test case.
55331 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55333         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55334         member.
55335         (_nss_files_init): Set it here.
55337 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55339         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55340         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55341         unsigned.
55343 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55345         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55347 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55350         size just once.
55352 2013-04-21  David S. Miller  <davem@davemloft.net>
55354         * po/ru.po: Update Russion translation from translation project.
55356 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55358         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55359         and setfsgid.
55361 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55363         * configure.in: Remove i386 configure warning. Remove i386 case.
55364         * configure: Regenerate.
55365         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55366         Add example to error message.
55367         * sysdeps/i386/configure: Regenerate.
55369 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55371         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55372         slowtan.
55373         * benchtests/cos-inputs: New file.
55374         * benchtests/slowcos-inputs: New file.
55375         * benchtests/slowcos.c: New file.
55376         * benchtests/slowtan-inputs: New file.
55377         * benchtests/slowtan.c: New file.
55378         * benchtests/tan-inputs: New file.
55380 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55382         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55383         considered kosher.
55385 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55387         * benchtests/Makefile: Include cppflags-iterator.mk to add
55388         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55390         * Makefile.in (bench-clean): New target.
55391         * benchtests/Makefile (bench-clean): Likewise.
55393 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55395         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55397 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55399         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55401 2013-04-15  Andreas Schwab  <schwab@suse.de>
55403         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55404         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55405         * nscd/pwdcache.c (cache_addpw): Likewise.
55406         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55407         more than recsize.
55409 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55411         * benchtests/Makefile (bench): Write all output to
55412         bench-out.tmp together.
55414 2013-04-15  Andreas Schwab  <schwab@suse.de>
55416         * nscd/nscd.c (main): Don't fork again after closing files.
55418 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55420         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55422         * benchtests/Rules (bench-deps): Collect dependencies into a
55423         single variable.  Add Makefile to dependencies.
55424         ($(objpfx)bench-%.c): Depend on bench-deps.
55426 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55427             Xavier Roche  <roche+kml2@exalead.com>
55429         [BZ #15361]
55430         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55431         just that it's a file descriptor.
55432         * manual/llio.texi (Synchronizing AIO Operations): Update description
55433         for EBADF error from aio_fsync.
55435 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55437         * Rules (bench): Move target definition...
55438         * benchtests/Makefile: ... here.
55440 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55442         * math/libm-test.inc (cos_test): Fix PI/2 test.
55443         (sincos_test): Likewise.
55444         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55445         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55447 2013-04-11  Andreas Schwab  <schwab@suse.de>
55449         [BZ #13988]
55450         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55451         accept exponent character only when digits were seen.
55452         * stdio-common/Makefile (tests): Add bug26.
55453         * stdio-common/bug26.c: New file.
55455         [BZ #14293]
55456         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55457         non-freeable.
55459 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55461         * Makeconfig (rtld-prefix): Define built linker prefix.
55462         * Rules (run-bench): Use it.
55463         * math/Makefile (run-regen-ulps): Likewise.
55465         * Rules (bench): Remove eval.
55467 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55468             Roland McGrath  <roland@hack.frob.com>
55469             Ondrej Bilka  <neleai@seznam.cz>
55471         [BZ #15346]
55472         * time/getdate.c: Include ctype.h and alloca.h.
55473         (__getdate_r): Trim leading and trailing spaces of input.
55474         * time/tst-getdate.c (tests): Add tests with leading and
55475         trailing spaces.
55477 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55479         [BZ #14280]
55480         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55481         when computing value.
55483 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55485         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55486         Use testrun.sh to run libm tests.
55488         [BZ #15309]
55489         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55491 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55493         [BZ #15264]
55494         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55496 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55498         * Makefile.in (regen-ulps): New target.
55499         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55500         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55501         [ifneq (no,$(PERL)] (regen-ulps): New target.
55502         [ifeq (no,$(PERL)] (regen-ulps): New target.
55503         * math/libm-test.inc (ulps_file_name): Define.
55504         (output_dir): New variable.
55505         (options): Add "output-dir" option.
55506         (parse_opt): Handle 'o' case.
55507         (main): If output_dir is non-NULL use it as a prefix
55508         otherwise use "".
55509         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55511 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55513         [BZ #10060, #10062]
55514         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55515         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55516         fail configure if __sync_val_compare_and_swap is not inlined.
55517         * sysdeps/i386/configure: Regenerate.
55518         * configure.in: Build for i686 when configured for i386.
55519         * configure: Regenerate.
55520         * README: Remove i386 reference.
55522 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55524         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55525         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55527 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55529         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55530         (lmsnanval): New variables.
55531         (F): Add conversion tests.
55532         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55533         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55535         * stdio-common/tstdiomisc.c (F): Properly collect individual
55536         tests' results.
55538         [BZ #14686, #15336]
55539         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55540         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55541         Instead, use input NaN values or generate a qNaN by arithmetic
55542         operation.  Also fix bugs to comply with the standard.
55543         * math/libm-test.inc (remainder_test): Add more tests.
55545         [BZ #15335, #15342]
55546         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55547         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55548         input NaN values or generate a qNaN by arithmetic operation.
55550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55551         unreachable code.
55553         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55554         definitions.
55556 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55558         [BZ #14478]
55559         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55560         underflowed result.
55561         * math/s_cexpf.c (__cexpf): Likewise.
55562         * math/s_cexpl.c (__cexpl): Likewise.
55563         * math/libm-test.inc (cexp_test): Add more tests.
55565 2013-04-03  Andreas Schwab  <schwab@suse.de>
55567         [BZ #15330]
55568         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55569         order arrays from heap if bigger than alloca cutoff.
55571 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55573         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55574         (SNAN_TESTS_double): Refer to GCC PR56831.
55575         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55576         GCC PR56828.
55578 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55580         * Rules (bench): Move bench.out after the run is complete.
55582         * Rules (bench): Echo currently running benchmark.
55584         * benchtests/Makefile (bench): Add atan and slowatan.
55585         * benchtests/atan-inputs: New file.
55586         * benchtests/slowatan-inputs: New file.
55587         * benchtests/slowatan.c: New file.
55589         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55590         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55591         its value.
55593         [BZ #15305]
55594         * sysdeps/unix/sysv/linux/kernel-features.h
55595         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55596         __ASSUME_XFS_RESTRICTED_CHOWN.
55597         * sysdeps/unix/sysv/linux/pathconf.c
55598         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55599         Save and restore errno.
55601 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55603         [BZ #15327]
55604         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55605         arguments using __kernel_casinh.
55606         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55607         arguments using __kernel_casinhf.
55608         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55609         arguments using __kernel_casinhl.
55610         * math/libm-test.inc (cacosh_test): Add more tests.
55611         * sysdeps/i386/fpu/libm-test-ulps: Update.
55612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55614 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55616         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55617         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55619         * bench/Makefile (bench): Add sin and slowsin.
55620         * benchtests/sin-inputs: New file.
55621         * benchtests/slowsin-inputs: New file.
55622         * benchtests/slowsin.c: New file.
55624         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55625         (bench): Add slowexp and slowpow.
55626         (exp-ITER): Increase iterations.
55627         (pow-ITER): Likewise.
55628         * benchtests/exp-inputs: Change input.
55629         * benchtests/pow-inputs: Likewise.
55630         * benchtests/slowexp-inputs: New file.
55631         * benchtests/slowexp.c: New file.
55632         * benchtests/slowpow-inputs: New file.
55633         * benchtests/slowpow.c: New file.
55635 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55637         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55638         instructions.
55639         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55640         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55641         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55642         * benchtests/Makefile: Add rint benchtest.
55643         * benchtests/rint-inputs: Input for rint benchtest.
55645 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55647         * Versions.def (libm): Add GLIBC_2.18.
55648         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55649         hidden libm prototypes.
55650         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55651         * math/Makefile (libm-calls): Add s_issignaling.
55652         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55653         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55654         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55655         declaration.
55656         * math/math.h [__USE_GNU] (issignaling): New macro.
55657         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55658         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55659         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55660         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55661         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55662         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55663         * manual/arith.texi (issignaling): New section.
55664         * manual/libm-err-tab.pl (@all_functions): Update comment.
55665         * math/gen-libm-test.pl (parse_args): Apply special handling for
55666         issignaling.
55667         * math/libm-test.inc (print_float, issignaling_test): New
55668         functions.
55669         (check_float_internal): Add issignaling checks.
55670         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55671         default definition.
55672         * sysdeps/powerpc/math-tests.h: New file.
55673         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55674         tests.
55675         * math/test-snan.c (TEST_FUNC): Likewise.
55677 2013-03-30  David S. Miller  <davem@davemloft.net>
55679         * po/de.po: Update from translation team.
55681 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55683         [BZ #10357]
55684         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55685         imaginary part less than 1.0 and real part less than 0.5
55686         specially.
55687         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55688         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55689         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55690         (cacos_test): Add more tests.
55691         (casin_test): Likewise.
55692         (casinh_test): Likewise.
55693         * sysdeps/i386/fpu/libm-test-ulps: Update.
55694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55696 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55698         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55699         ONE with its value.
55701         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55702         (__pow_mp): Replace ONE and MONE with their values.
55703         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55704         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55705         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55706         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55707         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55708         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55710         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55712         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55713         (__pow_mp): Replace ZERO and MZERO with their values.
55714         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55715         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55716         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55718         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55719         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55720         (__sqr): Likewise.
55722         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55724         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55726 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55728         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55729         Declare with __attribute__ ((weak)).
55730         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55731         Call __call_tls_dtors only if it's not NULL.
55733 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55735         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55736         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55737         magic __ehdr_start linker symbol if it's defined.
55738         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55739         them up here if it was already done.
55741         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55742         (_dl_aux_init): Use const in cast when setting it.
55743         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55744         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55745         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55747         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55748         Declare them here.
55749         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55750         * csu/libc-tls.c: Nor here.
55751         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55753         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55754         (__libc_message): Never call vsyslog.
55756 2013-03-28  Alan Modra  <amodra@gmail.com>
55758         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55759         Define as empty.
55760         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55761         Likewise.
55763 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55765         [BZ #15214]
55766         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55767         underflow.
55768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55770 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55772         [BZ #15304]
55773         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55774         Don't add gid passed as argument.
55776         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55778 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55780         [BZ #15307]
55781         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55782         imaginary part between 1.0 and 1.5 and real part less than 0.5
55783         specially.
55784         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55785         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55786         * math/libm-test.inc (cacos_test): Add more tests.
55787         (casin_test): Likewise.
55788         (casinh_test): Likewise.
55789         * sysdeps/i386/fpu/libm-test-ulps: Update.
55790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55792 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55794         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55795         constants.
55796         (norm): Likewise.
55797         (denorm): Likewise.
55798         (__dbl_mp): Likewise.
55799         (add_magnitudes): Likewise.
55800         (sub_magnitudes): Likewise.
55801         (__add): Likewise.
55802         (__sub): Likewise.
55803         (__mul): Likewise.
55804         (__sqr): Likewise.
55805         (__inv): Likewise.
55806         (__dvd): Likewise.
55808         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
55809         commented code.
55810         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
55811         (__dubcos): Likewise.
55812         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
55813         (__ieee754_acos): Likewise.
55814         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55815         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
55816         (__exp1): Likewise.
55817         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55818         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55819         (log1): Likewise.
55820         (my_log2): Likewise.
55821         (checkint): Likewise.
55822         * sysdeps/ieee754/dbl-64/e_remainder.c
55823         (__ieee754_remainder): Likewise.
55824         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55825         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
55826         (bsloww): Likewise.
55827         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55829         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55830         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
55831         MANTISSA_STORE_T to store computations on mantissa.  Use
55832         macros for rounding and division.
55833         (denorm): Likewise.
55834         (__dbl_mp): Likewise.
55835         (add_magnitudes): Likewise.
55836         (sub_magnitudes): Likewise.
55837         (__mul): Likewise.
55838         (__sqr): Likewise.
55839         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55840         powers of two in terms of TWOPOW macro.
55841         (mp_no): Make type of mantissa as MANTISSA_T.
55842         [!RADIXI]: Define RADIXI.
55843         [!TWO52]: Define TWO52.
55844         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55846 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55848         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
55849         llroundl symbol when building for PPC32.
55851 2013-03-24  Mark H Weaver  <mhw@netris.org>
55853         * manual/arith.texi (Normalization Functions): Fix prototypes for
55854         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
55856 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55858         [BZ #13889]
55859         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55860         high value to check if expl overflow.
55861         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
55862         to check for underflow and overflow.
55863         * math/libm-test.inc: Add exp test.
55865 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
55867         [BZ #11120]
55868         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
55869         with NOT_IN_libc.
55871 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55873         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
55874         symbol.
55876 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55878         * math/gen-libm-test.pl (parse_args, special_functions): Properly
55879         wrap blocks consisting of several statements.
55881         * sysdeps/generic/math-tests.h: New file.
55882         * sysdeps/i386/fpu/math-tests.h: Likewise.
55883         * math/test-snan.c: Include it.
55884         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
55886 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55888         [BZ #15285]
55889         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
55890         (__ieee754_j0l): Do not improve calculations using cos of twice
55891         input for inputs above LDBL_MAX / 2.0L.
55892         (__ieee754_y0l): Likewise.
55893         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
55894         (__ieee754_j1l): Do not improve calculations using cos of twice
55895         input for inputs above LDBL_MAX / 2.0L.
55896         (__ieee754_y1l): Likewise.
55897         * math/libm-test.inc (j0_test): Add another test.
55898         (j1_test): Likewise.
55899         (y0_test): Likewise.
55900         (y1_test): Likewise.
55901         * sysdeps/i386/fpu/libm-test-ulps: Update.
55903 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55905         * Rules ($(objpfx)bench-%.c): Include code from a C source
55906         file.
55908 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55910         [BZ #15287]
55911         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55912         imaginary part 1.0 and real part less than 0.5 specially.
55913         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55914         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55915         * math/libm-test.inc (cacos_test): Add more tests.
55916         (casin_test): Likewise.
55917         (casinh_test): Likewise.
55918         * sysdeps/i386/fpu/libm-test-ulps: Update.
55919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55921 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55923         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
55924         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
55926 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
55928         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
55929         * config.make.in (config-cflags-sse4): Remove variable.
55930         (config-cflags-avx): Likewise.
55931         (config-cflags-sse2avx): Likewise.
55932         (config-cflags-novzeroupper): Likewise.
55933         (config-asflags-i686): Likewise.
55934         (have-mfma4): Likewise.
55935         (have-as-vis3): Likewise.
55936         (MIG): Likewise.
55937         * configure.in (MIG): Do not AC_SUBST.
55938         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
55939         (libc_cv_cc_sse4): Do not AC_SUBST.
55940         (libc_cv_cc_avx): Likewise.
55941         (libc_cv_cc_sse2avx): Likewise.
55942         (libc_cv_cc_novzeroupper): Likewise.
55943         (libc_cv_cc_fma4): Likewise.
55944         (libc_cv_as_i686): Likewise.
55945         (libc_cv_sparc_as_vis3): Likewise.
55946         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
55947         LIBC_CONFIG_VAR.
55948         (config-asflags-i686): Likewise.
55949         (config-cflags-avx): Likewise.
55950         (config-cflags-sse2avx): Likewise.
55951         (have-mfma4): Likewise.
55952         (config-cflags-novzeroupper): Likewise.
55953         * sysdeps/mach/configure.in (MIG): Likewise.
55954         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
55955         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
55956         LIBC_CONFIG_VAR.
55957         (config-cflags-avx): Likewise.
55958         (config-cflags-sse2avx): Likewise.
55959         (have-mfma4): Likewise.
55960         (config-cflags-novzeroupper): Likewise.
55961         * configure: Regenerated.
55962         * sysdeps/i386/configure: Likewise.
55963         * sysdeps/mach/configure: Likewise.
55964         * sysdeps/sparc/configure: Likewise.
55965         * sysdeps/x86_64/configure: Likewise.
55967 2013-03-20  Roland McGrath  <roland@hack.frob.com>
55969         [BZ #14812]
55970         * locale/programs/localedef.c (options): Put N_ translation marker
55971         on argument names, not just descriptions.
55973 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55975         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55977 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
55979         [BZ #14176]
55980         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55982 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55984         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55985         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55986         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55987         [!BEFORE_ABORT] (before_abort): New function.
55988         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55989         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55990         (writev_for_fatal): New function.
55991         (WRITEV_FOR_FATAL): New macro; call that.
55992         (backtrace_and_maps): New function.
55993         (BEFORE_ABORT): New macro; call that.
55994         (struct str_list): Type removed.
55995         (__libc_message, __libc_fatal): Functions removed.
55996         Include <sysdeps/posix/libc_fatal.c> instead.
55998 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56000         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56001         constants.
56002         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56003         double constants.
56005 2013-03-19  Andreas Schwab  <schwab@suse.de>
56007         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56008         * sysdeps/gnu/configure: Regenerate.
56010         * configure.in: Substitute libc_cv_rtlddir.
56011         * configure: Regenerate.
56012         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56013         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56014         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56015         * elf/Makefile (install-others, CFLAGS-interp.c)
56016         (ldso_install, common-ldd-rewrite): Likewise.
56017         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56018         $(inst_slibdir)/$(rtld-installed-name).
56019         * scripts/rellns-sh: Add -p option.
56020         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56021         for source.
56023 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56025         * manual/nptl.texi: Renamed to ...
56026         * manual/threads.texi: ... this.
56027         * manual/Makefile (chapters): Update.
56029 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56031         [BZ #14812]
56032         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56033         on argument names, not just descriptions.
56034         * malloc/memusagestat.c (options): Likewise.
56035         * nss/getent.c (options): Likewise.
56037 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56039         [BZ #14812]
56040         * iconv/iconv_prog.c (options): Put N_ translation marker
56041         on argument names, not just descriptions.
56042         * iconv/iconvconfig.c (options): Likewise.
56044 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56046         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56047         implementation which is faster on all x86_64 architectures.
56048         Tested on AMD, Intel Nehalem, SNB, IVB.
56049         * sysdeps/x86_64/strnlen.S: Likewise.
56051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56052         Remove all multiarch strlen and strnlen versions.
56053         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56054         Remove strlen and strnlen related parts.
56056         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56057         Inline strlen part.
56058         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56060         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56061         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56062         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56063         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56064         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56065         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56067 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56069         * manual/memory.texi (Malloc Tunable Parameters):
56070         Sort parameters alphabetically. Add comments for missing entries.
56072 2013-03-17  David S. Miller  <davem@davemloft.net>
56074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56076 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56078         [BZ #15283]
56079         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56080         for arguments at most half maximum finite value.
56081         * math/libm-test.inc (j0_test): Add more tests.
56082         (j1_test): Likewise.
56083         (y0_test): Likewise.
56084         (y1_test): Likewise.
56085         * sysdeps/i386/fpu/libm-test-ulps: Update.
56086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56088         [BZ #14155]
56089         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56090         1 / x and functions P and Q for arguments above 0x1p256L.
56091         (__ieee754_y0l): Likewise.
56092         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56093         (__ieee754_y1l): Likewise.
56094         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56095         (j1_test): Likewise.
56096         (y0_test): Likewise.
56097         (y1_test): Likewise.
56099 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56101         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56102         variable.
56104 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56106         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56107         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56108         zero since it's initialized to EXEC_PAGESIZE.
56110         * sysdeps/unix/sysv/linux/ldsodefs.h
56111         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56112         * sysdeps/generic/ldsodefs.h: ... here.
56114 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56116         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56118         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56119         math/test-snan.c.
56120         * math/test-snan.c: Renamed from
56121         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56122         * math/Makefile (tests): Add test-snan.
56123         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56124         test-powerpc-snan.
56126         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56127         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56128         functions.
56129         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56130         __builtin_nan family of functions.
56131         * math/libm-test.inc (initialize): Initialize qnan_value with
56132         __builtin_nan family of functions.
56133         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56134         Remove variables.
56135         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56136         Remove functions.
56137         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56138         storage class.  Initialize qNaN_var and sNaN_var with
56139         __builtin_nan and __builtin_nans families of functions,
56140         respectively.
56142         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56143         (sqrt_test): Remove duplicate test with qNaN input.
56144         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56145         (round_test, signbit_test, significand_test): Note missing +/-Inf
56146         as well as qNaN tests.
56148         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56149         qNaN_var.  Fix a few strings, too.
56150         * math/libm-test.inc (nan_value): Rename to qnan_value.
56151         * math/gen-libm-test.pl (%beautify): Adjust to that.
56152         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56153         * math/test-misc.c (main): Likewise.
56154         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56155         to __qnan_bytes, and __qnan_union, respectively.
56156         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56157         Likewise.
56158         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56159         and lqnanval, respectively.
56160         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56161         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56162         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56163         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56165         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56166         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56167         doubles.
56169         * math/test-misc.c (main): Fix copy'n'pastos.
56170         * misc/tst-efgcvt.c (special): Likewise.
56172         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56173         Remove declarations.
56175 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56177         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56178         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56179         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56180         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56182 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56184         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56185         macro to return vdso values correctly in IFUNC implementations.
56186         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56187         Optimization by using IFUNC.
56189 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56190             Richard Henderson  <rth@redhat.com>
56191             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56193         * Makefile.in (bench): New target.
56194         * NEWS: Mention the benchmark framework.
56195         * Rules (bench): Likewise.
56196         (binaries-bench): Generate binaries for functions to
56197         benchmark.
56198         * benchtests/Makefile: New makefile for benchmark tests.
56199         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56200         programs.
56201         * benchtests/exp-inputs: New input file for EXP function.
56202         * benchtests/pow-inputs: New input file for POW function.
56203         * scripts/bench.pl: New script to generate source files for
56204         benchmark programs.
56206 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56208         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56209         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56210         computations on mantissa.  Use macros for rounding and
56211         division.
56212         (denorm): Likewise.
56213         (__dbl_mp): Likewise.
56214         (add_magnitudes): Likewise.
56215         (sub_magnitudes): Likewise.
56216         (__mul): Likewise.
56217         (__sqr): Likewise.
56218         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56219         powers of two in terms of TWOPOW macro.
56220         (mp_no): Make type of mantissa as MANTISSA_T.
56221         [!RADIXI]: Define RADIXI.
56222         [!TWO52]: Define TWO52.
56223         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56225         * manual/nptl.texi (cindex): Modify threads to pthreads.
56227 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56229         * sysdeps/x86_64/preconfigure: Regenerated.
56231 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56233         [BZ #14155]
56234         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56235         0x1p28 and above.
56236         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56237         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56238         0x1p28 and above.
56239         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56240         * math/libm-test.inc (j0_test): Do not allow one spurious
56241         underflow exception.
56242         (y1_test): Likewise.
56244 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56246         * manual/Makefile (chapters): Add nptl.
56247         * manual/debug.texi (Debugging Support): Add link to Threads
56248         chapter.
56249         * manual/nptl.texi: New file.
56251         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56253 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56255         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56256         for non-NULL pointer before the memory validity test. Pointed
56257         out by Holger Brunck <holger.brunck@keymile.com>.
56259 2013-03-13  Andreas Schwab  <schwab@suse.de>
56261         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56262         instead of .os.
56264 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56266         * timezone/zic.c: Update from tzcode 2013b.
56268 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56270         * manual/install.texi (Configuring and compiling):
56271         Mention i686 and i586.
56272         * INSTALL: Regenerate.
56274 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56276         * sysdeps/init_array/elf-init.c: New file.
56277         * csu/elf-init.c
56278         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56279         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56281         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56282         __gmon_start__ as global, but as static with a .preinit_array pointer.
56283         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56284         * sysdeps/init_array/crti.S: New file, empty except for comments.
56285         * sysdeps/init_array/crtn.S: Likewise.
56287 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56289         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56290         definining bcopy.
56291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56292         Remove Prefer_SSE_for_memop.
56293         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56294         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56295         HAS_PREFER_SSE_FOR_MEMOP.
56296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56297         memset-x86-64.
56298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56299         Remove bzero, memset ifunc support.
56300         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56301         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56302         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56303         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56305 2013-03-11  Andreas Schwab  <schwab@suse.de>
56307         [BZ #15234]
56308         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56309         by SHLIB_COMPAT.
56310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56311         (GLIBC_2.16): Remove pthread_atfork.
56313 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56315         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56316         (ptestcases.h): Likewise.
56318 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56320         * Makeconfig ($(common-objpfx)config.status): Depend on
56321         sysdeps/*/preconfigure{,.in} too.
56323 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56325         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56326         (__free_hook): Use void * instead of __malloc_ptr_t.
56327         (__malloc_hook): Likewise.
56328         (__realloc_hook): Likewise.
56329         (__memalign_hook): Likewise.
56330         (__after_morecore_hook): Likewise.
56331         * malloc/arena.c (save_malloc_hook): Likewise.
56332         (save_free_hook): Likewise.
56333         * malloc/hooks.c (malloc_hook_ini): Likewise.
56334         (realloc_hook_ini): Likewise.
56335         (memalign_hook_ini): Likewise.
56336         * malloc/malloc.c (malloc_hook_ini): Likewise.
56337         (realloc_hook_ini): Likewise.
56338         (memalign_hook_ini): Likewise.
56339         (__free_hook): Likewise.
56340         (__malloc_hook): Likewise.
56341         (__realloc_hook): Likewise.
56342         (__memalign_hook): Likewise.
56343         (__libc_malloc): Likewise.
56344         (__libc_free): Likewise.
56345         (__libc_realloc): Likewise.
56346         (__libc_memalign): Likewise.
56347         (__libc_valloc): Likewise.
56348         (__libc_pvalloc): Likewise.
56349         (__libc_calloc): Likewise.
56350         (__posix_memalign): Likewise.
56351         * malloc/morecore.c (__sbrk): Likewise.
56352         (__default_morecore): Likewise.
56354         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56356         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56357         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56358         __malloc_ptrdiff_t.
56360         * malloc/malloc.h (__malloc_size_t): Remove macro.
56361         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56362         __malloc_size_t.
56363         (old_memalign_hook): Likewise.
56364         (old_realloc_hook): Likewise.
56365         (struct hdr): Likewise.
56366         (flood): Likewise.
56367         (mallochook): Likewise.
56368         (memalignhook): Likewise.
56369         (reallochook): Likewise.
56370         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56371         (tr_old_realloc_hook): Likewise.
56372         (tr_old_memalign_hook): Likewise.
56373         (tr_mallochook): Likewise.
56374         (tr_reallochook): Likewise.
56375         (tr_memalignhook): Likewise.
56377 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56379         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56380         default_ldbl_pack and using as default implementation.
56381         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56382         implementation.
56383         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56384         redundant definition.
56385         (ldbl_insert_mantissa): Likewise.
56386         (ldbl_canonicalize): Likewise.
56387         (ldbl_nearbyint): Likewise.
56388         (ldbl_pack): Rename to ldbl_pack_ppc.
56389         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56390         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56391         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56393 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56396         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56397         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56398         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56400         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56401         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56402         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56404 2013-03-07  Andreas Jaeger  <aj@suse.de>
56406         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56407         bits/mman-linux.h.
56409 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56411         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56412         Include mpa.h and declare __MPEXP.
56413         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56414         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56415         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56416         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56417         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56418         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56419         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56421         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56422         (__slowpow): Use long double EXPL and LOGL functions to
56423         compute POW.
56424         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56425         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56426         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56427         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56428         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56429         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56432         intermediate variable to calculate exponent.
56433         (__sqr): Likewise.
56434         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56435         Likewise.
56436         (__sqr): Likewise.
56438         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56439         [!NO__SQR]: Define __sqr.
56440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56441         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56442         sysdeps/ieee754/dbl-64/mpa.c.
56443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56445         [BZ #12723]
56446         * posix/Makefile (tests): Add tst-pathconf.
56447         * posix/tst-pathconf.c: New test case.
56448         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56449         _PC_PIPE_BUF.
56450         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56452 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56454         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56456 2013-03-06  Andreas Jaeger  <aj@suse.de>
56458         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56459         definition via __MAP_ANONYMOUS.
56461         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56462         it's not part of Linux headers.
56464         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56465         (MAP_HUGE_MASK): Define.
56467         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56468         Define.
56469         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56470         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56471         Define.
56472         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56473         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56474         Define.
56475         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56476         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56477         Define.
56478         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56480         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56481         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56482         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56483         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56484         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56485         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56487         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56488         Handle f2fs.
56490         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56491         Handle f2fs and efivarfs.
56493         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56494         f2fs.
56496         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56497         (EFIVARFS_MAGIC): Add.
56498         (F2FS_LINK_MAX): Add.
56500 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56502         * stdio-common/vfprintf.c: Replace __builtin_expect with
56503         __glibc_unlikely.
56505 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56507         [BZ #13550]
56508         * sysdeps/generic/bp-sym.h: Remove file.
56509         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56510         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56511         <bp-sym.h> and <bp-asm.h>.
56512         (__longjmp): Don't use BP_SYM.
56513         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56514         and <bp-asm.h>.
56515         (memcpy): Don't use BP_SYM.
56516         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56517         <bp-sym.h> and <bp-asm.h>.
56518         (memcpy): Don't use BP_SYM.
56519         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56520         <bp-asm.h>.
56521         (memcpy): Don't use BP_SYM.
56522         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56523         <bp-asm.h>.
56524         (memset): Don't use BP_SYM.
56525         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56526         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56527         (__bzero): Don't use BP_SYM.
56528         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56529         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56530         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56531         <bp-sym.h> and <bp-asm.h>.
56532         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56533         pointers.
56534         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56535         <bp-sym.h> and <bp-asm.h>.
56536         (memcpy): Don't use BP_SYM.
56537         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56538         <bp-sym.h> and <bp-asm.h>.
56539         (memset): Don't use BP_SYM.
56540         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56541         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56542         (__bzero): Don't use BP_SYM.
56543         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56544         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56545         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56546         <bp-sym.h> and <bp-asm.h>.
56547         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56548         pointers.
56549         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56550         <bp-sym.h> and <bp-asm.h>.
56551         (memcpy): Don't use BP_SYM.
56552         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56553         <bp-sym.h> and <bp-asm.h>.
56554         (memset): Don't use BP_SYM.
56555         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56556         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56557         (__bzero): Don't use BP_SYM.
56558         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56559         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56560         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56561         <bp-sym.h> and <bp-asm.h>.
56562         (__memchr): Don't use BP_SYM.
56563         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56564         <bp-sym.h> and <bp-asm.h>.
56565         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56566         pointers.
56567         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56568         <bp-sym.h> and <bp-asm.h>.
56569         (memcpy): Don't use BP_SYM.
56570         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56571         <bp-sym.h> and <bp-asm.h>.
56572         (__mempcpy): Don't use BP_SYM.
56573         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56574         <bp-sym.h> and <bp-asm.h>.
56575         (__memrchr): Don't use BP_SYM.
56576         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56577         <bp-sym.h> and <bp-asm.h>.
56578         (memset): Don't use BP_SYM.
56579         (__bzero): Likewise.
56580         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56581         <bp-sym.h> and <bp-asm.h>.
56582         (__rawmemchr): Don't use BP_SYM.
56583         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56584         <bp-sym.h> and <bp-asm.h>.
56585         (__STRCMP): Don't use BP_SYM.
56586         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56587         <bp-sym.h> and <bp-asm.h>.
56588         (strchr): Don't use BP_SYM.
56589         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56590         <bp-sym.h> and <bp-asm.h>.
56591         (__strchrnul): Don't use BP_SYM.
56592         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56593         <bp-sym.h> and <bp-asm.h>.
56594         (strlen): Don't use BP_SYM.
56595         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56596         <bp-sym.h> and <bp-asm.h>.
56597         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56598         pointers.
56599         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56600         <bp-sym.h> and <bp-asm.h>.
56601         (__strnlen): Don't use BP_SYM.
56602         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56603         <bp-sym.h> and <bp-asm.h>.
56604         (__GI__setjmp): Don't use BP_SYM.
56605         (_setjmp): Likewise.
56606         (__sigsetjmp): Likewise.
56607         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56608         (L(start_addresses)): Don't use BP_SYM.
56609         (_start): Likewise.
56610         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56611         <bp-asm.h>.
56612         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56613         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56614         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56615         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56616         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56617         <bp-asm.h>.
56618         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56619         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56620         about bounded pointers.
56621         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56622         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56623         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56624         <bp-asm.h>.
56625         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56626         about bounded pointers.  Remove GKM FIXME comments.
56627         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56628         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56629         <bp-asm.h>.
56630         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56631         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56632         Remove GKM FIXME comments.
56633         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56634         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56635         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56636         <bp-asm.h>.
56637         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56638         about bounded pointers.  Remove GKM FIXME comment.
56639         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56640         and <bp-asm.h>.
56641         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56642         pointers.
56643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56644         <bp-sym.h> and <bp-asm.h>.
56645         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56647         <bp-sym.h> and <bp-asm.h>.
56648         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56649         comment.
56651 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56653         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56654         call free(NULL).
56656 2013-03-05  David S. Miller  <davem@davemloft.net>
56658         * po/es.po: Update from translation team.
56660 2013-03-05  Andreas Jaeger  <aj@suse.de>
56662         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56663         <bits/mman-linux.h>.
56664         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56665         is fine.
56666         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56667         <bits/mman-linux.h> to end of file.
56668         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56669         is fine.
56670         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56671         <bits/mman-linux.h> to end of file.
56672         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56673         is fine.
56674         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56675         <bits/mman-linux.h> to end of file.
56677         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56678         (MCL_CURRENT, MCL_FUTURE): Define here.
56680 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56682         [BZ #15232]
56683         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56684         attribute_hidden.
56685         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56687 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56689         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56690         fourth parameter needed for rt_sigprocmask syscall.
56691         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56692         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56693         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56694         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56695         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56696         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56698 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56700         [BZ #13550]
56701         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56702         comment about bounded pointers.
56703         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56704         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56706 2013-03-04  Andreas Jaeger  <aj@suse.de>
56708         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56709         common definitions.
56711         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56712         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56713         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56714         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56715         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56716         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56718 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56720         [BZ #15055]
56721         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56722         __ieee754_sqrl instead of __sqrl.
56724 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56726         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56727         * sysdeps/powerpc/fpu_control.h: ... here.
56728         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56729         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56730         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56731         * sysdeps/powerpc/bits/mathinline.h: ... here.
56733 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56735         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56736         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56737         to just [NEED_DL_SYSINFO_DSO].
56738         * elf/dl-support.c: Likewise.
56739         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56740         * elf/rtld.c (dl_main): Likewise.
56741         * elf/setup-vdso.h (setup_vdso): Likewise.
56742         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56743         * sysdeps/unix/sysv/linux/dl-sysdep.c
56744         (_dl_discover_osversion): Likewise.
56746 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56748         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56749         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56751 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56753         * NEWS: Mention libm performance improvements and non-x86 PI
56754         futex support.
56756         * csu/libc-start.c (__pthread_initialize_minimal): Change
56757         function arguments.
56758         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56760 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56762         [BZ #13550]
56763         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56764         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56765         <bp-sym.h> and <bp-asm.h>.
56766         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56767         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56768         and <bp-asm.h>.
56769         (memcpy): Don't use BP_SYM.
56770         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56771         <bp-asm.h>.
56772         (__mpn_add_n): Don't use BP_SYM.
56773         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56774         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56775         and <bp-asm.h>.
56776         (__mpn_addmul_1): Don't use BP_SYM.
56777         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56778         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56779         <bp-sym.h>.
56780         (_setjmp): Don't use BP_SYM.
56781         (__novmx_setjmp): Likewise.
56782         (__GI__setjmp): Likewise.
56783         (__vmx_setjmp): Likewise.
56784         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56785         <bp-sym.h>.
56786         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56787         (__bzero): Don't use BP_SYM.
56788         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56789         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56790         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56791         <bp-sym.h> and <bp-asm.h>.
56792         (memcpy): Don't use BP_SYM.
56793         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56794         <bp-sym.h> and <bp-asm.h>.
56795         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56796         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56797         <bp-sym.h> and <bp-asm.h>.
56798         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56799         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
56800         <bp-asm.h>.
56801         (__mpn_lshift): Don't use BP_SYM.
56802         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56803         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
56804         <bp-asm.h>.
56805         (memset): Don't use BP_SYM.
56806         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56807         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56808         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
56809         <bp-asm.h>.
56810         (__mpn_mul_1): Don't use BP_SYM.
56811         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56812         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
56813         <bp-sym.h> and <bp-asm.h>.
56814         (memcmp): Don't use BP_SYM.
56815         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
56816         <bp-sym.h> and <bp-asm.h>.
56817         (memcpy): Don't use BP_SYM.
56818         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
56819         <bp-sym.h> and <bp-asm.h>.
56820         (memset): Don't use BP_SYM.
56821         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
56822         <bp-sym.h> and <bp-asm.h>.
56823         (strncmp): Don't use BP_SYM.
56824         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
56825         <bp-sym.h> and <bp-asm.h>.
56826         (memcpy): Don't use BP_SYM.
56827         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
56828         <bp-sym.h> and <bp-asm.h>.
56829         (memset): Don't use BP_SYM.
56830         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
56831         <bp-sym.h> and <bp-asm.h>.
56832         (__memchr): Don't use BP_SYM.
56833         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
56834         <bp-sym.h> and <bp-asm.h>.
56835         (memcmp): Don't use BP_SYM.
56836         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
56837         <bp-sym.h> and <bp-asm.h>.
56838         (memcpy): Don't use BP_SYM.
56839         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
56840         <bp-sym.h> and <bp-asm.h>.
56841         (__mempcpy): Don't use BP_SYM.
56842         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
56843         <bp-sym.h> and <bp-asm.h>.
56844         (__memrchr): Don't use BP_SYM.
56845         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
56846         <bp-sym.h> and <bp-asm.h>.
56847         (memset): Don't use BP_SYM.
56848         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
56849         <bp-sym.h> and <bp-asm.h>.
56850         (__rawmemchr): Don't use BP_SYM.
56851         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
56852         <bp-sym.h> and <bp-asm.h>.
56853         (__STRCMP): Don't use BP_SYM.
56854         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
56855         <bp-sym.h> and <bp-asm.h>.
56856         (strchr): Don't use BP_SYM.
56857         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
56858         <bp-sym.h> and <bp-asm.h>.
56859         (__strchrnul): Don't use BP_SYM.
56860         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
56861         <bp-sym.h> and <bp-asm.h>.
56862         (strlen): Don't use BP_SYM.
56863         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
56864         <bp-sym.h> and <bp-asm.h>.
56865         (strncmp): Don't use BP_SYM.
56866         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
56867         <bp-sym.h> and <bp-asm.h>.
56868         (__strnlen): Don't use BP_SYM.
56869         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
56870         <bp-asm.h>.
56871         (__mpn_rshift): Don't use BP_SYM.
56872         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56873         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
56874         <bp-sym.h> and <bp-asm.h>.
56875         (__sigsetjmp): Don't use BP_SYM.
56876         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
56877         (L(start_addresses)): Don't use BP_SYM.
56878         (_start): Likewise.
56879         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
56880         <bp-asm.h>.
56881         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
56882         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56883         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56884         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
56885         <bp-asm.h>.
56886         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
56887         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56888         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56889         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
56890         <bp-asm.h>.
56891         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56892         comments.
56893         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56894         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
56895         <bp-asm.h>.
56896         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
56897         FIXME comments.
56898         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56899         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56900         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
56901         <bp-asm.h>.
56902         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56903         comment.
56904         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
56905         and <bp-asm.h>.
56906         (strncmp): Don't use BP_SYM,
56907         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
56908         <bp-asm.h>.
56909         (__mpn_sub_n): Don't use BP_SYM.
56910         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56911         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
56912         and <bp-asm.h>.
56913         (__mpn_submul_1): Don't use BP_SYM.
56914         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
56916         <bp-sym.h> and <bp-asm.h>.
56917         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
56919         <bp-sym.h> and <bp-asm.h>.
56920         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56921         comment.
56923 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
56926         Use ZK to minimize writes to Z.
56927         (sub_magnitudes): Simplify code a bit.
56928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
56929         Use ZK to minimize writes to Z.
56930         (sub_magnitudes): Simplify code a bit.
56932 2013-02-27  Roland McGrath  <roland@hack.frob.com>
56934         * csu/gmon-start.c: Add special exception to license text.
56936 2013-02-27  Richard Henderson  <rth@redhat.com>
56938         * scripts/config.guess: Update from config.git.
56939         * scripts/config.sub: Likewise.
56941 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56943         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
56945         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
56947         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
56949         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
56951         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
56953 2013-02-26  Roland McGrath  <roland@hack.frob.com>
56955         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
56956         [$(build-shared = yes].
56958 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56960         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
56961         (__mul): Reduce iterations for calculating mantissa.
56963         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
56964         MPTWO.
56965         (__mpranred): Likewise.
56967         [BZ #15160]
56968         * malloc/memusagestat.c (main): Draw graphs for heap and stack
56969         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
56971 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
56973         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
56974         Define __attribute__.
56976 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56978         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56979         unused.
56980         * posix/regex_internal.h (__attribute): Remove.
56981         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56982         (re_string_context_at): Likewise.
56983         (bitset_not): Use __attribute__ and mark function as possibly
56984         unused.
56985         (bitset_merge): Likewise.
56986         (bitset_mask): Likewise.
56987         (re_string_char_size_at): Likewise.
56988         (re_string_wchar_at): Likewise.
56989         (re_string_elem_size_at): Likewise.
56991 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56993         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56994         code.
56995         (cc32): Likewise.
56997         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56998         (__acr): Likewise.
56999         (__cpy): Likewise.
57000         (norm): Likewise.
57001         (denorm): Likewise.
57002         (__dbl_mp): Likewise.
57003         (add_magnitudes): Likewise.
57004         (sub_magnitudes): Likewise.
57005         (__mul): Likewise.
57006         (__inv): Likewise.
57008         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57009         style.
57011         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57012         style.
57014         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57015         code.
57017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57018         up changes with default code.
57019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57020         Likewise.
57022 2013-02-24  Allan McRae  <allan@archlinux.org>
57024         * manual/socket.texi (The Internet Namespace): Order menu items
57025         to match that in the file.
57027         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57028         node listing of the info page menu.
57030 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57032         [BZ #13550]
57033         * sysdeps/i386/bp-asm.h: Remove file.
57034         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57035         (PARMS): Do not use macros from bp-asm.h.
57036         (S1): Likewise.
57037         (S2): Likewise.
57038         (SIZE): Likewise.
57039         (__mpn_add_n): Do not use BP_SYM
57040         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57041         "bp-asm.h".
57042         (PARMS): Do not use macros from bp-asm.h.
57043         (S1): Likewise.
57044         (SIZE): Likewise.
57045         (__mpn_addmul_1): Do not use BP_SYM
57046         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57047         "bp-asm.h".
57048         (PARMS): Do not use macros from bp-asm.h.
57049         (SIGMSK): Likewise.
57050         (_setjmp): Likewise.  Do not use BP_SYM.
57051         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57052         "bp-asm.h".
57053         (PARMS): Do not use macros from bp-asm.h.
57054         (SIGMSK): Likewise.
57055         (setjmp): Likewise.  Do not use BP_SYM.
57056         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57057         "bp-asm.h".
57058         (PARMS): Do not use macros from bp-asm.h.
57059         (__frexp): Do not use BP_SYM.
57060         (frexp): Likewise.
57061         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57062         "bp-asm.h".
57063         (PARMS): Do not use macros from bp-asm.h.
57064         (__frexpf): Do not use BP_SYM.
57065         (frexpf): Likewise.
57066         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57067         "bp-asm.h".
57068         (PARMS): Do not use macros from bp-asm.h.
57069         (__frexpl): Do not use BP_SYM.
57070         (frexpl): Likewise.
57071         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57072         "bp-asm.h".
57073         (PARMS): Do not use macros from bp-asm.h.
57074         (__remquo): Do not use BP_SYM.
57075         (remquo): Likewise.
57076         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57077         "bp-asm.h".
57078         (PARMS): Do not use macros from bp-asm.h.
57079         (__remquof): Do not use BP_SYM.
57080         (remquof): Likewise.
57081         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57082         "bp-asm.h".
57083         (PARMS): Do not use macros from bp-asm.h.
57084         (__remquol): Do not use BP_SYM.
57085         (remquol): Likewise.
57086         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57087         "bp-asm.h".
57088         (PARMS): Do not use macros from bp-asm.h.
57089         (DEST): Likewise.
57090         (SRC): Likewise.
57091         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57092         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57093         "bp-asm.h".
57094         (PARMS): Do not use macros from bp-asm.h.
57095         (strlen): Do not use BP_SYM.
57096         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57097         "bp-asm.h".
57098         (PARMS): Do not use macros from bp-asm.h.
57099         (S1): Likewise.
57100         (S2): Likewise.
57101         (SIZE): Likewise.
57102         (__mpn_add_n): Do not use BP_SYM.
57103         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57104         "bp-asm.h".
57105         (PARMS): Do not use macros from bp-asm.h.
57106         (S1): Likewise.
57107         (SIZE): Likewise.
57108         (__mpn_addmul_1): Do not use BP_SYM.
57109         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57110         weak_alias.
57111         (bzero): Likewise.
57112         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57113         "bp-asm.h".
57114         (PARMS): Do not use macros from bp-asm.h.
57115         (S): Likewise.
57116         (SIZE): Likewise.
57117         (__mpn_lshift): Do not use BP_SYM.
57118         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57119         "bp-asm.h".
57120         (PARMS): Do not use macros from bp-asm.h.
57121         (DEST): Likewise.
57122         (SRC): Likewise.
57123         (LEN): Likewise.
57124         (memcpy): Likewise.  Do not use BP_SYM.
57125         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57126         libc_hidden_def and weak_alias.
57127         (mempcpy): Do not use BP_SYM in weak_alias.
57128         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57129         "bp-asm.h".
57130         (PARMS): Do not use macros from bp-asm.h.
57131         (DEST): Likewise.
57132         (LEN): Likewise.
57133         [!BZERO_P] (CHR): Likewise.
57134         (memset): Likewise.  Do not use BP_SYM.
57135         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57136         "bp-asm.h".
57137         (PARMS): Do not use macros from bp-asm.h.
57138         (S1): Likewise.
57139         (SIZE): Likewise.
57140         (__mpn_mul_1): Do not use BP_SYM.
57141         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57142         "bp-asm.h".
57143         (PARMS): Do not use macros from bp-asm.h.
57144         (S): Likewise.
57145         (SIZE): Likewise.
57146         (__mpn_rshift): Do not use BP_SYM.
57147         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57148         "bp-asm.h".
57149         (PARMS): Do not use macros from bp-asm.h.
57150         (STR): Likewise.
57151         (CHR): Likewise.
57152         (strchr): Likewise.  Do not use BP_SYM.
57153         (index): Do not use BP_SYM in weak_alias.
57154         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57155         "bp-asm.h".
57156         (PARMS): Do not use macros from bp-asm.h.
57157         (DEST): Likewise.
57158         (SRC): Likewise.
57159         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57160         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57161         "bp-asm.h".
57162         (PARMS): Do not use macros from bp-asm.h.
57163         (strlen): Do not use BP_SYM.
57164         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57165         "bp-asm.h".
57166         (PARMS): Do not use macros from bp-asm.h.
57167         (S1): Likewise.
57168         (S2): Likewise.
57169         (SIZE): Likewise.
57170         (__mpn_sub_n): Do not use BP_SYM.
57171         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57172         "bp-asm.h".
57173         (PARMS): Do not use macros from bp-asm.h.
57174         (S1): Likewise.
57175         (SIZE): Likewise.
57176         (__mpn_submul_1): Do not use BP_SYM.
57177         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57178         "bp-asm.h".
57179         (PARMS): Do not use macros from bp-asm.h.
57180         (S1): Likewise.
57181         (S2): Likewise.
57182         (SIZE): Likewise.
57183         (__mpn_add_n): Do not use BP_SYM.
57184         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57185         weak_alias.
57186         (bzero): Likewise.
57187         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57188         "bp-asm.h".
57189         (PARMS): Do not use macros from bp-asm.h.
57190         (BLK2): Likewise.
57191         (LEN): Likewise.
57192         (memcmp): Do not use BP_SYM.
57193         (bcmp): Do not use BP_SYM in weak_alias.
57194         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57195         "bp-asm.h".
57196         (PARMS): Do not use macros from bp-asm.h.
57197         (DEST): Likewise.
57198         (SRC): Likewise.
57199         (LEN): Likewise.
57200         (memcpy): Likewise.  Do not use BP_SYM.
57201         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57202         "bp-asm.h".
57203         (PARMS): Do not use macros from bp-asm.h.
57204         (DEST): Likewise.
57205         (SRC): Likewise.
57206         (LEN): Likewise.
57207         (memmove): Likewise.  Do not use BP_SYM.
57208         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57209         "bp-asm.h".
57210         (PARMS): Do not use macros from bp-asm.h.
57211         (DEST): Likewise.
57212         (SRC): Likewise.
57213         (LEN): Likewise.
57214         (__mempcpy): Likewise.  Do not use BP_SYM.
57215         (mempcpy): Do not use BP_SYM in weak_alias.
57216         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57217         "bp-asm.h".
57218         (PARMS): Do not use macros from bp-asm.h.
57219         (DEST): Likewise.
57220         (LEN): Likewise.
57221         [!BZERO_P] (CHR): Likewise.
57222         (memset): Likewise.  Do not use BP_SYM.
57223         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57224         "bp-asm.h".
57225         (PARMS): Do not use macros from bp-asm.h.
57226         (STR2): Likewise.
57227         (strcmp): Do not use BP_SYM.
57228         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57229         "bp-asm.h".
57230         (PARMS): Do not use macros from bp-asm.h.
57231         (STR): Likewise.
57232         (DELIM): Likewise.
57233         [USE_AS_STRTOK_R] (SAVE): Likewise.
57234         (FUNCTION): Likewise.  Do not use BP_SYM.
57235         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57236         aliases.
57237         (strtok_r): Likewise.
57238         (__GI___strtok_r): Likewise.
57239         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57240         (PARMS): Do not use macros from bp-asm.h.
57241         (S): Likewise.
57242         (SIZE): Likewise.
57243         (__mpn_lshift): Do not use BP_SYM.
57244         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57245         (PARMS): Do not use macros from bp-asm.h.
57246         (STR): Likewise.
57247         (CHR): Likewise.
57248         (__memchr): Do not use BP_SYM.
57249         (memchr): Do not use BP_SYM in weak_alias.
57250         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57251         (PARMS): Do not use macros from bp-asm.h.
57252         (BLK2): Likewise.
57253         (LEN): Likewise.
57254         (memcmp): Do not use BP_SYM.
57255         (bcmp): Do not use BP_SYM in weak_alias.
57256         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57257         (PARMS): Do not use macros from bp-asm.h.
57258         (S1): Likewise.
57259         (SIZE): Likewise.
57260         (__mpn_mul_1): Do not use BP_SYM.
57261         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57262         "bp-asm.h".
57263         (PARMS): Do not use macros from bp-asm.h.
57264         (STR): Likewise.
57265         (CHR): Likewise.
57266         (__rawmemchr): Do not use BP_SYM.
57267         (rawmemchr): Do not use BP_SYM in weak_alias.
57268         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57269         (PARMS): Do not use macros from bp-asm.h.
57270         (S): Likewise.
57271         (SIZE): Likewise.
57272         (__mpn_rshift): Do not use BP_SYM.
57273         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57274         (PARMS): Do not use macros from bp-asm.h.
57275         (SIGMSK): Likewise.
57276         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57277         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57278         (_start): Do not use BP_SYM.
57279         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57280         (PARMS): Do not use macros from bp-asm.h.
57281         (DEST): Likewise.
57282         (SRC): Likewise.
57283         (__stpcpy): Likewise.  Do not use BP_SYM.
57284         (stpcpy): Do not use BP_SYM in weak_alias.
57285         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57286         "bp-asm.h".
57287         (PARMS): Do not use macros from bp-asm.h.
57288         (DEST): Likewise.
57289         (SRC): Likewise.
57290         (LEN): Likewise.
57291         (__stpncpy): Likewise.  Do not use BP_SYM.
57292         (stpncpy): Do not use BP_SYM in weak_alias.
57293         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57294         (PARMS): Do not use macros from bp-asm.h.
57295         (STR): Likewise.
57296         (CHR): Likewise.
57297         (strchr): Likewise.  Do not use BP_SYM.
57298         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57299         "bp-asm.h".
57300         (PARMS): Do not use macros from bp-asm.h.
57301         (STR): Likewise.
57302         (CHR): Likewise.
57303         (__strchrnul): Likewise.  Do not use BP_SYM.
57304         (strchrnul): Do not use BP_SYM in weak_alias.
57305         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57306         "bp-asm.h".
57307         (PARMS): Do not use macros from bp-asm.h.
57308         (STOP): Likewise.
57309         (strcspn): Do not use BP_SYM.
57310         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57311         "bp-asm.h".
57312         (PARMS): Do not use macros from bp-asm.h.
57313         (STR): Likewise.
57314         (STOP): Likewise.
57315         (strpbrk): Likewise.  Do not use BP_SYM.
57316         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57317         "bp-asm.h".
57318         (PARMS): Do not use macros from bp-asm.h.
57319         (STR): Likewise.
57320         (CHR): Likewise.
57321         (strrchr): Likewise.  Do not use BP_SYM.
57322         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57323         (PARMS): Do not use macros from bp-asm.h.
57324         (SKIP): Likewise.
57325         (strspn): Do not use BP_SYM.
57326         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57327         (PARMS): Do not use macros from bp-asm.h.
57328         (STR): Likewise.
57329         (DELIM): Likewise.
57330         (SAVE): Likewise.
57331         (FUNCTION): Likewise.  Do not use BP_SYM.
57332         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57333         aliases.
57334         (strtok_r): Likewise.
57335         (__GI___strtok_r): Likewise.
57336         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57337         (PARMS): Do not use macros from bp-asm.h.
57338         (S1): Likewise.
57339         (S2): Likewise.
57340         (SIZE): Likewise.
57341         (__mpn_sub_n): Do not use BP_SYM.
57342         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57343         "bp-asm.h".
57344         (PARMS): Do not use macros from bp-asm.h.
57345         (S1): Likewise.
57346         (SIZE): Likewise.
57347         (__mpn_submul_1): Do not use BP_SYM.
57348         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57349         <bp-sym.h>.
57350         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57351         and <bp-asm.h>.
57352         (PARMS): Do not use macros from bp-asm.h.
57353         (FLAGS): Likewise.
57354         (PTID): Likewise.
57355         (TLS): Likewise.
57356         (CTID): Likewise.
57357         (__clone): Do not use BP_SYM.
57358         (clone): Do not use BP_SYM in weak_alias.
57359         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57360         and <bp-asm.h>.
57361         (PARMS): Do not use macros from bp-asm.h.
57362         (LEN): Likewise.
57363         (__mmap64): Do not use BP_SYM.
57364         (mmap64): Do not use BP_SYM in weak_alias.
57365         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57366         <bp-sym.h> and <bp-asm.h>.
57367         (PARMS): Do not use macros from bp-asm.h.
57368         (__posix_fadvise64_l64): Do not use BP_SYM.
57369         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57370         (PARMS): Do not use macros from bp-asm.h.
57371         (NSOPS): Likewise.
57372         (semtimedop): Do not use BP_SYM.
57373         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57374         and <bp-asm.h>.
57376 2013-02-21  Allan McRae  <allan@archlinux.org>
57378         * manual/message.texi (Charset conversion in gettext):
57379         Move @end statement to beginning of line.
57381 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57384         static.
57385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57386         Likewise.
57388         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57389         (denorm): Likewise.
57390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57393 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57395         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57396         tail-call to the resolved function if pltexit isn't needed.
57398 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57401         or Y being zero as being unlikely.
57402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57403         Likewise.
57405 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57407         * manual/nss.texi (System Databases and Name Service Switch):
57408         Remove frobnicate @pxref.
57410 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57412         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57413         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57415 2013-02-20  Petr Machata  <pmachata@redhat.com>
57417         * elf/elf.h (R_ARM_TARGET1): New macro.
57418         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57419         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57420         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57421         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57422         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57423         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57424         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57425         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57426         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57427         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57428         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57429         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57430         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57431         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57432         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57433         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57434         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57435         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57436         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57437         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57438         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57439         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57440         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57441         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57442         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57443         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57444         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57445         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57446         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57447         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57448         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57449         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57450         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57451         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57452         (R_ARM_THM_GOT_BREL12): Likewise.
57453         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57454         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57455         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57456         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57457         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57458         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57459         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57460         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57461         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57463 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57465         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57466         __attribute_used__ to __attribute__ ((unused)).
57468 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57470         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57471         powerpc mpa.c.
57472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57473         comment formatting.
57474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57476 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57478         [BZ #13550]
57479         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57480         Remove macro.
57481         (ENTER): Remove both macro definitions.
57482         (LEAVE): Likewise.
57483         (CHECK_BOUNDS_LOW): Likewise.
57484         (CHECK_BOUNDS_HIGH): Likewise.
57485         (CHECK_BOUNDS_BOTH): Likewise.
57486         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57487         (RETURN_BOUNDED_POINTER): Likewise.
57488         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57489         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57490         (POP_ERRNO_LOCATION_RETURN): Likewise.
57491         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57492         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57493         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57494         macros.
57495         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57496         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57497         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57498         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57499         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57500         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57501         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57502         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57503         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57504         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57505         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57506         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57507         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57508         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57509         removed macros.
57510         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57511         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57512         macros.
57513         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57514         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57515         * sysdeps/i386/i586/memset.S (memset): Likewise.
57516         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57517         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57518         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57519         macros.
57520         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57521         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57522         Change uses of L(2) to L(out).
57523         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57524         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57525         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57526         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57527         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57528         removed macros.
57529         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57530         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57531         macros.
57532         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57533         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57534         (RETURN): Do not use macro LEAVE.
57535         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57536         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57537         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57538         * sysdeps/i386/i686/memset.S (memset): Likewise.
57539         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57540         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57541         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57542         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57543         Likewise.
57544         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57545         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57546         L(1_2) and L(1_3) into L(1).
57547         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57548         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57549         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57550         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57551         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57552         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57553         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57554         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57555         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57556         macros.
57557         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57558         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57559         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57560         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57561         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57562         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57563         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57564         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57565         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57566         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57567         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57568         * sysdeps/i386/strspn.S (strspn): Likewise.
57569         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57570         conditional code.
57571         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57572         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57573         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57574         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57575         L(1_3) into L(1_1).
57576         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57577         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57578         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57579         macros.
57580         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57582 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57584         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57585         macro.
57587 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57589         * math/atest-exp.c (exp_mpn): Remove ROUND.
57590         * math/atest-exp2.c (exp_mpn): Likewise.
57591         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57593         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57594         * stdlib/tst-tls-atexit-lib.c: Likewise.
57595         * stdlib/tst-tls-atexit.c: Likewise.
57597 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57599         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57600         and __attribute_alloc_size__.
57602 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57604         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57605         __attribute_alloc_size__.
57606         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57607         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57609 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57611         * include/programs/xmalloc.h: New file.
57612         * catgets/gencat.c: Include it.
57613         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57614         * elf/pldd.c: Likewise.
57615         * iconv/iconv_charmap.c: Likewise.
57616         * iconv/iconvconfig.c: Likewise.
57617         * iconv/strtab.c: Likewise.
57618         * locale/programs/locale.c: Likewise.
57619         * locale/programs/localedef.h: Likewise.
57620         * locale/programs/simple-hash.c: Likewise.
57621         * nscd/nscd.h: Likewise.
57622         * nss/makedb.c: Likewise.
57623         * sysdeps/generic/ldconfig.h: Likewise.
57625 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57627         * Versions.def: Add GLIBC_2.18.
57628         * include/link.h (struct link_map): New member l_tls_dtor_count.
57629         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57630         (__call_tls_dtors): Likewise.
57631         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57632         __cxa_thread_atexit_impl.
57633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57634         Likewise.
57635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57636         Likewise.
57637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57638         Likewise.
57639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57640         Likewise.
57641         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57643         Likewise.
57644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57645         Likewise.
57646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57648         Likewise.
57649         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57650         (tests): Add test case tst-tls-atexit.
57651         (modules-names): Add shared library for tst-tls-atexit.
57652         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57653         (GLIBC_PRIVATE): Add __call_tls_dtors.
57654         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57655         for libstdc++.
57656         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57657         * stdlib/tst-tls-atexit.c: New test case.
57658         * stdlib/tst-tls-atexit-lib.c: New test case.
57660         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57662         * elf/Versions (ld): Add _dl_find_dso_for_object.
57663         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57664         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57665         (dl_open_worker): Use _dl_find_dso_for_object.
57666         * elf/dl-sym.c (do_sym): Likewise.
57667         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57669 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57671         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57672         Syntactic changes only.
57673         (_dl_runtime_profile): Do a tail-call to the resolved function.
57675 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57677         [BZ #13550]
57678         * sysdeps/x86_64/bp-asm.h: Remove file.
57679         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57680         <bp-sym.h> and <bp-asm.h>.
57681         (__clone): Do not use BP_SYM.
57682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57683         <bp-sym.h> and <bp-asm.h>.
57684         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57685         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57686         "bp-asm.h".
57687         (_setjmp): Do not use BP_SYM.
57688         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57689         "bp-asm.h".
57690         (setjmp): Do not use BP_SYM.
57691         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57692         libc_hidden_def.
57693         (mempcpy): Do not use BP_SYM in weak_alias.
57694         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57695         "bp-asm.h".
57696         (strchr): Do not use BP_SYM.
57697         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57698         "bp-asm.h".
57699         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57700         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57701         (_start): Do not use BP_SYM.
57702         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57703         "bp-asm.h".
57704         (strcat): Do not use BP_SYM.
57705         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57706         "bp-asm.h".
57707         (STRCMP): Do not use BP_SYM.
57708         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57709         "bp-asm.h".
57710         (STRCPY): Do not use BP_SYM.
57711         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57712         "bp-asm.h".
57713         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57714         "bp-asm.h".
57715         (FUNCTION): Do not use BP_SYM.
57716         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57717         weak_alias.
57718         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57720 2013-02-17  Andreas Jaeger  <aj@suse.de>
57722         * time/Versions: Sort entries.
57723         * string/Versions: Likewise.
57724         * resolv/Versions: Likewise.
57725         * posix/Versions: Likewise.
57726         * iconv/Versions: Likewise.
57727         * elf/Versions: Likewise.
57728         * wcsmbs/Versions: Likewise.
57730 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57732         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57733         loop termination condition.
57735         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57736         variable to calculate EZ.
57737         (__sqr): Likewise.
57739         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57740         the lower precision input.
57742 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57744         [BZ #13550]
57745         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57746         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57747         (run-via-rtld-prefix): Do not handle %-bp tests.
57748         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57749         (all-object-suffixes): Remove .ob.
57750         (bppfx): Remove variable.
57751         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57752         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57753         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57754         [$(build-bounded) = yes] (libtype.ob): Likewise.
57755         * Makerules (elide-routines.ob): Remove variable.
57756         (do-tests-clean): Do not handle *-bp.out.
57757         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57758         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57759         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57760         (tests): Do not include $(tests-bp.out).
57761         (xtests): Do not include $(xtests-bp.out).
57762         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57763         [$(build-bounded) = yes] ($(addprefix
57764         $(objpfx),$(binaries-bounded))): Remove rule.
57765         ($(objpfx)%-bp.out): Remove rule.
57766         * config.make.in (build-bounded): Remove variable.
57767         * crypt/Makefile [$(build-bounded) = yes]
57768         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57769         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57770         append to variable.
57771         [$(build-bounded) = yes] (install-lib): Likewise.
57772         [$(build-bounded) = yes] (generated): Likewise.
57773         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57774         Remove rule.
57775         * intl/Makefile [$(build-bounded) = yes]
57776         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57777         * math/Makefile [$(build-bounded) = yes]
57778         ($(tests:%=$(objpfx)%-bp): Likewise.
57779         * misc/Makefile [$(build-bounded) = yes]
57780         ($(objpfx)tst-tsearch-bp): Likewise.
57781         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57782         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57783         Remove dependency.
57784         * string/Makefile (o-objects.ob): Remove variable.
57785         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57786         (CFLAGS-.ob): Remove variable.
57787         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57788         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57789         both definitions of variable.
57790         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57791         (ASFLAGS-.ob): Remove variable.
57793 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
57795         [BZ #13550]
57796         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57797         Remove __BOUNDED_POINTERS__ from condition.
57798         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
57799         * string/bits/string2.h [!__NO_STRING_INLINES &&
57800         !__BOUNDED_POINTERS__]: Likewise.
57801         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
57802         Likewise.
57803         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
57804         Remove conditional code.
57805         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
57806         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
57807         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
57808         condition.
57810         [BZ #13550]
57811         * csu/libc-start.c: Do not include <bp-sym.h>.
57812         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
57813         * elf/dl-open.c: Do not include <bp-sym.h>.
57814         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
57815         * math/fegetenv.c: Do not include <bp-sym.h>.
57816         (fegetenv): Do not use BP_SYM in versioned symbols.
57817         * nptl/sysdeps/pthread/bits/libc-lockP.h
57818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
57819         <bp-sym.h>.
57820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57821         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
57822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57823         (__pthread_mutex_destroy): Likewise.
57824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57825         (__pthread_mutex_lock): Likewise.
57826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57827         (__pthread_mutex_trylock): Likewise.
57828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57829         (__pthread_mutex_unlock): Likewise.
57830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57831         (__pthread_mutexattr_init): Likewise.
57832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57833         (__pthread_mutexattr_destroy): Likewise.
57834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57835         (__pthread_mutexattr_settype): Likewise.
57836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57837         (__pthread_rwlock_init): Likewise.
57838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57839         (__pthread_rwlock_destroy): Likewise.
57840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57841         (__pthread_rwlock_rdlock): Likewise.
57842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57843         (__pthread_rwlock_tryrdlock): Likewise.
57844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57845         (__pthread_rwlock_wrlock): Likewise.
57846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57847         (__pthread_rwlock_trywrlock): Likewise.
57848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57849         (__pthread_rwlock_unlock): Likewise.
57850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57851         (__pthread_key_create): Likewise.
57852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57853         (__pthread_setspecific): Likewise.
57854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57855         (__pthread_getspecific): Likewise.
57856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
57857         Likewise.
57858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57859         (_pthread_cleanup_push_defer): Likewise.
57860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57861         (_pthread_cleanup_pop_restore): Likewise.
57862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57863         (pthread_setcancelstate): Likewise.
57864         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
57865         <bp-sym.h>.
57866         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
57867         (memchr): Do not use BP_SYM in weak_alias.
57868         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
57869         (fegetenv): Do not use BP_SYM in versioned symbols.
57870         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
57871         (fesetenv): Do not use BP_SYM in versioned symbols.
57872         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57873         (feupdateenv): Do not use BP_SYM in versioned symbols.
57874         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57875         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57876         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
57877         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
57878         (open64): Do not use BP_SYM in weak_alias.
57879         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
57880         (fegetenv): Do not use BP_SYM in versioned symbols.
57881         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
57882         (fesetenv): Do not use BP_SYM in versioned symbols.
57883         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57884         (feupdateenv): Do not use BP_SYM in versioned symbols.
57885         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
57886         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
57887         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
57888         (feraiseexcept): Do not use BP_SYM in versioned symbols.
57889         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57890         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57891         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
57892         <bp-sym.h>.
57893         (__libc_start_main): Do not use BP_SYM.
57895 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
57898         redundant return line.
57899         (norm): Likewise.
57900         (denorm): Likewise.
57901         (dbl_mp): Likewise.
57902         (sub_magnitudes): Likewise.
57903         (__add): Likewise.
57904         (__sub): Likewise.
57905         (__mul): Likewise.
57906         (__inv): Likewise.
57907         (__dvd): Likewise.
57908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
57909         (norm): Likewise.
57910         (denorm): Likewise.
57911         (dbl_mp): Likewise.
57912         (sub_magnitudes): Likewise.
57913         (__add): Likewise.
57914         (__sub): Likewise.
57915         (__mul): Likewise.
57916         (__inv): Likewise.
57917         (__dvd): Likewise.
57919         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
57920         instead of __mul.
57921         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57922         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
57923         (cc32): Likewise.
57925         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
57926         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
57927         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
57928         of __mul for squares.
57929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
57930         function
57931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
57932         Likewise.
57933         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
57934         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57936 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
57938         [BZ #13550]
57939         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
57940         code.
57941         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
57942         prototype or function definition.  Rename ubp_* variables and
57943         parameters.  Remove argv definitions conditional on
57944         [__BOUNDED_POINTERS__].
57945         * debug/backtrace.c (__backtrace): Do not use __unbounded.
57946         * elf/dl-runtime.c (_dl_fixup): Likewise.
57947         * include/set-hooks.h (RUN_HOOK): Likewise.
57948         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
57949         definition.
57950         * string/strcpy.c (strcpy): Do not use __unbounded.
57951         * sysdeps/generic/frame.h (struct layout): Likewise.
57952         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
57953         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
57954         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
57955         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
57956         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
57957         (__backtrace): Likewise.
57958         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
57959         use __ptrvalue.
57960         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
57961         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57962         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
57963         Likewise.
57964         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
57965         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
57966         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57967         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57968         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
57969         Do not use __unbounded.
57970         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
57971         Rename __unboundedrlimits parameter to rlimits in prototype.
57972         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
57973         Do not use __unbounded.
57974         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
57975         not use __ptrvalue.
57976         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57977         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57978         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57979         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57980         __ptrvalue or __unbounded.
57981         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57982         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57983         use __unbounded.
57984         (__new_msgctl): Do not use __ptrvalue.
57985         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57986         __unbounded.
57987         (__libc_msgrcv): Do not use __ptrvalue.
57988         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57989         startup_info): Do not use __unbounded.
57990         (__libc_start_main): Likewise.  Rename ubp_* variables and
57991         parameters.  Remove argv definitions conditional on
57992         [__BOUNDED_POINTERS__].
57993         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57994         __ptrvalue.
57995         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57996         use __unbounded.
57997         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57998         or __ptrvalue.
57999         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58000         use __unbounded.
58001         (__new_shmctl): Do not use __ptrvalue.
58002         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58003         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58004         Likewise.
58005         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58006         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58007         (__libc_sigaction): Likewise.
58008         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58009         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58010         Likewise.
58011         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58013 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58015         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58017         * string/mempcpy.c: Implement by calling memcpy.
58019 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58021         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58023         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58024         evaluation.
58026         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58027         values in the mantissa.
58029         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58030         minimize writes to Z.
58031         (sub_magnitudes): Simplify code a bit.
58033 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58035         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58036         from the message.  The linker prefixes all warnings with that already.
58038 2013-02-12  Andreas Schwab  <schwab@suse.de>
58040         [BZ #15078]
58041         * posix/regexec.c (extend_buffers): Add parameter min_len.
58042         (check_matching): Pass minimum needed length.
58043         (clean_state_log_if_needed): Likewise.
58044         (get_subexp): Likewise.
58045         * posix/Makefile (tests): Add bug-regex34.
58046         (bug-regex34-ENV): Define.
58047         * posix/bug-regex34.c: New file.
58049         [BZ #11561]
58050         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58051         elements compare against the byte sequence of it, not its name.
58052         * posix/Makefile (tests): Add bug-regex35.
58053         (bug-regex35-ENV): Define.
58054         * posix/bug-regex35.c: New file.
58056 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58058         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58059         comment.
58060         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58061         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58062         (CHECK_EOL): Add undef.
58064 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58066         * bits/stdlib-bsearch.h: New file.
58067         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58068         * stdlib/stdlib.h: Likewise.
58070 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58072         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58073         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58074         declaration.
58075         * manual/search.texi (Array Search Function): Add missing const in
58076         lfind prototype.
58077         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58078         declaration to use rlim_t.
58079         (Basic Scheduling Functions): Remove erroneous const from
58080         sched_getparam prototype.  Remove erroneous * from
58081         sched_get_priority_max and sched_get_priority_min prototypes.
58082         (Resource Usage): Fix summary @comment on vtimes to refer to
58083         sys/vtimes.h rather than vtimes.h.
58084         Add missing *s in vtimes prototype.
58085         (Limits on Resources): Fix ulimit prototype to return long int.
58086         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58087         prototypes to use long int rather than double.
58088         (BSD Random): Fix initstate and setstate to use char *, not void *.
58089         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58090         prototype to make second argument 'struct aiocb64 *const[]'.
58091         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58092         (Status of AIO Operations): Remove erroneous const in aio_return and
58093         aio_return64 prototypes.
58094         (Synchronizing I/O): Fix sync prototype to return void.
58095         * manual/startup.texi (Suboptions): Remove an erroneous const in
58096         getsubopt prototype.
58097         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58098         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58099         use size_t rather than int.
58100         (Scanning All Users): Likewise for getpwent_r.
58101         (Setting Groups): Add missing const to setgroups prototype.
58102         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58103         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58104         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58105         'const void *' rather than 'const char *'.
58106         (Host Address Functions): Likewise for inet_ntop.
58107         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58108         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58109         ssize_t for return value.
58110         (Sending Data): Likewise for send, sendto, sendmsg.
58111         (Socket Option Functions): Add a missing const in setsockopt prototype.
58112         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58113         use wchar_t for the argument.
58114         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58115         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58116         take no arguments.
58117         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58118         double/float/long double for second argument.
58119         Fix return types of significand, significandf, significandl.
58120         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58121         argument in fchmod prototype.
58122         (File Owner): Use uid_t and gid_t in fchown prototype.
58123         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58124         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58125         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58126         use 'const struct dirent **' as argument types to CMP function pointer
58127         argument.
58128         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58129         (File Times): Fix summary magic @comment for struct utimbuf and utime
58130         to refer to utime.h, not time.h.
58131         * manual/string.texi (Argz Functions): Add missing const in
58132         argz_extract and argz_next prototypes.
58133         (Finding Tokens in a String): Likewise for basename.
58134         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58135         (Copying and Concatenation): Fix typo in wmemmove prototype.
58136         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58137         (Signal Stack): Remove erroneous const in sigstack prototype.
58138         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58139         prototype.
58140         (Simple Calendar Time): Likewise for stime.
58141         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58142         prototype.
58143         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58144         say sys/sysctl.h instead.
58145         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58146         and vsyslog prototypes.
58148 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58150         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58151         Remove.
58153 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58155         * misc/sys/mman.h: Fix typo in mremap comment.
58157 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58159         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58160         the '\0' terminator.
58162 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58164         [BZ #13550]
58165         * debug/segfault.c: Don't include <bp-checks.h>.
58166         * sysdeps/generic/bp-checks.h: Remove file.
58167         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58168         (__GETDENTS): Don't use CHECK_N.
58169         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58170         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58171         (__getgroups): Don't use CHECK_N.
58172         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58173         (setgroups): Don't use CHECK_N.
58174         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58175         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58176         (__libc_msgrcv): Don't use CHECK_N.
58177         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58178         (__libc_msgsnd): Don't use CHECK_N.
58179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58180         <bp-checks.h>.
58181         (__libc_pread): Don't use CHECK_N.
58182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58183         include <bp-checks.h>.
58184         (__libc_pread64): Don't use CHECK_N.
58185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58186         include <bp-checks.h>.
58187         (__libc_pwrite): Don't use CHECK_N.
58188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58189         include <bp-checks.h>.
58190         (__libc_pwrite64): Don't use CHECK_N.
58191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58192         <bp-checks.h>.
58193         (__libc_pread): Don't use CHECK_N.
58194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58195         include <bp-checks.h>.
58196         (__libc_pread64): Don't use CHECK_N.
58197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58198         include <bp-checks.h>.
58199         (__libc_pwrite): Don't use CHECK_N.
58200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58201         include <bp-checks.h>.
58202         (__libc_pwrite64): Don't use CHECK_N.
58203         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58204         (do_pread): Don't use CHECK_N.
58205         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58206         (do_pread64): Don't use CHECK_N.
58207         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58208         (do_pwrite): Don't use CHECK_N.
58209         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58210         (do_pwrite64): Don't use CHECK_N.
58211         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58212         (__libc_readv): Don't use CHECK_N.
58213         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58214         (semop): Don't use CHECK_N.
58215         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58216         <bp-checks.h>.
58217         (semtimedop): Don't use CHECK_N.
58218         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58219         (__libc_pread): Don't use CHECK_N.
58220         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58221         <bp-checks.h>.
58222         (__libc_pread64): Don't use CHECK_N.
58223         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58224         <bp-checks.h>.
58225         (__libc_pwrite): Don't use CHECK_N.
58226         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58227         <bp-checks.h>.
58228         (__libc_pwrite64): Don't use CHECK_N.
58229         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58230         <bp-checks.h>.
58231         (__libc_msgrcv): Don't use CHECK_N.
58232         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58233         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58234         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58235         (__libc_writev): Don't use CHECK_N.
58237 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58239         * string/strcpy.c: Removed unused variable.
58241         * Makeconfig (+sysdep-includes): Define with := rather than =.
58242         Use an existing include/ subdir of each sysdeps dir before it.
58244 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58246         * nscd/connection.c (register_traced_file): Comment function.
58247         [HAVE_INOTIFY] (union __inev): Define.
58248         [HAVE_INOTIFY] (inotify_check_files): New function.
58249         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58250         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58251         clear_db_cache.
58252         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58254 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58256         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58257         loaded if not already and that a failure is permanent.
58259 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58261         [BZ #15006]
58262         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58263         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58265 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58267         [BZ #13550]
58268         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58269         (CHECK_1_NULL_OK): Likewise.
58270         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58271         (__fxstat): Do not use CHECK_1.
58272         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58273         <bp-checks.h>.
58274         (___fxstat64): Do not use CHECK_1.
58275         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58276         <bp-checks.h>.
58277         (__fxstatat): Do not use CHECK_1.
58278         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58279         <bp-checks.h>.
58280         (__fxstatat64): Do not use CHECK_1.
58281         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58282         <bp-checks.h>.
58283         (__fxstat): Do not use CHECK_1.
58284         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58285         <bp-checks.h>.
58286         (__fxstatat): Do not use CHECK_1.
58287         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58288         <bp-checks.h>.
58289         (__getresgid): Do not use CHECK_1.
58290         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58291         <bp-checks.h>.
58292         (__getresuid): Do not use CHECK_1.
58293         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58294         <bp-checks.h>.
58295         (__lxstat): Do not use CHECK_1.
58296         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58297         <bp-checks.h>.
58298         (__old_msgctl): Do not use CHECK_1.
58299         (__new_msgctl): Likewise.
58300         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58301         <bp-checks.h>.
58302         (__new_setrlimit): Do not use CHECK_1.
58303         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58304         <bp-checks.h>.
58305         (__old_shmctl): Do not use CHECK_1.
58306         (__new_shmctl): Likewise.
58307         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58308         <bp-checks.h>.
58309         (__xstat): Do not use CHECK_1.
58310         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58311         (__lxstat): Do not use CHECK_1.
58312         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58313         <bp-checks.h>.
58314         (___lxstat64): Do not use CHECK_1.
58315         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58316         (__old_msgctl): Do not use CHECK_1.
58317         (__new_msgctl): Likewise.
58318         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58319         <bp-checks.h>.
58320         (__gettimeofday): Do not use CHECK_1.
58321         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58322         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58323         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58324         <bp-checks.h>.
58325         (__gettimeofday): Do not use CHECK_1.
58326         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58327         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58328         (__new_shmctl): Do not use CHECK_1.
58329         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58330         <bp-checks.h>.
58331         (do_sigtimedwait): Do not use CHECK_1.
58332         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58333         <bp-checks.h>.
58334         (do_sigwaitinfo): Do not use CHECK_1.
58335         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58336         <bp-checks.h>.
58337         (msgctl): Do not use CHECK_1.
58338         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58339         <bp-checks.h>.
58340         (shmctl): Do not use CHECK_1.
58341         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58342         (ustat): Do not use CHECK_1.
58343         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58344         <bp-checks.h>.
58345         (__fxstat): Do not use CHECK_1.
58346         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58347         <bp-checks.h>.
58348         (__fxstatat): Do not use CHECK_1.
58349         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58350         <bp-checks.h>.
58351         (__lxstat): Do not use CHECK_1.
58352         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58353         <bp-checks.h>.
58354         (__xstat): Do not use CHECK_1.
58355         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58356         (__xstat): Do not use CHECK_1.
58357         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58358         (___xstat64): Do not use CHECK_1.
58360         [BZ #13550]
58361         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58362         definitions.
58363         (CHECK_BOUNDS_HIGH): Likewise.
58364         * string/strcpy.c: Do not include <bp-checks.h>.
58365         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58367 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58369         * nscd/nscd-client.h (__nscd_drop_map_ref):
58370         Add __attribute__ ((unused)).
58371         * nis/nss-nisplus.h (niserr2nss): Likewise.
58373         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58374         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58376         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58377         Remove inline keyword.
58378         * include/rounding-mode.h (round_away): Likewise.
58379         * libio/wfileops.c (adjust_wide_data): Likewise.
58380         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58381         (__m128i_strloadu_tolower): Likewise.
58382         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58383         (__m128i_strloadu_tolower): Likewise.
58384         * time/mktime.c (ydhms_diff): Likewise.
58385         * locale/elem-hash.h (elem_hash): Likewise.
58386         * locale/setlocale.c (setdata): Likewise.
58387         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58388         (re_string_wchar_at): Likewise.
58389         (bitset_not, bitset_merge, bitset_mask): Likewise.
58390         [!(__GNUC__ > 3)] (inline): Remove macro.
58391         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58392         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58393         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58394         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58395         * string/memcmp.c (memcmp_bytes): Likewise.
58396         * locale/programs/locarchive.c (compute_hashval): Likewise.
58397         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58398         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58399         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58400         * nss/getent.c (print_rpc, print_protocols): Likewise.
58401         (print_passwd, print_group, print_aliases): Likewise.
58402         * nis/nss-nisplus.h (niserr2nss): Likewise.
58403         * nscd/connections.c (restart_p): Likewise.
58404         Change return type to bool.
58406 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58408         * Makeconfig (all-Depend-files): Add existing
58409         $(sorted-subdirs:=/Depend) files.
58410         (all-subdirs): Remove nss.
58411         * sysdeps/unix/inet/Subdirs: Add it here instead.
58412         * hesiod/Depend: New file.
58414         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58415         instead of calling alloca.
58417         * io/lseek.c (__lseek): Rename to __libc_lseek.
58418         Define __lseek as an alias.
58420         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58422 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58424         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58425         else clause and remove check for non-standard endianness.
58427 2013-02-04  David S. Miller  <davem@davemloft.net>
58429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58431 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58433         [BZ #13550]
58434         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58435         (__ubp_memchr): Remove prototype.
58436         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58437         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58438         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58439         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58440         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58441         Remove alias.
58442         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58443         (__ubp_memchr): Likewise.
58444         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58445         (__ubp_memchr): Likewise.
58446         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58447         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58448         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58449         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58450         CHECK_STRING.
58451         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58452         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58453         (__getcwd): Do not use CHECK_STRING.
58454         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58455         <bp-checks.h>.
58456         (__real_chown): Do not use CHECK_STRING.
58457         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58458         <bp-checks.h>.
58459         (fchownat): Do not use CHECK_STRING.
58460         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58461         CHECK_STRING.
58462         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58463         <bp-checks.h>.
58464         (__lchown): Do not use CHECK_STRING.
58465         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58466         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58467         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58468         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58470         include <bp-checks.h>.
58471         (truncate64): Do not use CHECK_STRING.
58472         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58473         <bp-checks.h>.
58474         (__real_chown): Do not use CHECK_STRING.
58475         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58476         <bp-checks.h>.
58477         (__lchown): Do not use CHECK_STRING.
58478         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58479         <bp-checks.h>.
58480         (__chown): Do not use CHECK_STRING.
58481         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58482         <bp-checks.h>.
58483         (truncate64): Do not use CHECK_STRING.
58484         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58485         Likewise.
58486         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58487         (__xmknod): Do not use CHECK_STRING.
58488         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58489         <bp-checks.h>.
58490         (__xmknodat): Do not use CHECK_STRING.
58491         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58492         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58494 2013-02-04  Andreas Schwab  <schwab@suse.de>
58496         [BZ #14142]
58497         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58498         * include/netdb.h: Likewise for h_errno.
58499         * elf/tst-stackguard1.c: Include <tls.h>.
58501 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58503         * elf/link.h (struct link_map): Extend the l_addr comment.
58504         * include/link.h (struct link_map): Likewise.
58506 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58508         [BZ #13550]
58509         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58510         (BOUNDED_1): Remove macro.
58511         * debug/backtrace.c: Don't include <bp-checks.h>.
58512         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58513         (__backtrace): Likewise.
58514         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58515         <bp-checks.h>.
58516         (__backtrace): Don't use BOUNDED_1.
58517         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58518         <bp-checks.h>.
58519         (__backtrace): Don't use BOUNDED_1.
58520         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58521         (__backtrace): Don't use BOUNDED_1.
58522         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58523         (shmat): Don't use BOUNDED_N.
58525 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58527         [BZ #13550]
58528         * sysdeps/generic/bp-start.h: Remove file.
58529         * csu/libc-start.c: Don't include <bp-start.h>.
58530         (LIBC_START_MAIN): Set up __environ directly instead of using
58531         INIT_ARGV_and_ENVIRON.
58532         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58533         <bp-start.h>.
58535         [BZ #13550]
58536         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58537         definitions.
58538         (CHECK_FCNTL): Likewise.
58539         (CHECK_N_PAGES): Likewise.
58541         [BZ #13550]
58542         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58543         definitions.
58544         (CHECK_SIGSET_NULL_OK): Likewise.
58545         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58546         <bp-checks.h>.
58547         (sigpending): Don't use CHECK_SIGSET.
58548         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58549         <bp-checks.h>.
58550         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58551         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58552         <bp-checks.h>.
58553         (do_sigsuspend): Don't use CHECK_SIGSET.
58554         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58555         use CHECK_SIGSET.
58556         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58557         (do_sigwait): Don't use CHECK_SIGSET.
58558         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58559         use CHECK_SIGSET.
58560         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58561         include <bp-checks.h>.
58562         (sigpending): Don't use CHECK_SIGSET.
58563         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58564         include <bp-checks.h>.
58565         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58566         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58567         <bp-checks.h>.
58568         (sigpending): Don't use CHECK_SIGSET.
58569         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58570         <bp-checks.h>.
58571         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58573         [BZ #13550]
58574         * sysdeps/generic/bp-semctl.h: Remove file.
58575         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58576         <bp-checks.h> and <bp-semctl.h>.
58577         (__old_semctl): Don't use CHECK_SEMCTL.
58578         (__new_semctl): Likewise.
58579         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58580         and <bp-semctl.h>.
58581         (__old_semctl): Don't use CHECK_SEMCTL.
58582         (__new_semctl): Likewise.
58583         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58584         <bp-checks.h> and <bp-semctl.h>.
58585         (__old_semctl): Don't use CHECK_SEMCTL.
58586         (__new_semctl): Likewise.
58587         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58588         <bp-checks.h> and <bp-semctl.h>.
58589         (semctl): Don't use CHECK_SEMCTL.
58591         [BZ #13550]
58592         * Makerules (elide-bp-thunks): Remove variable.
58593         (elide-routines.oS): Don't use $(elide-bp-thunks).
58594         (elide-routines.os): Likewise.
58595         (elide-routines.o): Likewise.
58596         (elide-routines.op): Likewise.
58597         (elide-routines.og): Likewise.
58598         (objects): Don't use $(bp-thunks).
58599         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58600         include.
58601         (common-generated): Do not add s-proto-bp.d.
58602         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58603         (int): Likewise.
58604         (typ): Likewise.
58605         Do not generate makefile rules for bounded-pointer thunks.
58606         * sysdeps/generic/bp-thunks.h: Remove file.
58607         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58608         * sysdeps/unix/s-proto-bp.S: Likewise.
58610         [BZ #15062]
58611         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58612         parts of result separately when argument is not close to line from
58613         -i to i and one part of argument is small.
58614         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58615         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58616         * math/libm-test.inc (cacos_test): Add more tests.
58617         (casin_test): Likewise.
58618         (casinh_test): Likewise.
58619         * sysdeps/i386/fpu/libm-test-ulps: Update.
58620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58622 2013-01-31  David S. Miller  <davem@davemloft.net>
58624         * po/de.po: Update from translation team.
58626 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58628         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58630 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58632         * configure.in (_AC_PROG_CC_C89): New definition.
58633         * configure: Regenerate.
58635         * configure.in (AC_PROG_CPP): New definition.
58636         * configure: Regenerate.
58638 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58640         * debug/tst-backtrace.h: New file.
58641         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58642         (ret): Remove variable.
58643         (x): Likewise.
58644         (FAIL): Remove macro.
58645         (NO_INLINE): Likewise.
58646         (fn1): Use match function instead of strstr.
58647         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58648         (ret): Remove variable.
58649         (x): Likewise.
58650         (FAIL): Remove macro.
58651         (NO_INLINE): Likewise.
58652         (fn): Use match function instead of strstr.
58653         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58654         (ret): Remove variable.
58655         (x): Likewise.
58656         (FAIL): Remove macro.
58657         (NO_INLINE): Likewise.
58658         (handle_signal): Use match function instead of strstr.
58659         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58660         (ret): Remove variable.
58661         (x): Likewise.
58662         (FAIL): Remove macro.
58663         (NO_INLINE): Likewise.
58664         (handle_signal): Use match function instead of strstr.
58666 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58668         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58670 2013-01-23  David S. Miller  <davem@davemloft.net>
58672         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58673         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58674         argument of CAS if possible.
58675         * sysdeps/sparc/sparc64/bits/atomic.h
58676         (__arch_compare_and_exchange_val_32_acq): Likewise.
58677         (__arch_compare_and_exchange_val_64_acq): Likewise.
58679 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58681         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58682         * sysdeps/posix/ulimit.c: ... this.
58683         Include <limits.h>.
58684         * sysdeps/unix/bsd/ulimit.c: Remove file.
58686 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58688         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58689         (LDFLAGS-tst-array5): Likewise.
58691 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58693         [BZ #15036]
58694         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58695         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58696         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58697         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58699 2013-01-21  David S. Miller  <davem@davemloft.net>
58701         * sysdeps/sparc/backtrace.c: New file.
58702         * sysdeps/sparc/sparc32/backtrace.h: New file.
58703         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58704         * sysdeps/sparc/sparc64/backtrace.h: New file.
58705         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58706         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58707         -funwind-tables.
58709 2013-01-21  Andreas Schwab  <schwab@suse.de>
58711         [BZ #15020]
58712         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58713         closed its stdout.
58715 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58718         "mpa2.h".
58719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58721 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58722             Mark Mitchell  <mark@codesourcery.com>
58723             Tom de Vries  <tom@codesourcery.com>
58724             Paul Pluzhnikov  <ppluzhnikov@google.com>
58726         * debug/tst-backtrace2.c: New file.
58727         * debug/tst-backtrace3.c: Likewise.
58728         * debug/tst-backtrace4.c: Likewise.
58729         * debug/tst-backtrace5.c: Likewise.
58730         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58731         (CFLAGS-tst-backtrace3.c): Likewise.
58732         (CFLAGS-tst-backtrace4.c): Likewise.
58733         (CFLAGS-tst-backtrace5.c): Likewise.
58734         (LDFLAGS-tst-backtrace2): Likewise.
58735         (LDFLAGS-tst-backtrace3): Likewise.
58736         (LDFLAGS-tst-backtrace4): Likewise.
58737         (LDFLAGS-tst-backtrace5): Likewise.
58738         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58739         tst-backtrace4 and tst-backtrace5.
58741 2013-01-18  Anton Blanchard  <anton@samba.org>
58742             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58744         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58745         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58746         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58747         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58749         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58750         "+r" and remove output regs list as redundant.  Add explicit inline
58751         asm to specify register of return val to work around compiler codegen
58752         bug.  Remove (int) cast on return value.  Add return type parameter to
58753         use in macro so that this macro does not truncate return value for
58754         64-bit values.
58755         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58756         pass to INTERNAL_VSYSCALL_NCS.
58757         (INLINE_VSYSCALL): Add 'long int' as return type to
58758         INTERNAL_VSYSCALL_NCS macro invocation.
58759         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58760         INTERNAL_VSYSCALL_NCS macro invocation.
58761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58763 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58765         [BZ #14496]
58766         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58767         Fix application of SIMD FP exception mask.
58769         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58770         mp_no from a power of two.
58771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58772         __mpexp_twomm1.  Use __pow_mp.
58774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58775         multiplication.
58777 2013-01-17  David S. Miller  <davem@davemloft.net>
58779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58781 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58783         [BZ #15023]
58784         * include/complex.h: Condition contents on [!_COMPLEX_H].
58785         (__kernel_casinhf): New prototype.
58786         (__kernel_casinh): Likewise.
58787         (__kernel_casinhl): Likewise.
58788         * math/Makefile (libm_calls): Add k_casinh.
58789         * math/k_casinh.c: New file.
58790         * math/k_casinhf.c: Likewise.
58791         * math/k_casinhl.c: Likewise.
58792         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58793         finite nonzero arguments.
58794         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58795         finite nonzero arguments.
58796         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58797         finite nonzero arguments.
58798         * math/s_casinh.c: Do not include <float.h>.
58799         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
58800         * math/s_casinhf.c: Do not include <float.h>.
58801         (__casinhf): Move code for finite nonzero arguments to
58802         k_casinhf.c.
58803         * math/s_casinhl.c: Do not include <float.h>.
58804         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
58805         redefine.
58806         (__casinhl): Move code for finite nonzero arguments to
58807         k_casinhl.c.
58808         * math/libm-test.inc (cacos_test): Add more tests.
58809         * sysdeps/i386/fpu/libm-test-ulps: Update.
58810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58812 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
58814         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
58815         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
58816         [!HAVE_MREMAP]: Remove [defined linux] case.
58817         * malloc/arena.c: Do not include <malloc-sysdep.h>.
58819 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58821         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
58823 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
58825         * elf/elf.h (R_386_SIZE32): New relocation.
58826         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
58827         R_386_SIZE32.
58828         (elf_machine_rela): Likewise.
58829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58830         R_X86_64_SIZE64 and R_X86_64_SIZE32.
58832 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58834         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
58835         (FP_FAST_FMA): Do not define.
58836         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
58837         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
58838         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
58839         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
58840         !_SOFT_FLOAT]: Likewise.
58841         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
58842         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
58843         value.
58844         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
58845         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
58846         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
58847         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
58848         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
58849         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
58850         file.
58852 2013-01-16  Andreas Schwab  <schwab@suse.de>
58854         [BZ #14327]
58855         * include/stdlib.h (__mktemp): Add declaration.
58856         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
58857         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
58859 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58861         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
58862         definitions.
58863         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58864         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
58865         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
58866         definitions here.
58867         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
58868         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
58869         definitions.
58870         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
58871         and ONE.
58872         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
58873         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
58874         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
58875         definitions.
58876         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
58877         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
58878         definitions.
58879         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58881         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
58883 2013-01-15  David S. Miller  <davem@davemloft.net>
58885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58886         trunc{,f} to libm-sysdep_routes.
58887         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
58889         file.
58890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
58891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
58892         file.
58893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
58894         file.
58895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
58896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
58897         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
58898         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
58899         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
58900         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
58901         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
58902         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
58904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58905         nearbyint{,f} to libm-sysdep_routes.
58906         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
58908         New file.
58909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
58910         file.
58911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
58912         New file.
58913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
58914         file.
58915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
58916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
58917         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
58918         file.
58919         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
58920         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
58921         file.
58922         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
58923         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
58924         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
58926         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58927         libc_feholdexcept and libc_fesetenv.
58929 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
58931         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
58933 2013-01-14  David S. Miller  <davem@davemloft.net>
58935         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58936         (SPARC_ASM_VIS2_IFUNC): Likewise.
58937         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
58938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
58939         use of 'siam' instruction.
58940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
58941         Likewise.
58942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
58943         Likewise.
58944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
58945         Likewise.
58946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
58947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
58948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
58949         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
58950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
58951         file.
58952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
58953         file.
58954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
58955         file.
58956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
58957         file.
58958         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
58959         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
58960         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
58961         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
58962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
58963         new VIS2 routines.
58964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58967         Likewise.
58968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
58973         routines to libm-sysdep_routines.
58974         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58977         fdim/fdimf to libm-sysdep_routines.
58978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58979         file.
58980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58982         file.
58983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58986         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58987         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58988         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58989         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58991 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58993         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58994         to optimize copies.
58996         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59001         local variable MPTWO.
59002         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59003         Likewise.
59005 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59007         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59008         GLOB_NOESCAPE.
59010 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59012         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59014 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59016         * manual/pattern.texi (glob_t): Document gl_flags.
59017         (glob64_t): Likewise.
59019 2013-01-11  David S. Miller  <davem@davemloft.net>
59021         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59022         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59023         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59024         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59025         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59026         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59027         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59028         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59029         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59030         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59031         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59032         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59033         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59035         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59036         sparc V9 rather than using V8 code.
59037         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59038         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59040         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59041         Move to...
59042         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59043         Here.
59045 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59047         [BZ #14941]
59048         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59049         not in the main loop.
59050         * configure: Regenerated.
59052 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59054         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59055         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59056         to just #else.
59057         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59058         [!__GLIBC_HAVE_LONG_LONG] case.
59059         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59060         condition to just #else.
59061         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59062         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59063         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59064         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59065         unconditional.
59066         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59067         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59068         #elif condition to just #else.
59069         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59070         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59071         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59072         #elif condition to just #else.
59074 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59076         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59077         (EF_MIPS_ARCH_64): Fix value.
59078         (EF_MIPS_ARCH_32R2): New.
59079         (EF_MIPS_ARCH_64R2): New.
59081 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59083         * Makeconfig (+link-pie-before-libc): New.
59084         (+link-pie-after-libc): Likewise.
59085         (+link-pie-tests): Likewise.
59086         (+link-pie): Rewritten.
59087         (link-before-libc): Remove $(config-LDFLAGS).
59088         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59089         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59090         (config-LDFLAGS): Renamed to ...
59091         (rtld-LDFLAGS): This.
59092         (rtld-tests-LDFLAGS): New macro.
59093         (link-libc-rpath-link): Likewise.
59094         (link-libc-tests-rpath-link): Likewise.
59095         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59096         (link-libc): Prepand $(link-libc-rpath-link).
59097         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59098         (test-program-prefix): New macro.
59099         (test-via-rtld-prefix): Likewise.
59100         (test-program-cmd): Likewise.
59101         (host-test-program-cmd): Likewise.
59102         * Makefile ($(common-objpfx)testrun.sh): Replace
59103         $(run-program-prefix) with $(test-program-prefix).
59104         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59105         $(rtld-LDFLAGS).
59106         ($(common-objpfx)shlib.lds): Likewise.
59107         (build-module-helper): Likewise.
59108         ($(common-objpfx)format.lds): Likewise.
59109         * Rules (binaries-pie-tests): New.
59110         (binaries-pie-notests): Likewise.
59111         (binaries-pie): Rewritten.
59112         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59113         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59114         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59115         (make-test-out): Replace $(host-built-program-cmd) with
59116         $(host-test-program-cmd).
59117         * config.make.in (build-hardcoded-path-in-tests): New variable.
59118         * configure.in (--enable-hardcoded-path-in-tests): New configure
59119         option.
59120         (hardcoded_path_in_tests): New AC_SUBST.
59121         * configure: Regenerated.
59122         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59123         $(built-program-cmd) with $(test-program-cmd).
59124         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59125         (test_program_cmd): This.
59126         * elf/Makefile ($(objpfx)order.out): Run test with
59127         $(test-program-prefix).
59128         ($(objpfx)order2.out): Likewise.
59129         ($(objpfx)tst-initorder.out): Likewise.
59130         ($(objpfx)tst-initorder2.out): Likewise.
59131         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59132         $(test-program-cmd).
59133         ($(objpfx)tst-array1-static.out): Likewise.
59134         ($(objpfx)tst-array2.out): Likewise.
59135         ($(objpfx)tst-array3.out): Likewise.
59136         ($(objpfx)tst-array4.out): Likewise.
59137         ($(objpfx)tst-array5.out): Likewise.
59138         ($(objpfx)tst-array5-static.out): Likewise.
59139         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59140         $(test-program-cmd).
59141         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59142         $(run-program-prefix) with $(test-program-prefix).
59143         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59144         (test_program_prefix): This.
59145         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59146         $(run-program-prefix) with $(test-program-prefix).
59147         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59148         (test_program_prefix): This.
59149         * iconvdata/tst-tables.sh: Likewise.
59150         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59151         $(run-program-prefix) with $(test-program-prefix).
59152         ($(objpfx)tst-translit.out): Likewise.
59153         ($(objpfx)tst-gettext2.out): Likewise.
59154         ($(objpfx)tst-gettext4.out): Likewise.
59155         ($(objpfx)tst-gettext6.out): Likewise.
59156         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59157         (test_program_prefix): This.
59158         * intl/tst-gettext2.sh: Likewise.
59159         * intl/tst-gettext4.sh  Likewise.
59160         * intl/tst-gettext6.sh: Likewise.
59161         * intl/tst-translit.sh: Likewise.
59162         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59163         with $(test-program-cmd).
59164         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59165         $(run-program-prefix) with $(test-program-prefix).
59166         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59167         (test_program_prefix): This.
59168         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59169         $(run-program-prefix) with $(test-program-prefix).
59170         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59171         (test_program_prefix): This.
59172         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59173         * posix/Makefile ($(objpfx)globtest.out): Replace
59174         $(run-via-rtld-prefix) and $(test-wrapper) with
59175         $(test-program-prefix) and $(test-via-rtld-prefix).
59176         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59177         $(test-program-prefix).
59178         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59179         $(host-test-program-cmd).
59180         (tst-spawn-ARGS): Likewise.
59181         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59182         $(test-program-prefix).
59183         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59184         (test_via_rtld_prefix): This.
59185         (test_wrapper): Renamed to ...
59186         (test_program_prefix): This.
59187         (run_program_prefix): Replaced by test_program_prefix.
59188         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59189         (test_program_prefix): This.
59190         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59191         with $(host-test-program-cmd).
59192         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59193         $(run-program-prefix) with $(test-program-prefix).
59194         ($(objpfx)tst-printf.out): Likewise.
59195         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59196         $(test-program-cmd).
59197         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59198         (test_program_prefix): This.
59199         * stdio-common/tst-unbputc.sh: Likewise.
59200         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59201         $(run-program-prefix) with $(test-program-prefix).
59202         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59203         (test_program_prefix): This.
59204         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59205         $(built-program-cmd) with $(test-program-cmd).
59207 2013-01-11  Andreas Jaeger  <aj@suse.de>
59209         [BZ #15003]
59210         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59211         value. Sync with Linux 3.7.
59213 2013-01-10  David S. Miller  <davem@davemloft.net>
59215         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59216         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59217         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59219 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59221         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59222         never set.
59223         * configure: Regenerated.
59225 2013-01-10  David S. Miller  <davem@davemloft.net>
59227         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59228         sparc V9 rather than using V8 code.
59229         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59230         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59232 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59234         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59235         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59236         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59237         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59238         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59239         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59240         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59241         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59242         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59243         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59244         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59245         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59246         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59247         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59248         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59249         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59250         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59251         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59252         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59253         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59254         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59255         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59256         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59257         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59258         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59259         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59260         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59262 2013-01-10  David S. Miller  <davem@davemloft.net>
59264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59266 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59268         * posix/Makefile (tests-static): New variable.
59269         (tests): Add $(tests-static).
59270         (tst-exec-static-ARGS): New variable.
59271         (tst-spawn-static-ARGS): Likewise.
59272         * posix/tst-exec-static.c: New file.
59273         * posix/tst-spawn-static.c: Likewise.
59274         * posix/tst-exec.c: Support run directly.
59275         * posix/tst-spawn.c: Likewise.
59277 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59279         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59280         long.
59281         * math/bits/mathcalls.h (llrint): Likewise.
59282         (llround): Likewise.
59283         * stdlib/stdlib.h (struct drand48_data): Likewise.
59284         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59285         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59286         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59287         Likewise.
59288         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59289         Likewise.
59290         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59291         (elf_greg_t): Likewise.
59292         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59293         (__jmp_buf): Likewise.
59294         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59295         definitions.
59296         (llrint): Likewise, for all definitions.
59297         (llrintl): Likewise.
59299         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59300         Remove [__GNUC__] condition.
59301         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59302         condition to just [__USE_ISOC99].
59303         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59305 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59307         [BZ #14200]
59308         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59309         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59310         defined.
59311         (_POSIX_V6_ILP32_OFF32): Likewise.
59312         (_XBS5_ILP32_OFF32): Likewise.
59313         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59314         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59316 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59318         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59321         doubles __mpexp_twomm1.  Adjust usage.
59322         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59323         Remove.
59325 2013-01-10  Andreas Schwab  <schwab@suse.de>
59327         [BZ #14964]
59328         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59329         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59331 2013-01-09  David S. Miller  <davem@davemloft.net>
59333         [BZ #15003]
59334         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59335         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59336         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59337         (TCP_FASTOPEN): Define.
59338         (tcp_repair_opt): New structure.
59339         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59340         enum values.
59341         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59342         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59343         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59344         (tcp_cookie_transactions): New structure.
59346 2013-01-09  Anton Blanchard  <anton@samba.org>
59348         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59349         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59350         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59351         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59353 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59355         * include/features.h (__USE_ANSI): Remove.
59357 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59359         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59361         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59363 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59365         * sysdeps/s390/fpu/libm-test-ulps: Update.
59367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59369         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59370         (__acr): Likewise.
59371         (__cpy): Likewise.
59372         (norm): Likewise.
59373         (denorm): Likewise.
59374         (__mp_dbl): Likewise.
59375         (__dbl_mp): Likewise.
59376         (add_magnitudes): Likewise.
59377         (sub_magnitudes): Likewise.
59378         (__add): Likewise.
59379         (__sub): Likewise.
59380         (__mul): Likewise.
59381         (__inv): Likewise.
59382         (__dvd): Likewise.
59383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59384         (__acr): Likewise.
59385         (__cpy): Likewise.
59386         (norm): Likewise.
59387         (denorm): Likewise.
59388         (__mp_dbl): Likewise.
59389         (__dbl_mp): Likewise.
59390         (add_magnitudes): Likewise.
59391         (sub_magnitudes): Likewise.
59392         (__add): Likewise.
59393         (__sub): Likewise.
59394         (__mul): Likewise.
59395         (__inv): Likewise.
59396         (__dvd): Likewise.
59397         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59398         (__acr): Likewise.
59399         (__cpy): Likewise.
59400         (norm): Likewise.
59401         (denorm): Likewise.
59402         (__mp_dbl): Likewise.
59403         (__dbl_mp): Likewise.
59404         (add_magnitudes): Likewise.
59405         (sub_magnitudes): Likewise.
59406         (__add): Likewise.
59407         (__sub): Likewise.
59408         (__mul): Likewise.
59409         (__inv): Likewise.
59410         (__dvd): Likewise.
59412 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59414         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59415         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59416         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59417         2 && __USE_EXTERN_INLINES]: Likewise.
59419 2013-01-08  Andreas Jaeger  <aj@suse.de>
59421         [BZ# 14985]
59422         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59423         Remove.
59424         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59425         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59427 2013-01-07  Anton Blanchard  <anton@samba.org>
59429         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59430         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59431         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59432         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59433         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59434         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59435         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59436         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59437         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59438         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59439         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59440         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59441         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59442         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59443         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59444         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59445         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59446         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59447         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59448         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59449         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59450         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59451         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59452         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59453         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59454         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59455         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59456         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59457         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59458         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59459         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59461         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59462         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59463         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59464         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59465         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59466         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59467         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59468         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59469         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59470         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59471         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59473 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59475         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59476         (__MALLOC_PMT): Likewise.
59477         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59478         [__GNUC__], only on [_LIBC].
59479         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59480         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59481         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59482         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59483         forward declaration.
59484         (realloc_hook_ini): Likewise.
59485         (memalign_hook_ini): Likewise.
59486         (__libc_memalign): Do not use __MALLOC_PMT in variable
59487         declaration.
59488         (__libc_valloc): Likewise.
59489         (__libc_pvalloc): Likewise.
59490         (__libc_calloc): Likewise.
59491         (__posix_memalign): Likewise.
59493         [BZ #14996]
59494         * math/s_casinh.c: Include <float.h>.
59495         (__casinh): Do not do computation with squaring and square root
59496         for large arguments.
59497         * math/s_casinhf.c: Include <float.h>.
59498         (__casinhf): Do not do computation with squaring and square root
59499         for large arguments.
59500         * math/s_casinhl.c: Include <float.h>.
59501         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59502         (__casinhl): Do not do computation with squaring and square root
59503         for large arguments.
59504         * math/libm-test.inc (casin_test): Add more tests.
59505         (casinh_test): Likewise.
59506         * sysdeps/i386/fpu/libm-test-ulps: Update.
59507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59509 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59511         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59512         (__x86_64_raw_data_cache_size): Likewise.
59513         (__x86_64_data_cache_size_half): Likewise.
59514         (__x86_64_raw_data_cache_size_half): Likewise.
59515         (__x86_64_shared_cache_size): Likewise.
59516         (__x86_64_raw_shared_cache_size): Likewise.
59517         (__x86_64_shared_cache_size_half): Likewise.
59518         (__x86_64_raw_shared_cache_size_half): Likewise.
59519         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59520         to ...
59521         (__x86_data_cache_size): This.
59522         (__x86_64_raw_data_cache_size): Renamed to ...
59523         (__x86_raw_data_cache_size): This.
59524         (__x86_64_data_cache_size_half): Renamed to ...
59525         (__x86_data_cache_size_half): This.
59526         (__x86_64_raw_data_cache_size_half): Renamed to ...
59527         (__x86_raw_data_cache_size_half): This.
59528         (__x86_64_shared_cache_size): Renamed to ...
59529         (__x86_shared_cache_size): This.
59530         (__x86_64_raw_shared_cache_size): Renamed to ...
59531         (__x86_raw_shared_cache_size): This.
59532         (__x86_64_shared_cache_size_half): Renamed to ...
59533         (__x86_shared_cache_size_half): This.
59534         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59535         (__x86_raw_shared_cache_size_half): This.
59536         * sysdeps/x86_64/memcpy.S: Updated.
59537         * sysdeps/x86_64/memset.S: Likewise.
59538         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59539         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59540         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59542 2013-01-04  David S. Miller  <davem@davemloft.net>
59544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59546 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59548         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59549         1 to avoid redefinition warning.
59550         (__USE_GNU): Don't define.
59551         (init_signaling_nan): Protoize.
59553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59555 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59557         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59559         (__cpymn): Likewise.
59560         (norm): Remove commented code.
59561         (denorm): Likewise.
59562         (__mp_dbl): Likewise.
59563         (__inv): Likewise.
59564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59565         (__cpymn): Likewise.
59566         (norm): Remove commented code.
59567         (denorm): Likewise.
59568         (__mp_dbl): Likewise.
59569         (__inv): Likewise.
59571         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59572         mp_no value for 1.0 and 2.0.
59573         (norm): Use RADIXI instead of radixi.d.
59574         (denorm): Likewise.
59575         (__mul): Use 0.0 instead of zero.d.
59576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59577         mp_no value for 1.0 and 2.0.
59578         (norm): Use RADIXI instead of radixi.d.
59579         (denorm): Likewise.
59580         (__mul): Use 0.0 instead of zero.d.
59582 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59584         [BZ #14994]
59585         * math/s_casinh.c (__casinh): Reduce finite argument to first
59586         quadrant then set signs of results at the end.
59587         * math/s_casinhf.c (__casinhf): Likewise.
59588         * math/s_casinhl.c (__casinhl): Likewise.
59589         * math/libm-test.inc (casin_test): Add more tests.
59590         (casinh_test): Likewise.
59591         * sysdeps/i386/fpu/libm-test-ulps: Update.
59592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59594 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59596         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59598         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59600         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59601         declarations.
59602         (denorm): Likewise.
59603         (__mp_dbl): Likewise.
59604         (__inv): Likewise.
59606         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59607         and adjust the header comment.
59609         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59610         variable name from declaration.
59612 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59615         Initialize COMMON_CPUID_INDEX_7 element.
59616         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59617         (CPUID_RTM): Likewise.
59618         (HAS_RTM): Likewise.
59619         (COMMON_CPUID_INDEX_7): New enum.
59621 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59623         [BZ #14981]
59624         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59625         size is zero, record memory as freed.
59627 2013-01-03  Andreas Jaeger  <aj@suse.de>
59629         * po/ia.po: Add new Interlingua translation.
59631 2012-01-03  Allan McRae  <allan@archlinux.org>
59633         * locale/programs/localedef.c: Fix description of '--posix' flag.
59635 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59637         * NEWS: Update dates in second copyright notice.
59638         * README: Update copyright dates in example.
59639         * manual/libc.texinfo: Update copyright dates.
59640         * scripts/test-installation.pl: Update copyright date in --version
59641         output.
59643         * hurd/ctty-input.c: Fix copyright notice formatting.
59644         * hurd/ctty-output.c: Likewise.
59645         * hurd/dtable.c: Likewise.
59646         * hurd/hurd-raise.c: Likewise.
59647         * hurd/hurdprio.c: Likewise.
59648         * hurd/msgportdemux.c: Likewise.
59649         * misc/sys/file.h: Likewise.
59650         * misc/sys/ioctl.h: Likewise.
59651         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59652         * sysdeps/mach/hurd/chdir.c: Likewise.
59653         * sysdeps/mach/hurd/fchdir.c: Likewise.
59654         * sysdeps/mach/hurd/rename.c: Likewise.
59655         * sysdeps/mach/hurd/rmdir.c: Likewise.
59656         * sysdeps/mach/hurd/seekdir.c: Likewise.
59657         * sysdeps/mach/hurd/setsid.c: Likewise.
59658         * sysdeps/posix/wait3.c: Likewise.
59660         * All files with FSF copyright notices: Update copyright dates
59661         using scripts/update-copyrights.
59662         * intl/plural.c: Regenerated.
59663         * locale/programs/charmap-kw.h: Likewise.
59664         * locale/programs/locfile-kw.h: Likewise.
59666 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59668         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59669         four values.
59671         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59672         calculation loop and add branch prediction.
59674         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59675         check access beyond bounds of m1np.
59677         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59678         MPTWO.
59679         (__inv): Remove local variable MPTWO to use the global
59680         constant.
59681         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59682         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59683         variable MPTWO.
59684         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59685         MP3HALFS static const.
59687 2013-01-01  David S. Miller  <davem@davemloft.net>
59689         * po/ca.po: Update from translation team.
59691 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59693         * scripts/update-copyrights: New file.
59694         * Makeconfig: Reformat copyright notice.
59695         * ctype/ctype.h: Likewise.
59696         * debug/swprintf_chk.c: Likewise.
59697         * elf/dl-cache.c: Likewise.
59698         * elf/dl-debug.c: Likewise.
59699         * elf/dl-object.c: Likewise.
59700         * grp/initgroups.c: Likewise.
59701         * hurd/Makefile: Likewise.
59702         * hurd/hurd/signal.h: Likewise.
59703         * hurd/hurdfault.c: Likewise.
59704         * hurd/hurdioctl.c: Likewise.
59705         * hurd/hurdlookup.c: Likewise.
59706         * hurd/intr-msg.c: Likewise.
59707         * iconv/gconv_open.c: Likewise.
59708         * libio/swprintf.c: Likewise.
59709         * locale/lc-ctype.c: Likewise.
59710         * locale/nl_langinfo.c: Likewise.
59711         * mach/Machrules: Likewise.
59712         * mach/Makefile: Likewise.
59713         * malloc/obstack.h: Likewise.
59714         * manual/Makefile: Likewise.
59715         * manual/tsort.awk: Likewise.
59716         * misc/bits/stab.def: Likewise.
59717         * nis/nis_print_group_entry.c: Likewise.
59718         * nis/nis_table.c: Likewise.
59719         * nis/nss_compat/compat-pwd.c: Likewise.
59720         * nis/nss_compat/compat-spwd.c: Likewise.
59721         * po/Makefile: Likewise.
59722         * posix/fnmatch.c: Likewise.
59723         * posix/regex.h: Likewise.
59724         * resolv/Makefile: Likewise.
59725         * resolv/nss_dns/dns-network.c: Likewise.
59726         * resolv/res_hconf.c: Likewise.
59727         * scripts/gen-sorted.awk: Likewise.
59728         * soft-fp/soft-fp.h: Likewise.
59729         * stdio-common/printf.h: Likewise.
59730         * stdlib/monetary.h: Likewise.
59731         * stdlib/random.c: Likewise.
59732         * stdlib/random_r.c: Likewise.
59733         * sysdeps/generic/Makefile: Likewise.
59734         * sysdeps/gnu/Makefile: Likewise.
59735         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59736         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59737         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59738         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59739         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59740         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59741         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59742         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59743         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59744         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59745         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59746         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59747         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59748         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59749         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59750         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59751         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59752         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59753         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59754         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59755         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59756         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59757         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59758         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59759         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59760         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59761         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59762         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59763         * sysdeps/mach/hurd/errnos.awk: Likewise.
59764         * sysdeps/mach/hurd/fork.c: Likewise.
59765         * sysdeps/mach/hurd/getcwd.c: Likewise.
59766         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59767         * sysdeps/mach/hurd/mmap.c: Likewise.
59768         * sysdeps/mach/hurd/utimes.c: Likewise.
59769         * sysdeps/mach/hurd/xmknod.c: Likewise.
59770         * sysdeps/posix/profil.c: Likewise.
59771         * sysdeps/posix/readdir_r.c: Likewise.
59772         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59773         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59774         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59775         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59777         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59778         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59779         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59781         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59782         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59783         * sysdeps/pthread/lio_listio.c: Likewise.
59784         * sysdeps/sparc/dl-procinfo.h: Likewise.
59785         * sysdeps/unix/i386/sysdep.S: Likewise.
59786         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59787         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59788         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59789         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59791         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59792         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59793         * sysdeps/unix/sysv/linux/speed.c: Likewise.
59794         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59795         * sysdeps/wordsize-32/divdi3.c: Likewise.
59796         * time/sys/time.h: Likewise.
59797         * wcsmbs/Makefile: Likewise.
59799 2013-01-01  David S. Miller  <davem@davemloft.net>
59801         * po/fr.po: Update from translation team.
59803         * catgets/gencat.c: Update copyright year.
59804         * csu/version.c: Likewise.
59805         * debug/catchsegv.sh: Likewise.
59806         * debug/pcprofiledump.c: Likewise.
59807         * debug/xtrace.sh: Likewise.
59808         * elf/ldconfig.c: Likewise.
59809         * elf/ldd.bash.in: Likewise.
59810         * elf/pldd.c: Likewise.
59811         * elf/sotruss.ksh: Likewise.
59812         * elf/sprof.c: Likewise.
59813         * iconv/iconv_prog.c: Likewise.
59814         * iconv/iconvconfig.c: Likewise.
59815         * locale/programs/locale.c: Likewise.
59816         * locale/programs/localedef.c: Likewise.
59817         * login/programs/pt_chown.c: Likewise.
59818         * malloc/memusage.sh: Likewise.
59819         * malloc/memusagestat.c: Likewise.
59820         * malloc/mtrace.pl: Likewise.
59821         * nscd/nscd.c: Likewise.
59822         * nss/getent.c: Likewise.
59823         * nss/makedb.c: Likewise.
59824         * posix/getconf.c: Likewise.
59826 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59828         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
59829         numbers.
59831 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
59833         * math/bits/mathcalls.h (modf): Use __nonnull.
59835 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59837         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
59838         (split): Use macro CN instead of the bare value.
59839         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
59840         could be used.
59841         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
59842         instead of the bare value.
59843         (power1): Likewise.
59845 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59847         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
59848         __ATAN_TWOM.
59849         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59851         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
59852         their values.
59853         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59854         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59855         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
59856         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59858 2012-12-28  Andreas Jaeger  <aj@suse.de>
59860         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
59861         values are from Linux 3.7.
59863         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
59864         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
59866 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59868         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
59869         TRUE case.
59871         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
59872         (norm): Likewise.
59873         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
59874         variables with preprocessor constants.
59875         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59876         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59877         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59879 2012-12-27  Bruno Haible  <bruno@clisp.org>
59881         [BZ #14317]
59882         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
59883         only if needed.
59885 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59887         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
59888         and use variable directly.
59889         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
59891         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59892         MPONE.
59893         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
59894         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59895         variable MPONE.
59896         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59897         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59898         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
59899         include directive.  Remove local variable MPONE.
59900         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
59901         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
59902         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59904 2012-12-25  David S. Miller  <davem@davemloft.net>
59906         * version.h (RELEASE): Set to "development".
59907         (VERSION): Set to "2.17.90".
59908         * NEWS: Add 2.18 section.
59910 2012-12-21  David S. Miller  <davem@davemloft.net>
59912         * po/hr.po: Update from translation team.
59914 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59916         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
59918 2012-12-19  Steve Ellcey  <sellcey@mips.com>
59920         * NEWS:  Mention new memcpy for MIPS.
59922 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59924         * manual/contrib.texi (Contributors): Spelling correction.
59926 2012-12-15  David S. Miller  <davem@davemloft.net>
59928         * po/ru.po: Update from translation team.
59930 2012-12-13  David S. Miller  <davem@davemloft.net>
59932         * NEWS: Mention IFUNC testsuite enhancements.
59934         * po/pl.po: Update from translation team.
59935         * po/bg.po: Likewise.
59937         * manual/contrib.texi (Contributors): Update entries for Hongjiu
59938         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
59940 2012-12-11  David S. Miller  <davem@davemloft.net>
59942         * po/sv.po: Update from translation team.
59944         * po/vi.po: Update from translation team.
59946         * po/cs.po: Update from translation team.
59948         * po/de.po: Update from translation team.
59949         * po/eo.po: Likewise.
59950         * po/nl.po: Likewise.
59952 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59954         [BZ #14246]
59955         * manual/argp.texi (Argp Helper Functions): Move node to follow
59956         Argp Parsing State.
59958         [BZ #14872]
59959         * manual/conf.texi (Limits on File System Capacity): Mention if
59960         terminating null is included in the max size.
59962 2012-12-10  Andreas Jaeger  <aj@suse.de>
59964         * po/cs.po: Update from translation team.
59966 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59968         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
59969         void pointer and cast to uintptr_t.
59970         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
59971         path.
59972         * sysdeps/s390/s390-64/memcpy.S: Likewise.
59973         * sysdeps/s390/s390-64/memset.S: Likewise.
59975 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
59977         [BZ #14833]
59978         * menual/message.texi (Message Translation): Fix typos.
59979         (Helper programs for gettext): Likewise.
59981 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
59983         [BZ #14898]
59984         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59985         Change to -1.
59987 2012-12-07  David S. Miller  <davem@davemloft.net>
59989         * po/libc.pot: Update.
59991 2012-12-07  Richard Henderson  <rth@redhat.com>
59993         [BZ #10114]
59994         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59995         normal/normal case to before the switch.
59996         (_FP_DIV): Likewise.
59998 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59999             Mike Frysinger  <vapier@gentoo.org>
60001         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60002         check for __NR_fadvise64_64.
60004 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60006         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60007         0, not just to plain "0" as a statement.
60008         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60009         with cw.
60011 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60013         * NEWS: Use sourceware.org in Bugzilla URL.
60015 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60018         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60020         * stdio-common/tst-put-error.c (do_test): Add newline to the
60021         padded test to ensure flush.
60023 2012-12-05  Jeff Law  <law@redhat.com>
60025         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60027 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60029         * README: Don't refer to ports add-on as distributed separately.
60030         Mention AArch64 in list of systems supported in the ports add-on.
60032         * LICENSES: Add more non-FSF copyright and license notices.
60034         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60035         ((unused)).
60037         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60039         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60040         10000 as width of padded output.
60042 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60044         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60046         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60047         variable LX with __attribute__ ((unused)).
60048         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60049         Likewise.
60050         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60052         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60053         with __attribute__ ((unused)).
60055 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60057         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60059 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60061         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60062         (CFLAGS-nldbl-acos.c): New variable.
60063         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60064         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60065         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60066         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60067         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60068         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60069         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60070         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60071         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60072         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60073         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60074         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60075         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60076         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60077         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60078         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60079         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60080         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60081         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60082         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60083         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60084         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60085         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60086         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60087         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60088         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60089         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60090         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60091         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60092         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60093         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60094         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60095         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60096         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60097         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60098         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60099         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60100         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60101         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60102         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60103         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60104         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60105         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60106         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60107         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60108         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60109         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60110         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60111         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60112         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60113         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60114         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60115         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60116         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60117         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60118         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60119         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60120         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60121         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60122         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60123         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60124         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60125         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60126         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60127         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60128         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60129         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60130         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60131         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60132         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60133         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60134         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60135         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60136         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60137         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60138         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60139         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60140         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60141         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60142         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60143         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60144         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60145         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60146         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60147         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60148         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60149         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60150         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60151         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60152         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60153         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60154         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60155         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60156         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60157         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60158         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60159         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60162         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60164         [BZ #14914]
60165         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60166         whole low double instead of just low 47 bits when splitting values
60167         into two parts.
60169 2012-12-03  Allan McRae  <allan@archlinux.org>
60171         * manual/stdio.texi (Predefined Printf Handlers): Remove
60172         @hsep and @vsep usage.
60174 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60176         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60177         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60179 2012-12-03  Jeff Law  <law@redhat.com>
60181         * time/sys/time.h (settimeofday): Do not mark TV argument
60182         as __nonnull.
60184 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60186         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60187         when currently writing and seek to current position when not.
60188         * libio/Makefile (tests): Remove bug-fclose1.
60189         * libio/bug-fclose1.c: Delete.
60191 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60193         * manual/arith.texi (feenableexcept): Fix typo.
60194         (fedisableexcept): Likewise.
60196 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60198         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60199         second, differently-typed declaration, rather than a cast.
60201 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60203         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60204         * include/rpc/svc.h: ... here.
60206 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60208         [BZ #13013]
60209         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60210         depending n and resplen2 to catch cases where answer
60211         equals answerp2.
60213 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60215         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60216         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60218 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60220         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60222 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60224         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60226 2012-11-28  Jeff Law  <law@redhat.com>
60228         [BZ #13761]
60229         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60230         dataset_temporary.  Track alloca usage into alloca_used.
60231         If dataset is large allocate and release it via malloc/free.
60233 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60235         [BZ #14197]
60236         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60238 2012-11-28  David S. Miller  <davem@davemloft.net>
60240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60242 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60244         [BZ #14803]
60245         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60246         of pi/2 rounded to nearest to 64 bits.
60247         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60248         nearest to 64 bits.
60249         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60250         bits.
60252 2012-11-28  Jeff Law <law@redhat.com>
60253             Martin Osvald <mosvald@redhat.com>
60255         [BZ #14889]
60256         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60257         * sunrpc/svc.c: Include time.h.
60258         (__svc_accept_failed): New function.
60259         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60260         any reason other than EINTR, call __svc_accept_failed.
60261         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60262         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60264 2012-11-28  Andreas Schwab  <schwab@suse.de>
60266         * scripts/abilist.awk: Also handle indirect functions in .opd
60267         section.
60269 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60271         [BZ #13881]
60272         * sysdeps/x86/fpu/powl_helper.c: New file.
60273         * sysdeps/x86/fpu/Makefile: Likewise.
60274         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60275         (p3): New object.
60276         (__ieee754_powl): Use __powl_helper for finite arguments except
60277         integer exponents below 8.
60278         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60279         (p3): New object.
60280         (__ieee754_powl): Use __powl_helper for finite arguments except
60281         integer exponents below 8.
60282         * math/libm-test.inc (pow_test): Add more tests and enable some
60283         previously disabled tests.
60284         * sysdeps/i386/fpu/libm-test-ulps: Update.
60285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60287 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60288             Carlos O'Donell  <carlos_odonell@mentor.com>
60290         * nss/makedb.c (is_prime): Assert that input is odd and greater
60291         than 4.  Note that fact in a comment too.
60292         (next_prime): Add 4 to input.
60294 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60296         [BZ #11741]
60297         * libio/Makefile (tests): Add test case tst-fwrite-error.
60298         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60299         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60300         * libio/tst-fwrite-error.c: New test case.
60302 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60304         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60305         before casting to void *.
60306         * include/libc-internal.h (__pointer_type): New macro.
60307         (__integer_if_pointer_type_sub): Likewise.
60308         (__integer_if_pointer_type): Likewise.
60309         (cast_to_integer): Likewise.
60310         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60311         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60312         before casting to atomic64_t.
60313         (atomic_exchange_acq): Likewise.
60314         (__arch_exchange_and_add_body): Likewise.
60315         (__arch_add_body): Likewise.
60316         (atomic_add_negative): Likewise.
60317         (atomic_add_zero): Likewise.
60319 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60321         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60322         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60323         (add_fdes): Likewise.
60324         (linear_search_fdes): Likewise.
60325         (binary_search_unencoded_fdes): Likewise.
60327 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60329         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60331 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60333         * configure.in: Autodetect C++ header directories.
60334         * configure: Regenerated.
60336 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60338         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60340 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60344 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60346         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60347         LDBL_MANT_DIG == 106]: Disable some tests.
60348         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60349         Likewise.
60350         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60351         Likewise.
60353         [BZ #14871]
60354         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60355         input for small inputs.  Return +/- pi/2 for large inputs.
60356         * math/libm-test.inc (atan_test): Add more tests.
60358         * sysdeps/generic/unwind-dw2-fde-glibc.c
60359         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60360         __attribute__ ((unused)).
60362         [BZ #14645]
60363         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60364         x * y if x and y are nonzero and z is zero.
60366         [BZ #14811]
60367         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60368         nonzero exponents with absolute value below 0x1p-117 to +/-
60369         0x1p-117.
60371         [BZ #14869]
60372         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60373         up arguments below 2**-450, not just those below 2**-500.
60374         * math/libm-test.inc (hypot_test): Add another test.
60376         [BZ #14868]
60377         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60378         Return a+b for ratio over 2**120, not 2**60.
60379         * math/libm-test.inc (hypot_test): Add another test.
60381         * math/libm-test.inc (clog_test): Use
60382         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60383         (clog10_test): Likewise.
60385         [BZ #6778]
60386         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60388 2012-11-22  Andreas Schwab  <schwab@suse.de>
60390         * sysdeps/i386/fpu/libm-test-ulps: Update.
60392 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60394         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60395         printf output with newline.
60397 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60399         [BZ #14865]
60400         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60401         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60402         -z nodlopen, -z initfirst and -z execstack support.
60403         * configure: Regenerated.
60405         * elf/elf.h (DF_1_NODIRECT): New macro.
60406         (DF_1_IGNMULDEF): Likewise.
60407         (DF_1_NOKSYMS): Likewise.
60408         (DF_1_NOHDR): Likewise.
60409         (DF_1_EDITED): Likewise.
60410         (DF_1_NORELOC): Likewise.
60411         (DF_1_SYMINTPOSE): Likewise.
60412         (DF_1_GLOBAUDIT): Likewise.
60413         (DF_1_SINGLETON): Likewise.
60414         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60415         DT_1_SUPPORTED_MASK bits.
60416         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60418 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60420         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60422 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60424         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60425         macro.
60427         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60428         (sendmmsg): Move declarations...
60429         * socket/sys/socket.h: ... here.
60430         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60431         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60432         include it from...
60433         * socket/recvmmsg.c: ... this new file.
60434         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60435         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60436         definition of __sendmmsg hidden.
60437         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60438         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60439         Move ENOSYS stub into and include it from...
60440         * socket/sendmmsg.c: ... this new file.
60441         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60442         (sysdep_routines): Move recvmmsg and sendmmsg...
60443         * socket/Makefile (routines): ... here.
60444         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60445         (GLIBC_PRIVATE): Add __sendmmsg.
60446         * include/sys/socket.h (__sendmmsg): Add declarations.
60447         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60448         sendmmsg.
60450 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60452         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60453         variable I1 with __attribute__ ((unused)).
60454         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60456 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60458         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60459         DUMMY variables with __attribute__ ((unused)).
60461         * bits/byteswap.h: Include <bits/types.h>.
60462         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60464 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60466         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60467         string_t.  Do not manually set errno.
60468         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60469         length with __strnlen.  Make sure to both set errno and return it on
60470         failure.
60472 2012-11-19  David S. Miller  <davem@davemloft.net>
60474         With help from Joseph Myers.
60475         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60476         very large arguments properly.
60477         * math/libm-test.inc (atan_test): New tests.
60478         (atan2_test): New tests.
60479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60482 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60484         [BZ #14856]
60485         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60486         Define to 3.
60488         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60489         [POSIX] (EADDRNOTAVAIL): Likewise.
60490         [POSIX] (EAFNOSUPPORT): Likewise.
60491         [POSIX] (EALREADY): Likewise.
60492         [POSIX] (ECONNABORTED): Likewise.
60493         [POSIX] (ECONNREFUSED): Likewise.
60494         [POSIX] (ECONNRESET): Likewise.
60495         [POSIX] (EDESTADDRREQ): Likewise.
60496         [POSIX] (EDQUOT): Likewise.
60497         [POSIX] (EHOSTUNREACH): Likewise.
60498         [POSIX] (EIDRM): Likewise.
60499         [POSIX] (EISCONN): Likewise.
60500         [POSIX] (ELOOP): Likewise.
60501         [POSIX] (EMULTIHOP): Likewise.
60502         [POSIX] (ENETDOWN): Likewise.
60503         [POSIX] (ENETUNREACH): Likewise.
60504         [POSIX] (ENOBUFS): Likewise.
60505         [POSIX] (ENODATA): Likewise.
60506         [POSIX] (ENOLINK): Likewise.
60507         [POSIX] (ENOMSG): Likewise.
60508         [POSIX] (ENOPROTOOPT): Likewise.
60509         [POSIX] (ENOSR): Likewise.
60510         [POSIX] (ENOSTR): Likewise.
60511         [POSIX] (ENOTCONN): Likewise.
60512         [POSIX] (ENOTSOCK): Likewise.
60513         [POSIX] (EOPNOTSUPP): Likewise.
60514         [POSIX] (EOVERFLOW): Likewise.
60515         [POSIX] (EPROTO): Likewise.
60516         [POSIX] (EPROTONOSUPPORT): Likewise.
60517         [POSIX] (EPROTOTYPE): Likewise.
60518         [POSIX] (ESTALE): Likewise.
60519         [POSIX] (ETIME): Likewise.
60520         [POSIX] (ETXTBSY): Likewise.
60521         [POSIX] (EWOULDBLOCK): Likewise.
60522         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60523         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60524         [POSIX] (SEEK_CUR): Likewise.
60525         [POSIX] (SEEK_END): Likewise.
60526         [POSIX || UNIX98] (mode_t): Do not require.
60527         [POSIX] (off_t): Likewise.
60528         [POSIX] (pid_t): Likewise.
60529         [POSIX] (sys/stat.h): Do not allow header.
60530         [POSIX] (unistd.h): Likewise.
60531         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60532         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60533         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60534         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60535         require.
60536         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60537         sigevent): Specify elements.
60538         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60539         entry.
60540         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60541         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60543         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60544         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60545         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60546         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60547         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60548         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60549         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60550         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60551         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60552         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60553         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60554         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60555         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60556         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60557         Likewise.
60558         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60559         Likewise.
60560         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60561         Likewise.
60562         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60563         Likewise.
60564         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60565         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60566         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60567         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60568         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60569         Specify lower bound on value.
60570         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60571         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60572         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60573         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60574         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60575         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60576         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60577         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60578         value.
60579         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60580         as optional.
60581         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60582         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60583         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60584         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60585         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60586         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60587         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60588         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60589         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60590         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60591         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60592         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60593         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60594         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60595         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60596         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60597         entry.
60598         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60599         optional.
60600         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60601         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60602         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60603         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60604         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60605         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60606         Likewise.
60607         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60608         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60609         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60610         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60611         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60612         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60613         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60614         as optional.
60615         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60616         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60617         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60618         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60619         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60620         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60621         specify as optional.
60622         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60623         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60624         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60625         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60626         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60627         [XPG3] (NL_LANGMAX): Likewise.
60628         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60629         [POSIX || XPG3] (NL_NMAX): Likewise.
60630         [POSIX || XPG3] (NL_SETMAX): Likewise.
60631         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60632         [XPG3] (NZERO): Likewise.
60633         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60634         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60635         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60636         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60637         (REG_ERANGE): Expect.
60638         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60639         optional-constant.
60640         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60641         Use (void) in prototype.
60642         [POSIX] (*_t): Allow.
60643         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60644         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60645         (WRDE_BADVAL): Expect.
60647         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60648         expect.
60649         [XPG3 || XPG4] (O_RSYNC): Likewise.
60650         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60651         Likewise.
60652         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60653         [XPG3 || XPG4] (sigqueue): Likewise.
60654         [XPG3 || XPG4] (sigtimedwait): Likewise.
60655         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60656         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60657         [XPG3 || XPG4] (vsnprintf): Likewise.
60658         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60659         Likewise.
60660         [XPG3 || XPG4] (blksize_t): Likewise.
60661         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60662         Likewise.
60663         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60664         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60665         [XPG3 || XPG4] (struct itimerspec): Likewise.
60666         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60667         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60668         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60669         [XPG3 || XPG4] (clockid_t): Likewise.
60670         [XPG3 || XPG4] (timer_t): Likewise.
60671         [XPG3 || XPG4] (clock_getres): Likewise.
60672         [XPG3 || XPG4] (clock_gettime): Likewise.
60673         [XPG3 || XPG4] (clock_settime): Likewise.
60674         [XPG3 || XPG4] (nanosleep): Likewise.
60675         [XPG3 || XPG4] (timer_create): Likewise.
60676         [XPG3 || XPG4] (timer_delete): Likewise.
60677         [XPG3 || XPG4] (timer_gettime): Likewise.
60678         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60679         [XPG3 || XPG4] (timer_settime): Likewise.
60680         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60681         [XPG3 || XPG4] (getlogin_r): Likewise.
60682         [XPG3 || XPG4] (pread): Likewise.
60683         [XPG3 || XPG4] (pthread_atfork): Likewise.
60684         [XPG3 || XPG4] (pwrite): Likewise.
60686         [BZ #14835]
60687         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60688         <bits/siginfo.h>.
60690 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60692         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60693         finalizing MALLSTREAM.
60695         * sysdeps/mach/hurd/syncfs.c: New file.
60697 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60699         [BZ #14719]
60700         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60701         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60702         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60703         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60704         (_nss_dns_gethostbyname4_r): Likewise.
60705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60706         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60708 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60710         [BZ #13763]
60711         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60713 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60715         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60716         * elf/cache.c (print_entry): Print ",AArch64" for
60717         FLAG_AARCH64_LIB64
60719         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60720         * elf/cache.c (print_entry): Print ",hard-float" for
60721         FLAG_ARM_LIBHF.
60723 2012-11-18  David S. Miller  <davem@davemloft.net>
60725         With help from Joseph Myers.
60726         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60727         cutoff to 2**-13.
60728         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60729         cutoff to 2**-25.
60730         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60731         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60732         small.
60733         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60734         * math/libm-test.inc (y0_test): New tests.
60735         (y1_test): New tests.
60736         * sysdeps/i386/fpu/libm-test-ulps: Update.
60737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60740 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60742         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60743         64-bit targets.
60744         * configure: Regenerated.
60746 2012-11-17  David S. Miller  <davem@davemloft.net>
60748         [BZ #14811]
60749         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60750         nonzero exponents with absolute value below 0x1p-128 to +/-
60751         0x1p-128.
60753 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60755         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60757         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60759         * posix/getconf-speclist.c: New file.
60760         * posix/posix-envs.def: Likewise.
60761         * posix/confstr.c (START_ENV_GROUP): New macro.
60762         (END_ENV_GROUP): Likewise.
60763         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60764         (KNOWN_PRESENT_ENV_STRING): Likewise.
60765         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60766         (UNKNOWN_ENVIRONMENT): Likewise.
60767         (confstr): Include posix-envs.def instead of handling
60768         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60769         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60770         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60771         (END_ENV_GROUP): Likewise.
60772         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60773         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60774         (UNKNOWN_ENVIRONMENT): Likewise.
60775         (__sysconf): Include posix-envs.def instead of handling associated
60776         cases directly here.
60777         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60778         preprocessing getconf-speclist.c rather than running getconf or
60779         generating empty file.
60781 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60783         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60785 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60787         [BZ #14672]
60788         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60790 2012-11-16  David S. Miller  <davem@davemloft.net>
60792         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60793         smaller than LDBL_EPSILON/2.0L, just return xm1.
60795 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
60797         * elf/tst-array1.c (init): Set constructor priority to 1000.
60798         (fini): Set destructor priority to 1000.
60799         * elf/tst-array2dep.c: Likewise.
60801 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60803         [BZ #11741]
60804         * libio/fileops.c (_IO_new_file_write): Correctly return error.
60805         (_IO_new_file_xsputn): Also return EOF if none of the input
60806         data was written when overflow failed.
60807         * libio/iopadn.c (_IO_padn): Likewise.
60808         * libio/iowpadn.c (_IO_wpadn): Likewise.
60809         * stdio-common/tst-put-error.c: Add copyright notice.
60810         (do_test): Add case for printing padded string.
60811         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
60812         _IO_padn returned error.
60813         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
60814         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
60815         return EOF.
60817 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60819         * libio/libioP.h: Add comment note that the references to C++
60820         bits are now obsolete.
60822 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60824         * math/libm-test.inc (check_complex): Use asprintf.
60826 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
60828         * debug/pcprofiledump.c (print_version): Update copyright year.
60829         * malloc/memusagestat.c (print_version): Likewise.
60831 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
60833         [BZ #14831]
60834         * elf/Makefile (tests): Add tst-audit8.
60835         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
60836         ($(objpfx)tst-audit8.out): New target.
60837         (tst-audit8-ENV): New variable.
60838         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
60839         audit if l_reloc_result is NULL.
60840         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
60841         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
60842         * elf/tst-audit8.c: New file.
60844 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60846         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
60847         * misc/Makefile (CFLAGS-select.c): Define.
60848         * posix/Makefile (CFLAGS-pause.c): Define.
60850 2012-11-13  David S. Miller  <davem@davemloft.net>
60852         * crypt/Makefile: Move test targets after toplevel Rules
60853         inclusion.  Grab any necessary sysdep routines when linking.
60854         * crypt/md5.c (md5_process_block): Remove define, we will always
60855         name it __md5_process_block.
60856         (md5_finish_ctx): Update md5_process_block call.
60857         (md5_stream): Likewise.
60858         (md5_process_bytes): Likewise.
60859         (md5_process_block): Rename to __md5_process_block and move to ...
60860         * crypt/md5-block.c: ... here.
60861         * crypt/sha256.c (sha256_process_block): Move to ...
60862         * crypt/sha256-block.c: ... here.
60863         * crypt/sha512.c (sha512_process_block): Move to ...
60864         * crypt/sha512-block.c: ... here.
60865         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
60866         path.
60867         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
60868         * sysdeps/sparc/sparc64/multiarch/Makefile
60869         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
60870         crypt subdir.
60871         (localedef-aux): Add md5 crypto assembler when in locale subdir.
60872         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
60873         multiarch changes.
60874         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
60875         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60876         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
60877         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
60878         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
60879         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
60880         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
60881         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
60882         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
60883         file.
60884         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60885         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
60886         file.
60887         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
60889 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
60891         * timezone/tzselect.ksh: Update from tzcode git revision
60892         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
60893         * timezone/zdump.c: Likewise.
60894         * timezone/zic.c: Likewise.
60895         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
60896         in TZVERSION setting, not $(PKGVERSION).
60897         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
60898         REPORT_BUGS_TO settings.
60900         [BZ #14838]
60901         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
60902         macro.
60904 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60906         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
60907         detection to immediately after _FP_ROUND().
60908         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
60909         bits are 0.
60911 2012-11-11  David S. Miller  <davem@davemloft.net>
60913         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
60914         inttypes.h
60915         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
60916         __close rather than their public counterparts.
60918 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
60920         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
60921         file.
60922         [UNIX98] (sem_timedwait): Do not expect.
60923         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
60924         [XPG4 || UNIX98] (sockatmark): Do not expect.
60925         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
60926         (clock_getcpuclockid): Do not expect.
60927         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
60928         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
60929         Do not expect.
60930         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
60931         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
60932         [UNIX98] (vwscanf): Likewise.
60933         [UNIX98] (vswscanf): Likewise.
60935 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
60937         * timezone/version.h: Remove file.
60938         * timezone/README: Do not refer to version.h.
60939         * timezone/Makefile ($(objpfx)zic.o): New dependency on
60940         $(objpfx)version.h.
60941         ($(objpfx)zdump.o): Likewise.
60942         ($(objpfx)version.h): New target.
60944         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
60945         2012i.
60946         * timezone/README: Don't mention modification to tzselect.ksh.
60947         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60948         work on unmodified tzselect.ksh.  Substitute version numbers in
60949         tzselect.ksh.
60951         * Makefile (format-me): Remove.
60952         (INSTALL): Adjust indentation.  Use commands directly instead of
60953         using $(format-me).
60955         * aclocal.m4 (ACX_PKGVERSION): New macro.
60956         (ACX_BUGURL): Likewise.
60957         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
60958         (PKGVERSION): New AC_DEFINE_UNQUOTED.
60959         (REPORT_BUGS_TO): Likewise.
60960         * configure: Regenerated.
60961         * config.h.in (PKGVERSION): New macro.
60962         (REPORT_BUGS_TO): Likewise.
60963         * config.make.in (PKGVERSION): New variable.
60964         (PKGVERSION_TEXI): Likewise.
60965         (REPORT_BUGS_TO): Likewise.
60966         (REPORT_BUGS_TEXI): Likewise.
60967         * Makefile (format-me): Use -I$(common-objpfx)manual.
60968         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
60969         ($(common-objpfx)manual/%): New target.
60970         (manual/%): Remove target.
60971         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
60972         (print_version): Use PKGVERSION.
60973         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
60974         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
60975         and REPORT_BUGS_TO.
60976         ($(objpfx)xtrace): Likewise.
60977         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60978         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60979         (print_version): Use PKGVERSION.
60980         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60981         (do_version): Use PKGVERSION.
60982         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60983         REPORT_BUGS_TO.
60984         (common-ldd-rewrite): Likewise.
60985         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60986         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60987         (print_version): Use PKGVERSION.
60988         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60989         * elf/pldd.c (argp_program_bug_address): Remove variable.
60990         (more_help): New function.
60991         (argp): Use more_help.
60992         (print_version): Use PKGVERSION.
60993         * elf/sln.c (main): Use PKGVERSION.
60994         (usage): Use REPORT_BUGS_TO.
60995         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60996         (top level): Use PKGVERSION.
60997         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60998         (print_version): Use PKGVERSION.
60999         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61000         (print_version): Use PKGVERSION.
61001         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61002         (print_version): Use PKGVERSION.
61003         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61004         (print_version): Use PKGVERSION.
61005         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61006         (print_version): Use PKGVERSION.
61007         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61008         (print_version): Use PKGVERSION.
61009         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61010         and BUGURL.
61011         ($(objpfx)memusage): Likewise.
61012         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61013         (do_version): Use PKGVERSION.
61014         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61015         (print_version): Use PKGVERSION.
61016         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61017         ($PKGVERSION): New variable.
61018         ($REPORT_BUGS_TO): Likewise.
61019         (usage): Use $REPORT_BUGS_TO.
61020         (top level): Use $PKGVERSION.
61021         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61022         ($(objpfx)pkgvers.texi): New rule.
61023         ($(objpfx)stamp-pkgvers): Likewise.
61024         * manual/install.texi: Include pkgvers.texi.
61025         (--with-pkgversion): Document new configure option.
61026         (--with-bugurl): Likewise.
61027         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61028         than necessarily for this particular distribution.  Use
61029         REPORT_BUGS_TO for where to report bugs.
61030         * INSTALL: Regenerated.
61031         * manual/libc.texinfo: Include pkgvers.texi.
61032         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61033         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61034         (print_version): Use PKGVERSION.
61035         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61036         (print_version): Use PKGVERSION.
61037         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61038         (print_version): Use PKGVERSION.
61039         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61040         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61041         macro.
61042         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61043         (print_version): Use PKGVERSION.
61044         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61045         (print_version): Use PKGVERSION.
61046         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61047         and PKGVERSION.
61049         * timezone/checktab.awk: Update from tzcode 2012i.
61050         * timezone/ialloc.c: Likewise.
61051         * timezone/private.h: Likewise.
61052         * timezone/scheck.c: Likewise.
61053         * timezone/tzfile.h: Likewise.
61054         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61055         (TZVERSION): Hardcode tzcode version number.
61056         * timezone/zdump.c: Update from tzcode 2012i.
61057         * timezone/zic.c: Likewise.
61058         * timezone/version.h: New file.
61059         * timezone/README: Describe version.h.  Update upstream location.
61061         [BZ #14824]
61062         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61063         (mktemp): Enable declaration.
61064         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61065         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61066         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61067         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61068         Likewise.
61069         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61070         Likewise.
61071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61072         Likewise.
61073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61074         Likewise.
61075         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61076         Likewise.
61077         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61078         Likewise.
61080         [BZ #14821]
61081         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61082         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61083         for copies of such integer values.
61084         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61085         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61087 2012-11-09  Andreas Jaeger  <aj@suse.de>
61089         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61090         definitions and declarations that are provided by
61091         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61093 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61095         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61096         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61097         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61098         definition.
61100 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61102         * elf/elf.h: Update comment before AArch64 relocations.
61104 2012-11-07  David S. Miller  <davem@davemloft.net>
61106         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61107         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61108         (__start_context): Declare.
61109         (__makecontext_ret): Delete.
61110         (__makecontext): Hook up __start_context instead of
61111         __makecontext_ret.
61112         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61113         (sysdep_routines): Add __start_context when in stdlib.
61115 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61117         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61118         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61119         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61120         hardcoded "nm".
61121         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61122         (READELF): New variable.  Use it instead of hardcoded "readelf".
61124 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61126         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61127         * sysdeps/x86/Makefile: Here.
61128         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61129         * sysdeps/x86/tst-xmmymm.sh: This.
61131 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61133         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61134         expectations.
61135         [UNIX98] (pthread_barrier_t): Do not expect.
61136         [UNIX98] (pthread_barrierattr_t): Likewise.
61137         [UNIX98] (pthread_spinlock_t): Likewise.
61138         [UNIX98] (pthread_barrier_destroy): Likewise.
61139         [UNIX98] (pthread_barrier_init): Likewise.
61140         [UNIX98] (pthread_barrier_wait): Likewise.
61141         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61142         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61143         [UNIX98] (pthread_barrierattr_init): Likewise.
61144         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61145         [UNIX98] (pthread_getcpuclockid): Likewise.
61146         [UNIX98] (pthread_mutex_timedlock): Likewise.
61147         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61148         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61149         [UNIX98] (pthread_sigmask): Likewise.
61150         [UNIX98] (pthread_spin_destroy): Likewise.
61151         [UNIX98] (pthread_spin_init): Likewise.
61152         [UNIX98] (pthread_spin_lock): Likewise.
61153         [UNIX98] (pthread_spin_trylock): Likewise.
61154         [UNIX98] (pthread_spin_unlock): Likewise.
61155         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61156         Do not expect.
61157         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61158         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61159         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61160         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61161         [XPG3 || XPG4] (pthread_key_t): Likewise.
61162         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61163         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61164         [XPG3 || XPG4] (pthread_once_t): Likewise.
61165         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61166         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61167         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61168         [XPG3 || XPG4] (pthread_t): Likewise.
61170         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61171         not expect.
61172         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61174         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61175         Change function return type to int.
61177         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61178         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61179         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61180         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61181         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61182         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61183         [!POSIX] (posix_madvise): Likewise.
61184         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61185         && !UNIX98].
61186         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61187         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61188         (mode_t): Likewise.
61189         (posix_mem_offset): Likewise.
61190         (posix_typed_mem_get_info): Likewise.
61191         (posix_typed_mem_open): Likewise.
61193         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61194         Change condition to [XOPEN2K8].
61196         * conform/conformtest.pl: Preprocess allow-header data with -x c
61197         instead of from stdin.
61198         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61199         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61200         [C99-based standards] (cerfc): Likewise.
61201         [C99-based standards] (cexp2): Likewise.
61202         [C99-based standards] (cexpm1): Likewise.
61203         [C99-based standards] (clog10): Likewise.
61204         [C99-based standards] (clog1p): Likewise.
61205         [C99-based standards] (clog2): Likewise.
61206         [C99-based standards] (clgamma): Likewise.
61207         [C99-based standards] (ctgamma): Likewise.
61208         [C99-based standards] (cerff): Likewise.
61209         [C99-based standards] (cerfcf): Likewise.
61210         [C99-based standards] (cexp2f): Likewise.
61211         [C99-based standards] (cexpm1f): Likewise.
61212         [C99-based standards] (clog10f): Likewise.
61213         [C99-based standards] (clog1pf): Likewise.
61214         [C99-based standards] (clog2f): Likewise.
61215         [C99-based standards] (clgammaf): Likewise.
61216         [C99-based standards] (ctgammaf): Likewise.
61217         [C99-based standards] (cerfl): Likewise.
61218         [C99-based standards] (cerfcl): Likewise.
61219         [C99-based standards] (cexp2l): Likewise.
61220         [C99-based standards] (cexpm1l): Likewise.
61221         [C99-based standards] (clog10l): Likewise.
61222         [C99-based standards] (clog1pl): Likewise.
61223         [C99-based standards] (clog2l): Likewise.
61224         [C99-based standards] (clgammal): Likewise.
61225         [C99-based standards] (ctgammal): Likewise.
61226         * conform/data/inttypes.h-data [C99-based standards]: Include
61227         stdint.h-data.  Remove all expectations for stdint.h contents.
61228         [C99-based standards] (PRI*): Do not allow.
61229         [C99-based standards] (SCN*): Likewise.
61230         [C99-based standards] (*_t): Likewise.
61231         [C99-based-standards] (PRId8): Expect macro.
61232         [C99-based-standards] (PRIi8): Likewise.
61233         [C99-based-standards] (PRIo8): Likewise.
61234         [C99-based-standards] (PRIu8): Likewise.
61235         [C99-based-standards] (PRIx8): Likewise.
61236         [C99-based-standards] (PRIX8): Likewise.
61237         [C99-based-standards] (SCNd8): Likewise.
61238         [C99-based-standards] (SCNi8): Likewise.
61239         [C99-based-standards] (SCNo8): Likewise.
61240         [C99-based-standards] (SCNu8): Likewise.
61241         [C99-based-standards] (SCNx8): Likewise.
61242         [C99-based-standards] (PRIdLEAST8): Likewise.
61243         [C99-based-standards] (PRIiLEAST8): Likewise.
61244         [C99-based-standards] (PRIoLEAST8): Likewise.
61245         [C99-based-standards] (PRIuLEAST8): Likewise.
61246         [C99-based-standards] (PRIxLEAST8): Likewise.
61247         [C99-based-standards] (PRIXLEAST8): Likewise.
61248         [C99-based-standards] (SCNdLEAST8): Likewise.
61249         [C99-based-standards] (SCNiLEAST8): Likewise.
61250         [C99-based-standards] (SCNoLEAST8): Likewise.
61251         [C99-based-standards] (SCNuLEAST8): Likewise.
61252         [C99-based-standards] (SCNxLEAST8): Likewise.
61253         [C99-based-standards] (PRIdFAST8): Likewise.
61254         [C99-based-standards] (PRIiFAST8): Likewise.
61255         [C99-based-standards] (PRIoFAST8): Likewise.
61256         [C99-based-standards] (PRIuFAST8): Likewise.
61257         [C99-based-standards] (PRIxFAST8): Likewise.
61258         [C99-based-standards] (PRIXFAST8): Likewise.
61259         [C99-based-standards] (SCNdFAST8): Likewise.
61260         [C99-based-standards] (SCNiFAST8): Likewise.
61261         [C99-based-standards] (SCNoFAST8): Likewise.
61262         [C99-based-standards] (SCNuFAST8): Likewise.
61263         [C99-based-standards] (SCNxFAST8): Likewise.
61264         [C99-based-standards] (PRId16): Likewise.
61265         [C99-based-standards] (PRIi16): Likewise.
61266         [C99-based-standards] (PRIo16): Likewise.
61267         [C99-based-standards] (PRIu16): Likewise.
61268         [C99-based-standards] (PRIx16): Likewise.
61269         [C99-based-standards] (PRIX16): Likewise.
61270         [C99-based-standards] (SCNd16): Likewise.
61271         [C99-based-standards] (SCNi16): Likewise.
61272         [C99-based-standards] (SCNo16): Likewise.
61273         [C99-based-standards] (SCNu16): Likewise.
61274         [C99-based-standards] (SCNx16): Likewise.
61275         [C99-based-standards] (PRIdLEAST16): Likewise.
61276         [C99-based-standards] (PRIiLEAST16): Likewise.
61277         [C99-based-standards] (PRIoLEAST16): Likewise.
61278         [C99-based-standards] (PRIuLEAST16): Likewise.
61279         [C99-based-standards] (PRIxLEAST16): Likewise.
61280         [C99-based-standards] (PRIXLEAST16): Likewise.
61281         [C99-based-standards] (SCNdLEAST16): Likewise.
61282         [C99-based-standards] (SCNiLEAST16): Likewise.
61283         [C99-based-standards] (SCNoLEAST16): Likewise.
61284         [C99-based-standards] (SCNuLEAST16): Likewise.
61285         [C99-based-standards] (SCNxLEAST16): Likewise.
61286         [C99-based-standards] (PRIdFAST16): Likewise.
61287         [C99-based-standards] (PRIiFAST16): Likewise.
61288         [C99-based-standards] (PRIoFAST16): Likewise.
61289         [C99-based-standards] (PRIuFAST16): Likewise.
61290         [C99-based-standards] (PRIxFAST16): Likewise.
61291         [C99-based-standards] (PRIXFAST16): Likewise.
61292         [C99-based-standards] (SCNdFAST16): Likewise.
61293         [C99-based-standards] (SCNiFAST16): Likewise.
61294         [C99-based-standards] (SCNoFAST16): Likewise.
61295         [C99-based-standards] (SCNuFAST16): Likewise.
61296         [C99-based-standards] (SCNxFAST16): Likewise.
61297         [C99-based-standards] (PRId32): Likewise.
61298         [C99-based-standards] (PRIi32): Likewise.
61299         [C99-based-standards] (PRIo32): Likewise.
61300         [C99-based-standards] (PRIu32): Likewise.
61301         [C99-based-standards] (PRIx32): Likewise.
61302         [C99-based-standards] (PRIX32): Likewise.
61303         [C99-based-standards] (SCNd32): Likewise.
61304         [C99-based-standards] (SCNi32): Likewise.
61305         [C99-based-standards] (SCNo32): Likewise.
61306         [C99-based-standards] (SCNu32): Likewise.
61307         [C99-based-standards] (SCNx32): Likewise.
61308         [C99-based-standards] (PRIdLEAST32): Likewise.
61309         [C99-based-standards] (PRIiLEAST32): Likewise.
61310         [C99-based-standards] (PRIoLEAST32): Likewise.
61311         [C99-based-standards] (PRIuLEAST32): Likewise.
61312         [C99-based-standards] (PRIxLEAST32): Likewise.
61313         [C99-based-standards] (PRIXLEAST32): Likewise.
61314         [C99-based-standards] (SCNdLEAST32): Likewise.
61315         [C99-based-standards] (SCNiLEAST32): Likewise.
61316         [C99-based-standards] (SCNoLEAST32): Likewise.
61317         [C99-based-standards] (SCNuLEAST32): Likewise.
61318         [C99-based-standards] (SCNxLEAST32): Likewise.
61319         [C99-based-standards] (PRIdFAST32): Likewise.
61320         [C99-based-standards] (PRIiFAST32): Likewise.
61321         [C99-based-standards] (PRIoFAST32): Likewise.
61322         [C99-based-standards] (PRIuFAST32): Likewise.
61323         [C99-based-standards] (PRIxFAST32): Likewise.
61324         [C99-based-standards] (PRIXFAST32): Likewise.
61325         [C99-based-standards] (SCNdFAST32): Likewise.
61326         [C99-based-standards] (SCNiFAST32): Likewise.
61327         [C99-based-standards] (SCNoFAST32): Likewise.
61328         [C99-based-standards] (SCNuFAST32): Likewise.
61329         [C99-based-standards] (SCNxFAST32): Likewise.
61330         [C99-based-standards] (PRId64): Likewise.
61331         [C99-based-standards] (PRIi64): Likewise.
61332         [C99-based-standards] (PRIo64): Likewise.
61333         [C99-based-standards] (PRIu64): Likewise.
61334         [C99-based-standards] (PRIx64): Likewise.
61335         [C99-based-standards] (PRIX64): Likewise.
61336         [C99-based-standards] (SCNd64): Likewise.
61337         [C99-based-standards] (SCNi64): Likewise.
61338         [C99-based-standards] (SCNo64): Likewise.
61339         [C99-based-standards] (SCNu64): Likewise.
61340         [C99-based-standards] (SCNx64): Likewise.
61341         [C99-based-standards] (PRIdLEAST64): Likewise.
61342         [C99-based-standards] (PRIiLEAST64): Likewise.
61343         [C99-based-standards] (PRIoLEAST64): Likewise.
61344         [C99-based-standards] (PRIuLEAST64): Likewise.
61345         [C99-based-standards] (PRIxLEAST64): Likewise.
61346         [C99-based-standards] (PRIXLEAST64): Likewise.
61347         [C99-based-standards] (SCNdLEAST64): Likewise.
61348         [C99-based-standards] (SCNiLEAST64): Likewise.
61349         [C99-based-standards] (SCNoLEAST64): Likewise.
61350         [C99-based-standards] (SCNuLEAST64): Likewise.
61351         [C99-based-standards] (SCNxLEAST64): Likewise.
61352         [C99-based-standards] (PRIdFAST64): Likewise.
61353         [C99-based-standards] (PRIiFAST64): Likewise.
61354         [C99-based-standards] (PRIoFAST64): Likewise.
61355         [C99-based-standards] (PRIuFAST64): Likewise.
61356         [C99-based-standards] (PRIxFAST64): Likewise.
61357         [C99-based-standards] (PRIXFAST64): Likewise.
61358         [C99-based-standards] (SCNdFAST64): Likewise.
61359         [C99-based-standards] (SCNiFAST64): Likewise.
61360         [C99-based-standards] (SCNoFAST64): Likewise.
61361         [C99-based-standards] (SCNuFAST64): Likewise.
61362         [C99-based-standards] (SCNxFAST64): Likewise.
61363         [C99-based-standards] (PRIdMAX): Likewise.
61364         [C99-based-standards] (PRIiMAX): Likewise.
61365         [C99-based-standards] (PRIoMAX): Likewise.
61366         [C99-based-standards] (PRIuMAX): Likewise.
61367         [C99-based-standards] (PRIxMAX): Likewise.
61368         [C99-based-standards] (PRIXMAX): Likewise.
61369         [C99-based-standards] (SCNdMAX): Likewise.
61370         [C99-based-standards] (SCNiMAX): Likewise.
61371         [C99-based-standards] (SCNoMAX): Likewise.
61372         [C99-based-standards] (SCNuMAX): Likewise.
61373         [C99-based-standards] (SCNxMAX): Likewise.
61374         [C99-based-standards] (PRIdPTR): Likewise.
61375         [C99-based-standards] (PRIiPTR): Likewise.
61376         [C99-based-standards] (PRIoPTR): Likewise.
61377         [C99-based-standards] (PRIuPTR): Likewise.
61378         [C99-based-standards] (PRIxPTR): Likewise.
61379         [C99-based-standards] (PRIXPTR): Likewise.
61380         [C99-based-standards] (SCNdPTR): Likewise.
61381         [C99-based-standards] (SCNiPTR): Likewise.
61382         [C99-based-standards] (SCNoPTR): Likewise.
61383         [C99-based-standards] (SCNuPTR): Likewise.
61384         [C99-based-standards] (SCNxPTR): Likewise.
61385         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61386         allow.
61387         * conform/data/stdint.h-data: Update comments to clarify
61388         requirements.
61389         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61390         type.
61391         [C99-based standards] (INT8_MAX): Likewise.
61392         [C99-based standards] (INT16_MIN): Likewise.
61393         [C99-based standards] (INT16_MAX): Likewise.
61394         [C99-based standards] (INT32_MIN): Likewise.
61395         [C99-based standards] (INT32_MAX): Likewise.
61396         [C99-based standards] (INT64_MIN): Likewise.
61397         [C99-based standards] (INT64_MAX): Likewise.
61398         [C99-based standards] (UINT8_MAX): Likewise.
61399         [C99-based standards] (UINT16_MAX): Likewise.
61400         [C99-based standards] (UINT32_MAX): Likewise.
61401         [C99-based standards] (UINT64_MAX): Likewise.
61402         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61403         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61404         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61405         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61406         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61407         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61408         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61409         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61410         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61411         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61412         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61413         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61414         [C99-based standards] (INT_FAST8_MIN): Likewise.
61415         [C99-based standards] (INT_FAST8_MAX): Likewise.
61416         [C99-based standards] (INT_FAST16_MIN): Likewise.
61417         [C99-based standards] (INT_FAST16_MAX): Likewise.
61418         [C99-based standards] (INT_FAST32_MIN): Likewise.
61419         [C99-based standards] (INT_FAST32_MAX): Likewise.
61420         [C99-based standards] (INT_FAST64_MIN): Likewise.
61421         [C99-based standards] (INT_FAST64_MAX): Likewise.
61422         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61423         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61424         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61425         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61426         [C99-based standards] (INTPTR_MIN): Likewise.
61427         [C99-based standards] (INTPTR_MAX): Likewise.
61428         [C99-based standards] (UINTPTR_MAX): Likewise.
61429         [C99-based standards] (INTMAX_MIN): Likewise.
61430         [C99-based standards] (INTMAX_MAX): Likewise.
61431         [C99-based standards] (UINTMAX_MAX): Likewise.
61432         [C99-based standards] (PTRDIFF_MIN): Likewise.
61433         [C99-based standards] (PTRDIFF_MAX): Likewise.
61434         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61435         [C99-based standards] (SIZE_MAX): Likewise.
61436         [C99-based standards] (WCHAR_MAX): Likewise.
61437         [C99-based standards] (WINT_MAX): Likewise.
61438         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61439         constraint on value.
61440         [C99-based standards] (WCHAR_MIN): Likewise.
61441         [C99-based standards] (WINT_MIN): Likewise.
61442         [C99-based standards] (*_t): Allow.
61443         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61444         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61445         Include math.h-data and complex.h-data.  Remove all expectations
61446         of math.h and complex.h contents.
61447         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61448         at end of line.
61449         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61450         (struct tm): Expect tag.
61451         [C99-based-standards] (wcstof): Expect function.
61452         [C99-based-standards] (wcstold): Likewise.
61453         [C99-based-standards] (wcstoll): Likewise.
61454         [C99-based-standards] (wcstoull): Likewise.
61455         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61456         macro-int-constant.  Specify type.
61457         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61458         constraint on value.
61459         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61460         Specify type.
61461         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61462         Specify value.
61463         [ISO C standards]: Do not allow headers.
61464         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61465         wcs[abcdefghijklmnopqrstuvwxyz]*.
61466         [ISO C standards] (*_t): Do not allow.
61467         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61468         Expect function.
61469         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61470         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61471         Specify type.
61472         [ISO C standards]: Do not allow headers.
61473         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61474         is[abcdefghijklmnopqrstuvwxyz]*.
61475         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61476         to[abcdefghijklmnopqrstuvwxyz]*.
61477         [ISO C standards] (*_t): Do not allow.
61478         * conform/data/stdalign.h-data: New file.
61479         * conform/data/stdbool.h-data: Likewise.
61480         * conform/data/stdnoreturn.h-data: Likewise.
61482 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61484         [BZ #14815]
61485         * manual/filesys.texi (Directory Entries): Typo fix.
61486         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61488 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61490         * elf/elf.h (EM_AARCH64): New macro.
61491         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61492         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61493         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61494         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61495         (R_AARCH64_TLSDESC): Likewise.
61496         (NT_ARM_TLS): Likewise.
61497         (NT_ARM_HW_BREAK): Likewise.
61498         (NT_ARM_HW_WATCH): Likewise.
61500 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61502         [BZ #14811]
61503         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61504         (__ieee754_powl): Saturate nonzero exponents with absolute value
61505         below 0x1p-79 to +/- 0x1p-79.
61506         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61507         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61508         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61509         nonzero exponents with absolute value below 0x1p-32 to +/-
61510         0x1p-32.
61511         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61512         (__ieee754_powl): Saturate nonzero exponents with absolute value
61513         below 0x1p-79 to +/- 0x1p-79.
61514         * math/libm-test.inc (pow_test): Add more tests.
61516 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61518         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61519         _dl_s390_cap_flags with kernel. Increase string length.
61520         (_dl_s390_platforms): Add z196 and zEC12.
61522 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61524         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61525         Change XOPEN21K to XOPEN2K.
61527 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61529         * string/memmove.c: Use memcpy when possible.
61531 2012-11-06  Andreas Jaeger  <aj@suse.de>
61533         * po/eo.po: Update from translation team.
61535 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61537         [BZ #14793]
61538         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61539         exponent and small x and y exponents, scale x or y up.  Increase
61540         by 2 the exponent used in scaling up.
61541         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61542         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61543         * math/libm-test.inc (fma_test): Add more tests.
61544         (fma_test_towardzero): Likewise.
61545         (fma_test_downward): Likewise.
61546         (fma_test_upward): Likewise.
61548 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61550         [BZ #14805]
61551         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61552         fenv_t *.
61554         [BZ #14801]
61555         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61556         namespace for names of struct fields.
61557         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61558         fenv_t fields.
61559         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61560         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61562 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61564         [BZ #3665]
61565         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61567 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61569         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61570         PTR_DEMANGLE.
61572         [BZ #5246]
61573         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61574         PTR_DEMANGLE.
61576 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61578         [BZ #14797]
61579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61580         definitely overflow as x * y not x * y + z.
61581         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61583         * math/libm-test.inc (fma_test): Add more tests.
61584         (fma_test_towardzero): Likewise.
61585         (fma_test_downward): Likewise.
61586         (fma_test_upward): Likewise.
61588 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61590         [BZ #157]
61592         * include/stub-tag.h: Remove file.
61593         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61594         '#include' of it.
61595         * manual/maint.texi (Porting): Don't reference it.
61596         * Makerules ($(objpfx)stubs): Likewise.
61597         * dirent/closedir.c: Don't include <stub-tag.h>.
61598         * dirent/dirfd.c: Likewise.
61599         * dirent/fdopendir.c: Likewise.
61600         * dirent/getdents.c: Likewise.
61601         * dirent/getdents64.c: Likewise.
61602         * dirent/opendir.c: Likewise.
61603         * dirent/readdir.c: Likewise.
61604         * dirent/readdir64.c: Likewise.
61605         * dirent/readdir64_r.c: Likewise.
61606         * dirent/readdir_r.c: Likewise.
61607         * dirent/rewinddir.c: Likewise.
61608         * dirent/seekdir.c: Likewise.
61609         * dirent/telldir.c: Likewise.
61610         * gmon/profil.c: Likewise.
61611         * grp/setgroups.c: Likewise.
61612         * inet/if_index.c: Likewise.
61613         * io/access.c: Likewise.
61614         * io/chdir.c: Likewise.
61615         * io/chmod.c: Likewise.
61616         * io/chown.c: Likewise.
61617         * io/close.c: Likewise.
61618         * io/dup.c: Likewise.
61619         * io/dup2.c: Likewise.
61620         * io/dup3.c: Likewise.
61621         * io/euidaccess.c: Likewise.
61622         * io/faccessat.c: Likewise.
61623         * io/fchdir.c: Likewise.
61624         * io/fchmod.c: Likewise.
61625         * io/fchmodat.c: Likewise.
61626         * io/fchown.c: Likewise.
61627         * io/fchownat.c: Likewise.
61628         * io/fcntl.c: Likewise.
61629         * io/flock.c: Likewise.
61630         * io/fstatfs.c: Likewise.
61631         * io/fstatfs64.c: Likewise.
61632         * io/fstatvfs.c: Likewise.
61633         * io/fstatvfs64.c: Likewise.
61634         * io/futimens.c: Likewise.
61635         * io/fxstat.c: Likewise.
61636         * io/fxstat64.c: Likewise.
61637         * io/fxstatat.c: Likewise.
61638         * io/fxstatat64.c: Likewise.
61639         * io/getcwd.c: Likewise.
61640         * io/isatty.c: Likewise.
61641         * io/lchmod.c: Likewise.
61642         * io/lchown.c: Likewise.
61643         * io/link.c: Likewise.
61644         * io/linkat.c: Likewise.
61645         * io/lseek.c: Likewise.
61646         * io/lseek64.c: Likewise.
61647         * io/lxstat64.c: Likewise.
61648         * io/mkdir.c: Likewise.
61649         * io/mkdirat.c: Likewise.
61650         * io/mkfifo.c: Likewise.
61651         * io/mkfifoat.c: Likewise.
61652         * io/open.c: Likewise.
61653         * io/open64.c: Likewise.
61654         * io/openat.c: Likewise.
61655         * io/openat64.c: Likewise.
61656         * io/pipe.c: Likewise.
61657         * io/pipe2.c: Likewise.
61658         * io/poll.c: Likewise.
61659         * io/posix_fadvise.c: Likewise.
61660         * io/posix_fadvise64.c: Likewise.
61661         * io/posix_fallocate.c: Likewise.
61662         * io/posix_fallocate64.c: Likewise.
61663         * io/read.c: Likewise.
61664         * io/readlink.c: Likewise.
61665         * io/readlinkat.c: Likewise.
61666         * io/rmdir.c: Likewise.
61667         * io/sendfile.c: Likewise.
61668         * io/sendfile64.c: Likewise.
61669         * io/statfs.c: Likewise.
61670         * io/statfs64.c: Likewise.
61671         * io/statvfs.c: Likewise.
61672         * io/statvfs64.c: Likewise.
61673         * io/symlink.c: Likewise.
61674         * io/symlinkat.c: Likewise.
61675         * io/ttyname.c: Likewise.
61676         * io/ttyname_r.c: Likewise.
61677         * io/umask.c: Likewise.
61678         * io/unlink.c: Likewise.
61679         * io/unlinkat.c: Likewise.
61680         * io/utime.c: Likewise.
61681         * io/utimensat.c: Likewise.
61682         * io/write.c: Likewise.
61683         * io/xmknod.c: Likewise.
61684         * io/xmknodat.c: Likewise.
61685         * io/xstat.c: Likewise.
61686         * io/xstat64.c: Likewise.
61687         * login/getpt.c: Likewise.
61688         * login/grantpt.c: Likewise.
61689         * login/unlockpt.c: Likewise.
61690         * math/e_acoshl.c: Likewise.
61691         * math/e_acosl.c: Likewise.
61692         * math/e_asinl.c: Likewise.
61693         * math/e_atan2l.c: Likewise.
61694         * math/e_atanhl.c: Likewise.
61695         * math/e_coshl.c: Likewise.
61696         * math/e_expl.c: Likewise.
61697         * math/e_fmodl.c: Likewise.
61698         * math/e_gammal_r.c: Likewise.
61699         * math/e_hypotl.c: Likewise.
61700         * math/e_j0l.c: Likewise.
61701         * math/e_j1l.c: Likewise.
61702         * math/e_jnl.c: Likewise.
61703         * math/e_lgammal_r.c: Likewise.
61704         * math/e_log10l.c: Likewise.
61705         * math/e_log2l.c: Likewise.
61706         * math/e_logl.c: Likewise.
61707         * math/e_powl.c: Likewise.
61708         * math/e_rem_pio2l.c: Likewise.
61709         * math/e_sinhl.c: Likewise.
61710         * math/e_sqrtl.c: Likewise.
61711         * math/fclrexcpt.c: Likewise.
61712         * math/fedisblxcpt.c: Likewise.
61713         * math/feenablxcpt.c: Likewise.
61714         * math/fegetenv.c: Likewise.
61715         * math/fegetexcept.c: Likewise.
61716         * math/fegetround.c: Likewise.
61717         * math/feholdexcpt.c: Likewise.
61718         * math/fesetenv.c: Likewise.
61719         * math/fesetround.c: Likewise.
61720         * math/feupdateenv.c: Likewise.
61721         * math/fgetexcptflg.c: Likewise.
61722         * math/fraiseexcpt.c: Likewise.
61723         * math/fsetexcptflg.c: Likewise.
61724         * math/ftestexcept.c: Likewise.
61725         * math/k_cosl.c: Likewise.
61726         * math/k_rem_pio2l.c: Likewise.
61727         * math/k_sinl.c: Likewise.
61728         * math/k_tanl.c: Likewise.
61729         * math/s_asinhl.c: Likewise.
61730         * math/s_atanl.c: Likewise.
61731         * math/s_cbrtl.c: Likewise.
61732         * math/s_erfl.c: Likewise.
61733         * math/s_expm1l.c: Likewise.
61734         * math/s_log1pl.c: Likewise.
61735         * math/s_tanhl.c: Likewise.
61736         * misc/acct.c: Likewise.
61737         * misc/brk.c: Likewise.
61738         * misc/chflags.c: Likewise.
61739         * misc/chroot.c: Likewise.
61740         * misc/fchflags.c: Likewise.
61741         * misc/fgetxattr.c: Likewise.
61742         * misc/flistxattr.c: Likewise.
61743         * misc/fremovexattr.c: Likewise.
61744         * misc/fsetxattr.c: Likewise.
61745         * misc/fsync.c: Likewise.
61746         * misc/ftruncate.c: Likewise.
61747         * misc/futimes.c: Likewise.
61748         * misc/futimesat.c: Likewise.
61749         * misc/getdomain.c: Likewise.
61750         * misc/getdtsz.c: Likewise.
61751         * misc/gethostid.c: Likewise.
61752         * misc/gethostname.c: Likewise.
61753         * misc/getloadavg.c: Likewise.
61754         * misc/getpagesize.c: Likewise.
61755         * misc/getsysstats.c: Likewise.
61756         * misc/getxattr.c: Likewise.
61757         * misc/gtty.c: Likewise.
61758         * misc/ioctl.c: Likewise.
61759         * misc/lgetxattr.c: Likewise.
61760         * misc/listxattr.c: Likewise.
61761         * misc/llistxattr.c: Likewise.
61762         * misc/lremovexattr.c: Likewise.
61763         * misc/lsetxattr.c: Likewise.
61764         * misc/lutimes.c: Likewise.
61765         * misc/madvise.c: Likewise.
61766         * misc/mincore.c: Likewise.
61767         * misc/mlock.c: Likewise.
61768         * misc/mlockall.c: Likewise.
61769         * misc/mmap.c: Likewise.
61770         * misc/mprotect.c: Likewise.
61771         * misc/msync.c: Likewise.
61772         * misc/munlock.c: Likewise.
61773         * misc/munlockall.c: Likewise.
61774         * misc/munmap.c: Likewise.
61775         * misc/preadv.c: Likewise.
61776         * misc/preadv64.c: Likewise.
61777         * misc/ptrace.c: Likewise.
61778         * misc/pwritev.c: Likewise.
61779         * misc/pwritev64.c: Likewise.
61780         * misc/readv.c: Likewise.
61781         * misc/reboot.c: Likewise.
61782         * misc/remap_file_pages.c: Likewise.
61783         * misc/removexattr.c: Likewise.
61784         * misc/revoke.c: Likewise.
61785         * misc/select.c: Likewise.
61786         * misc/setdomain.c: Likewise.
61787         * misc/setegid.c: Likewise.
61788         * misc/seteuid.c: Likewise.
61789         * misc/sethostid.c: Likewise.
61790         * misc/sethostname.c: Likewise.
61791         * misc/setregid.c: Likewise.
61792         * misc/setreuid.c: Likewise.
61793         * misc/setxattr.c: Likewise.
61794         * misc/sstk.c: Likewise.
61795         * misc/stty.c: Likewise.
61796         * misc/swapoff.c: Likewise.
61797         * misc/swapon.c: Likewise.
61798         * misc/sync.c: Likewise.
61799         * misc/syncfs.c: Likewise.
61800         * misc/syscall.c: Likewise.
61801         * misc/truncate.c: Likewise.
61802         * misc/ualarm.c: Likewise.
61803         * misc/usleep.c: Likewise.
61804         * misc/ustat.c: Likewise.
61805         * misc/utimes.c: Likewise.
61806         * misc/vhangup.c: Likewise.
61807         * misc/writev.c: Likewise.
61808         * posix/_exit.c: Likewise.
61809         * posix/alarm.c: Likewise.
61810         * posix/execve.c: Likewise.
61811         * posix/fexecve.c: Likewise.
61812         * posix/fork.c: Likewise.
61813         * posix/fpathconf.c: Likewise.
61814         * posix/getaddrinfo.c: Likewise.
61815         * posix/getegid.c: Likewise.
61816         * posix/geteuid.c: Likewise.
61817         * posix/getgid.c: Likewise.
61818         * posix/getgroups.c: Likewise.
61819         * posix/getlogin.c: Likewise.
61820         * posix/getlogin_r.c: Likewise.
61821         * posix/getpgid.c: Likewise.
61822         * posix/getpid.c: Likewise.
61823         * posix/getppid.c: Likewise.
61824         * posix/getresgid.c: Likewise.
61825         * posix/getresuid.c: Likewise.
61826         * posix/getsid.c: Likewise.
61827         * posix/getuid.c: Likewise.
61828         * posix/glob64.c: Likewise.
61829         * posix/nanosleep.c: Likewise.
61830         * posix/pathconf.c: Likewise.
61831         * posix/pause.c: Likewise.
61832         * posix/posix_madvise.c: Likewise.
61833         * posix/pread.c: Likewise.
61834         * posix/pread64.c: Likewise.
61835         * posix/pwrite.c: Likewise.
61836         * posix/pwrite64.c: Likewise.
61837         * posix/sched_getaffinity.c: Likewise.
61838         * posix/sched_getp.c: Likewise.
61839         * posix/sched_gets.c: Likewise.
61840         * posix/sched_primax.c: Likewise.
61841         * posix/sched_primin.c: Likewise.
61842         * posix/sched_rr_gi.c: Likewise.
61843         * posix/sched_setaffinity.c: Likewise.
61844         * posix/sched_setp.c: Likewise.
61845         * posix/sched_sets.c: Likewise.
61846         * posix/sched_yield.c: Likewise.
61847         * posix/setgid.c: Likewise.
61848         * posix/setlogin.c: Likewise.
61849         * posix/setpgid.c: Likewise.
61850         * posix/setresgid.c: Likewise.
61851         * posix/setresuid.c: Likewise.
61852         * posix/setsid.c: Likewise.
61853         * posix/setuid.c: Likewise.
61854         * posix/sleep.c: Likewise.
61855         * posix/spawni.c: Likewise.
61856         * posix/sysconf.c: Likewise.
61857         * posix/times.c: Likewise.
61858         * posix/wait.c: Likewise.
61859         * posix/wait3.c: Likewise.
61860         * posix/wait4.c: Likewise.
61861         * posix/waitpid.c: Likewise.
61862         * resolv/gai_sigqueue.c: Likewise.
61863         * resource/getpriority.c: Likewise.
61864         * resource/getrlimit.c: Likewise.
61865         * resource/getrusage.c: Likewise.
61866         * resource/nice.c: Likewise.
61867         * resource/setpriority.c: Likewise.
61868         * resource/setrlimit.c: Likewise.
61869         * resource/ulimit.c: Likewise.
61870         * rt/aio_cancel.c: Likewise.
61871         * rt/aio_fsync.c: Likewise.
61872         * rt/aio_read.c: Likewise.
61873         * rt/aio_sigqueue.c: Likewise.
61874         * rt/aio_suspend.c: Likewise.
61875         * rt/aio_write.c: Likewise.
61876         * rt/clock_getres.c: Likewise.
61877         * rt/clock_gettime.c: Likewise.
61878         * rt/clock_nanosleep.c: Likewise.
61879         * rt/clock_settime.c: Likewise.
61880         * rt/lio_listio.c: Likewise.
61881         * rt/mq_close.c: Likewise.
61882         * rt/mq_getattr.c: Likewise.
61883         * rt/mq_notify.c: Likewise.
61884         * rt/mq_open.c: Likewise.
61885         * rt/mq_receive.c: Likewise.
61886         * rt/mq_send.c: Likewise.
61887         * rt/mq_setattr.c: Likewise.
61888         * rt/mq_timedreceive.c: Likewise.
61889         * rt/mq_timedsend.c: Likewise.
61890         * rt/mq_unlink.c: Likewise.
61891         * rt/shm_open.c: Likewise.
61892         * rt/shm_unlink.c: Likewise.
61893         * rt/timer_create.c: Likewise.
61894         * rt/timer_delete.c: Likewise.
61895         * rt/timer_getoverr.c: Likewise.
61896         * rt/timer_gettime.c: Likewise.
61897         * rt/timer_settime.c: Likewise.
61898         * setjmp/__longjmp.c: Likewise.
61899         * setjmp/setjmp.c: Likewise.
61900         * signal/kill.c: Likewise.
61901         * signal/killpg.c: Likewise.
61902         * signal/raise.c: Likewise.
61903         * signal/sigaction.c: Likewise.
61904         * signal/sigaltstack.c: Likewise.
61905         * signal/sigblock.c: Likewise.
61906         * signal/sigignore.c: Likewise.
61907         * signal/sigintr.c: Likewise.
61908         * signal/signal.c: Likewise.
61909         * signal/sigpause.c: Likewise.
61910         * signal/sigpending.c: Likewise.
61911         * signal/sigqueue.c: Likewise.
61912         * signal/sigreturn.c: Likewise.
61913         * signal/sigset.c: Likewise.
61914         * signal/sigsetmask.c: Likewise.
61915         * signal/sigstack.c: Likewise.
61916         * signal/sigsuspend.c: Likewise.
61917         * signal/sigtimedwait.c: Likewise.
61918         * signal/sigvec.c: Likewise.
61919         * signal/sigwait.c: Likewise.
61920         * signal/sigwaitinfo.c: Likewise.
61921         * signal/sysv_signal.c: Likewise.
61922         * socket/accept.c: Likewise.
61923         * socket/accept4.c: Likewise.
61924         * socket/bind.c: Likewise.
61925         * socket/connect.c: Likewise.
61926         * socket/getpeername.c: Likewise.
61927         * socket/getsockname.c: Likewise.
61928         * socket/getsockopt.c: Likewise.
61929         * socket/isfdtype.c: Likewise.
61930         * socket/listen.c: Likewise.
61931         * socket/recv.c: Likewise.
61932         * socket/recvfrom.c: Likewise.
61933         * socket/recvmsg.c: Likewise.
61934         * socket/send.c: Likewise.
61935         * socket/sendmsg.c: Likewise.
61936         * socket/sendto.c: Likewise.
61937         * socket/setsockopt.c: Likewise.
61938         * socket/shutdown.c: Likewise.
61939         * socket/sockatmark.c: Likewise.
61940         * socket/socket.c: Likewise.
61941         * socket/socketpair.c: Likewise.
61942         * stdio-common/ctermid.c: Likewise.
61943         * stdio-common/cuserid.c: Likewise.
61944         * stdio-common/remove.c: Likewise.
61945         * stdio-common/rename.c: Likewise.
61946         * stdio-common/renameat.c: Likewise.
61947         * stdio-common/tempname.c: Likewise.
61948         * stdlib/getcontext.c: Likewise.
61949         * stdlib/makecontext.c: Likewise.
61950         * stdlib/setcontext.c: Likewise.
61951         * stdlib/swapcontext.c: Likewise.
61952         * stdlib/system.c: Likewise.
61953         * streams/fattach.c: Likewise.
61954         * streams/fdetach.c: Likewise.
61955         * streams/getmsg.c: Likewise.
61956         * streams/getpmsg.c: Likewise.
61957         * streams/putmsg.c: Likewise.
61958         * streams/putpmsg.c: Likewise.
61959         * sysdeps/unix/bsd/getpt.c: Likewise.
61960         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
61961         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
61962         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61964         Likewise.
61965         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
61966         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61967         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
61968         * sysvipc/msgctl.c: Likewise.
61969         * sysvipc/msgget.c: Likewise.
61970         * sysvipc/msgrcv.c: Likewise.
61971         * sysvipc/msgsnd.c: Likewise.
61972         * sysvipc/semctl.c: Likewise.
61973         * sysvipc/semget.c: Likewise.
61974         * sysvipc/semop.c: Likewise.
61975         * sysvipc/semtimedop.c: Likewise.
61976         * sysvipc/shmat.c: Likewise.
61977         * sysvipc/shmctl.c: Likewise.
61978         * sysvipc/shmdt.c: Likewise.
61979         * sysvipc/shmget.c: Likewise.
61980         * termios/tcdrain.c: Likewise.
61981         * termios/tcflow.c: Likewise.
61982         * termios/tcflush.c: Likewise.
61983         * termios/tcgetattr.c: Likewise.
61984         * termios/tcgetpgrp.c: Likewise.
61985         * termios/tcsendbrk.c: Likewise.
61986         * termios/tcsetattr.c: Likewise.
61987         * termios/tcsetpgrp.c: Likewise.
61988         * time/adjtime.c: Likewise.
61989         * time/clock.c: Likewise.
61990         * time/getitimer.c: Likewise.
61991         * time/gettimeofday.c: Likewise.
61992         * time/setitimer.c: Likewise.
61993         * time/settimeofday.c: Likewise.
61994         * time/stime.c: Likewise.
61995         * time/time.c: Likewise.
61997 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61999         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62000         /usr/old/bin.
62002         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62003         instead of spaces.
62004         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62006 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62008         [BZ #14796]
62009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62010         FE_TONEAREST before applying Dekker multiplication and Knuth
62011         addition.  Clear inexact exceptions and check for exact zero
62012         results afterwards.
62013         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62014         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62015         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62016         * math/libm-test.inc (fma_test): Add more tests.
62017         (fma_test_towardzero): Likewise.
62018         (fma_test_downward): Likewise.
62019         (fma_test_upward): Likewise.
62020         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62021         function.
62022         (libc_fesetround): New macro.
62023         (libc_fesetroundf): Likewise.
62024         (libc_fesetroundl): Likewise.
62025         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62026         function.
62027         (libc_fesetround_387): Likewise.
62028         (libc_fesetroundf): New macro.
62029         (libc_fesetround): Likewise.
62030         (libc_fesetroundl): Likewise.
62031         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62032         function.
62033         (libc_fesetroundf): New macro.
62034         (libc_fesetround): Likewise.
62035         (libc_fesetroundl): Likewise.
62036         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62037         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62038         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62039         libm_hidden_ver.
62040         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62041         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62042         libm_hidden_def.
62043         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62044         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62045         libm_hidden_ver.
62046         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62047         libm_hidden_def.
62049         [BZ #3439]
62050         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62051         integer constant usable in #if and use that to give value to enum
62052         constant.
62053         (FE_DIVBYZERO): Likewise.
62054         (FE_UNDERFLOW): Likewise.
62055         (FE_OVERFLOW): Likewise.
62056         (FE_INVALID): Likewise.
62057         (FE_INVALID_SNAN): Likewise.
62058         (FE_INVALID_ISI): Likewise.
62059         (FE_INVALID_IDI): Likewise.
62060         (FE_INVALID_ZDZ): Likewise.
62061         (FE_INVALID_IMZ): Likewise.
62062         (FE_INVALID_COMPARE): Likewise.
62063         (FE_INVALID_SOFTWARE): Likewise.
62064         (FE_INVALID_SQRT): Likewise.
62065         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62066         (FE_TONEAREST): Likewise.
62067         (FE_TOWARDZERO): Likewise.
62068         (FE_UPWARD): Likewise.
62069         (FE_DOWNWARD): Likewise.
62070         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62071         (FE_DIVBYZERO): Likewise.
62072         (FE_OVERFLOW): Likewise.
62073         (FE_UNDERFLOW): Likewise.
62074         (FE_INEXACT): Likewise.
62075         (FE_TONEAREST): Likewise.
62076         (FE_DOWNWARD): Likewise.
62077         (FE_UPWARD): Likewise.
62078         (FE_TOWARDZERO): Likewise.
62079         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62080         (FE_UNDERFLOW): Likewise.
62081         (FE_OVERFLOW): Likewise.
62082         (FE_DIVBYZERO): Likewise.
62083         (FE_INVALID): Likewise.
62084         (FE_TONEAREST): Likewise.
62085         (FE_TOWARDZERO): Likewise.
62086         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62087         (FE_OVERFLOW): Likewise.
62088         (FE_UNDERFLOW): Likewise.
62089         (FE_DIVBYZERO): Likewise.
62090         (FE_INEXACT): Likewise.
62091         (FE_TONEAREST): Likewise.
62092         (FE_TOWARDZERO): Likewise.
62093         (FE_UPWARD): Likewise.
62094         (FE_DOWNWARD): Likewise.
62095         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62096         (FE_DIVBYZERO): Likewise.
62097         (FE_OVERFLOW): Likewise.
62098         (FE_UNDERFLOW): Likewise.
62099         (FE_INEXACT): Likewise.
62100         (FE_TONEAREST): Likewise.
62101         (FE_DOWNWARD): Likewise.
62102         (FE_UPWARD): Likewise.
62103         (FE_TOWARDZERO): Likewise.
62105 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62107         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62109 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62111         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62112         commands.  Quote $PWD.
62113         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62114         -x" by "export".
62115         (remove_newlines): Remove.
62117 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62119         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62120         * stdlib/stdlib.h (atof): Moved to ...
62121         * include/bits/stdlib-float.h: Here.  New file.
62122         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62123         * stdlib/bits/stdlib-float.h: New file.
62124         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62125         -mno-sse -mno-mmx.
62126         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62127         <xmmintrin.h>.
62129 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62131         * conform/conformtest.pl (@headers): Add fenv.h.
62132         * conform/data/fenv.h-data: New file.
62133         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62134         include of <math/fenv.h>.
62136         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62137         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62138         && !UNIX98].  Enables tests for XOPEN2K8.
62139         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62140         POSIX2008]: Likewise.
62142         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62143         (struct rusage): Do not expect type or its members.
62145         [BZ #3439]
62146         * math/math.h (FP_NAN): Define macro to integer constant usable in
62147         #if and use that to give value to enum constant.
62148         (FP_INFINITE): Likewise.
62149         (FP_ZERO): Likewise.
62150         (FP_SUBNORMAL): Likewise.
62151         (FP_NORMAL): Likewise.
62153 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62155         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62156         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62157         arguments.
62159 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62161         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62162         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62163         autoconf-time if not.
62164         * configure.in: Remove AC_PREREQ.
62166 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62168         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62169         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62170         of the internal implementation.
62172 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62174         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62175         except include of <misc/sys/syslog.h>.
62177 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62180         function returns with a NULL context exit with zero.
62182 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62184         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62186 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62188         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62189         (run_program_cmd): This.
62190         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62191         (tst_langinfo): New variable.  Use it.
62193 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62195         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62196         floating point opcodes.
62198 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62200         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62201         variable.
62203         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62205         * sysdeps/mach/hurd/powerpc: Remove directory.
62206         * sysdeps/mach/powerpc: Likewise.
62208 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62210         * scripts/check-local-headers.sh: Ignore c++ headers.
62212 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62214         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62215         __libc_cleanup_region_start argument.
62217 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62219         [BZ #14784]
62220         [BZ #14785]
62221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62222         x * y using scaling, not as x * y + z.
62223         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62224         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62225         * math/libm-test.inc (fma_test): Add more tests.
62226         (fma_test_towardzero): Likewise.
62227         (fma_test_downward): Likewise.
62228         (fma_test_upward): Likewise.
62230 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62232         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62234 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62236         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62237         New variable.
62239 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62241         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62243 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62246         Fix sort order.
62247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62248         Likewise.
62250 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62253         Fix the order of the list for glibc 2.17.
62254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62255         Likewise.
62257 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62261 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62263         [BZ #14610]
62264         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62265         for low part of x being zero before using __atanl (y).
62266         * math/libm-test.inc (atan2_test): Add another test.
62268         * manual/install.texi (Configuring and compiling): Document
62269         general use of test-wrapper and test-wrapper-env.
62270         * INSTALL: Regenerated.
62272         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62273         (__fma): Do not extract and scale down low bits on after-rounding
62274         systems when result rounded to normal precision would have normal
62275         exponent.
62276         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62277         (__fmal): Do not extract and scale down low bits on after-rounding
62278         systems when result rounded to normal precision would have normal
62279         exponent.
62280         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62281         (__fmal): Do not extract and scale down low bits on after-rounding
62282         systems when result rounded to normal precision would have normal
62283         exponent.
62284         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62285         macro.
62286         (fma_test): Add more tests.
62287         (fma_test_towardzero): Likewise.
62288         (fma_test_downward): Likewise.
62289         (fma_test_upward): Likewise.
62291 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62293         * sysdeps/i386/tininess.h: Renamed to ...
62294         * sysdeps/x86/tininess.h: This.
62295         * sysdeps/x86_64/tininess.h: Removed.
62297 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62299         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62300         input.  Use $(build-program-cmd).
62301         ($(objpfx)tst-array1-static.out): Likewise.
62302         ($(objpfx)tst-array2.out): Likewise.
62303         ($(objpfx)tst-array3.out): Likewise.
62304         ($(objpfx)tst-array4.out): Likewise.
62305         ($(objpfx)tst-array5.out): Likewise.
62306         ($(objpfx)tst-array5-static.out): Likewise.
62308 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62310         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62311         if defined.
62313         * nss/nsswitch.h (nss_interface_function): Provide new
62314         macro for use with NSS functions.
62315         * grp/initgroups.c: Use new macro.
62316         * nss/getXXbyYY.c: Likewise.
62317         * nss/getXXbyYY_r.c: Likewise.
62318         * nss/getXXent.c: Likewise.
62319         * nss/getXXent_r.c: Likewise.
62320         * sysdeps/posix/getaddrinfo.c: Likewise.
62322 2012-10-30  Andreas Jaeger  <aj@suse.de>
62324         * po/ru.po: Update Russion translation from translation project.
62326 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62328         [BZ #14152]
62329         [BZ #14783]
62330         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62331         result and shift together with sticky bit instead of replicating
62332         round-to-nearest rounding.
62333         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62334         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62335         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62336         missing underflow exceptions.
62337         (fma_test_towardzero): Add more tests.
62338         (fma_test_downward): Likewise.
62339         (fma_test_upward): Likewise.
62341         [BZ #14047]
62342         * sysdeps/generic/tininess.h: New file.
62343         * sysdeps/i386/tininess.h: Likewise.
62344         * sysdeps/sh/tininess.h: Likewise.
62345         * sysdeps/x86_64/tininess.h: Likewise.
62346         * stdlib/tst-strtod-underflow.c: Likewise.
62347         * stdlib/tst-tininess.c: Likewise.
62348         * stdlib/strtod_l.c: Include <tininess.h>.
62349         (round_and_return): Do not set errno for exact underflow cases.
62350         Force an underflow exception when setting errno for underflow.
62351         Determine underflow based on rounding to normal precision if
62352         TININESS_AFTER_ROUNDING.
62353         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62354         ERANGE for exact underflow cases.
62355         * stdlib/Makefile (tests): Add tst-tininess and
62356         tst-strtod-underflow.
62357         ($(objpfx)tst-tininess): Use $(link-libm).
62358         ($(objpfx)tst-strtod-underflow): Likewise.
62360 2012-10-30  Andreas Jaeger  <aj@suse.de>
62362         [BZ#14767]
62363         * elf/Makefile (tests): Remove conditional for have-initfini-array
62364         since this is now always required and the variable does not exist
62365         anymore.
62366         (tests-static): Likewise.
62367         (modules-names): Likewise.
62369         * po/eo.po: Add Esperanto translation from translation project.
62371         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62372         merged with constructor/destructor.
62373         (init_array): Likewise.
62374         * elf/tst-array2dep.c (fini_array): Likewise.
62375         (init_array): Likewise.
62377 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62379         * manual/message.texi: Delete @cartouche tags.
62381 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62383         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62384         EOPNOTSUPP.
62385         * sysdeps/mach/hurd/fsync.c: Likewise.
62387         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62388         [_POSIX_REALTIME_SIGNALS]: Change condition to
62389         [_POSIX_REALTIME_SIGNALS > 0].
62391 2012-10-27  Andreas Jaeger  <aj@suse.de>
62393         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62394         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62395         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62396         [__WORDSIZE != 64]: Likewise.
62398 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62400         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62401         *  iconvdata/tst-tables.sh: Likewise.
62403 2012-10-25  David S. Miller  <davem@davemloft.net>
62405         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62406         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62407         of strtoull.
62409         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62410         ifunc-impl-list.c
62411         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62412         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62413         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62414         file.
62416 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62418         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62419         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62420         __getdirentries.
62422 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62423             Jim Blandy  <jimb@codesourcery.com>
62425         * scripts/cross-test-ssh.sh: New file.
62426         * manual/install.texi (Configuring and compiling): Document use of
62427         cross-test-ssh.sh.
62428         * INSTALL: Regenerated.
62430 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62432         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62433         EOPNOTSUPP.
62435 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62437         * Makeconfig (run-program-prefix): Fix comment.
62439 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62440             Jim Blandy  <jimb@codesourcery.com>
62442         * Makeconfig (test-wrapper): New variable,
62443         (test-wrapper-env): Likewise.
62444         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62445         (run-built-tests): Define to yes.
62446         (run-program-prefix): Use $(test-wrapper).
62447         (built-program-cmd): Likewise.
62448         * Rules (make-test-out): Use $(test-wrapper-env) and
62449         $(host-built-program-cmd).
62450         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62451         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62452         tst-pathopt.sh.
62453         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62454         $(test-wrapper-env) to tst-rtld-load-self.sh.
62455         ($(objpfx)order2.out): Use $(test-wrapper).
62456         ($(objpfx)tst-initorder.out): Likewise.
62457         ($(objpfx)tst-initorder2.out): Likewise.
62458         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62459         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62460         (test_wrapper_env): New variable.  Use it to run ld.so.
62461         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62462         Use it to run ld.so.
62463         (test_wrapper_env): Likewise.
62464         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62465         $(test-wrapper) to run-iconv-test.sh.
62466         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62467         (ICONV): Use $test_wrapper.
62468         * posix/Makefile ($(objpfx)globtest.out): Pass
62469         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62470         globtest.sh, not $(run-program-prefix).
62471         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62472         (test_wrapper): Likewise.
62473         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62474         set together with run_via_rtld_prefix.
62475         (run_program_prefix): Define in terms of test_wrapper and
62476         run_via_rtld_prefix.
62478 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62480         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62481         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62482         Targets removed.
62484         [BZ #14743]
62485         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62486         Declare __clock_getres, __clock_gettime, __clock_settime,
62487         __clock_nanosleep, and __clock_getcpuclockid.
62488         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62489         Remove librt_hidden_def (clock_gettime).
62490         * sysdeps/unix/clock_gettime.c: Likewise.
62491         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62492         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62493         * rt/clock_getres.c: Define __clock_getres as an alias.
62494         * sysdeps/posix/clock_getres.c: Likewise.
62495         * rt/clock_settime.c: Define __clock_settime as an alias.
62496         * sysdeps/unix/clock_settime.c: Likewise.
62497         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62498         * sysdeps/unix/clock_nanosleep.c: Likewise.
62499         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62500         * rt/clock-compat.c: New file.
62501         * rt/Makefile (librt-routines): Add clock-compat and move
62502         $(clock-routines) to ...
62503         (routines): ... here, new variable.
62504         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62505         Don't add get_clockfreq here.
62506         * rt/Versions (libc: GLIBC_2.17): New version set.
62507         Add clock_* symbols here.
62508         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62509         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62510         (GLIBC_2.17): Add clock_* symbols.
62511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62513         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62515         Likewise.
62516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62517         Likewise.
62518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62522         * NEWS: Mention the move.
62524         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62525         Use __open, __read, __close rather than their public counterparts.
62526         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62527         (__get_clockfreq_via_cpuinfo): Likewise.
62528         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62529         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62531         * config.h.in (HAVE_IFUNC): New #undef.
62532         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62533         was successful.
62534         * configure: Regenerated.
62536 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62538         * configure.in: Move READELF check to start of file.
62539         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62540         libc_cv_asm_gnu_indirect_function in the process.
62541         * configure: Regenerated.
62543 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62545         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62546         send the output to /dev/null.
62547         (libc_cv_cc_with_libunwind): Likewise.
62548         (libc_cv_as_noexecstack): Likewise.
62549         * configure: Regenerate.
62551 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62553         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62555         * posix/globtest.sh (TMPDIR): Do not set.
62556         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62557         (testout): Likewise.
62559 2012-10-24  Andreas Jaeger  <aj@suse.de>
62561         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62562         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62563         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62564         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62565         posix_fadvise64, posix_fallocate64.
62567         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62568         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62569         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62570         Likewise.
62571         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62572         Likewise.
62573         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62575         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62576         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62577         <bits/fcntl-linux.h>.
62578         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62580         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62581         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62582         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62583         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62584         [__WORDSIZE != 64]: Likewise.
62586 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62588         * Makeconfig (run-built-tests): New variable.
62589         * Rules [$(cross-compiling) = yes]: Change condition to
62590         [$(run-built-tests) = no].
62591         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62592         to [$(run-built-tests) = yes].
62593         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62594         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62595         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62596         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62597         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62598         * io/Makefile [$(cross-compiling) = no]: Likewise.
62599         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62600         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62601         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62602         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62603         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62604         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62605         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62606         * string/Makefile [$(cross-compiling) = no]: Likewise.
62608         * posix/Makefile ($(objpfx)globtest.out): Pass
62609         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62610         $(rtld-installed-name).
62611         * posix/globtest.sh (elf_objpfx): Remove variable.
62612         (rtld_installed_name): Likewise.
62613         (library_path): Likewise.
62614         (run_program_prefix): New variable.  Use for running globtest
62615         binary.
62617 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62618             Joseph Myers  <joseph@codesourcery.com>
62620         * Makeconfig (host-built-program-cmd): New variable.
62621         * elf/Makefile (tst-stackguard1-ARGS): Use
62622         $(host-built-program-cmd).
62623         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62624         (tst-spawn-ARGS): Likewise.
62625         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62627 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62628             Jim Blandy  <jimb@codesourcery.com>
62630         * Makeconfig (run-via-rtld-prefix): New variable.
62631         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62632         (built-program-cmd): Likewise.
62634 2012-10-22  Andreas Jaeger  <aj@suse.de>
62636         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62637         __O_RSYNC if it exists, otherwise to O_SYNC.
62639 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62640             Joseph Myers  <joseph@codesourcery.com>
62642         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62643         /dev/null.
62644         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62645         from /dev/null
62646         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62647         /dev/null.
62649 2012-10-22  Andreas Jaeger  <aj@suse.de>
62651         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62652         Define always.
62653         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62656         bits/fcntl-linux.h.
62658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62659         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62661         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62662         to __O_LARGEFILE.
62663         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62664         to __O_LARGEFILE.
62666 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62667             Joseph Myers  <joseph@codesourcery.com>
62669         * config.make.in (NM): New variable.
62671 2012-10-21  Andreas Jaeger  <aj@suse.de>
62673         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62674         definitions and declarations that are provided by
62675         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62677 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62679         [BZ #14683]
62680         * elf/Makefile (tests-static): Add tst-leaks1-static.
62681         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62682         ($(objpfx)tst-leaks1-static): New rule.
62683         ($(objpfx)tst-leaks1-static-mem): Likewise.
62684         (tst-leaks1-static-ENV): New macro.
62685         * elf/dl-open.c (dl_open_worker): Check the main application
62686         only if SHARED is defined.
62687         * elf/tst-leaks1-static.c: New file.
62689 2012-10-20  Andreas Jaeger  <aj@suse.de>
62691         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62692         generic values for Linux.
62693         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62694         and declarations that are provided by <bits/fcntl-linux.h> and
62695         include <bits/fcntl-linux.h>.
62696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62697         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62699 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62701         * io/fcntl.h: Move include of <bits/types.h> to the top and
62702         include it unconditionally.
62704 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62706         * wcsmbs/Makefile (tests-ifunc): New variable.
62707         (tests): Add $(tests-ifunc).
62708         * wcsmbs/test-wcschr-ifunc.c: New file.
62709         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62710         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62711         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62712         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62713         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62715         * string/Makefile (tests-ifunc): New variable.
62716         (tests): Add $(tests-ifunc).
62717         * string/test-memccpy.c (TEST_NAME): New macro.
62718         * string/test-memchr.c (TEST_NAME): Likewise.
62719         * string/test-memcmp.c (TEST_NAME): Likewise.
62720         * string/test-memcpy.c (TEST_NAME): Likewise.
62721         * string/test-memmem.c (TEST_NAME): Likewise.
62722         * string/test-memmove.c (TEST_NAME): Likewise.
62723         * string/test-memset.c (TEST_NAME): Likewise.
62724         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62725         * string/test-stpcpy.c (TEST_NAME): Likewise.
62726         * string/test-stpncpy.c (TEST_NAME): Likewise.
62727         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62728         * string/test-strcasestr.c (TEST_NAME): Likewise.
62729         * string/test-strcat.c (TEST_NAME): Likewise.
62730         * string/test-strchr.c (TEST_NAME): Likewise.
62731         * string/test-strcmp.c(TEST_NAME): Likewise.
62732         * string/test-strcpy.c (TEST_NAME): Likewise.
62733         * string/test-strcspn.c (TEST_NAME): Likewise.
62734         * string/test-strlen.c (TEST_NAME): Likewise.
62735         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62736         * string/test-strncmp.c (TEST_NAME): Likewise.
62737         * string/test-strncpy.c (TEST_NAME): Likewise.
62738         * string/test-strnlen.c (TEST_NAME): Likewise.
62739         * string/test-strpbrk.c (TEST_NAME): Likewise.
62740         * string/test-strrchr.c (TEST_NAME): Likewise.
62741         * string/test-strspn.c (TEST_NAME): Likewise.
62742         * string/test-strstr.c (TEST_NAME): Likewise.
62743         * string/test-bcopy-ifunc.c: New file.
62744         * string/test-bzero-ifunc.c: Likewise.
62745         * string/test-memccpy-ifunc.c: Likewise.
62746         * string/test-memchr-ifunc.c: Likewise.
62747         * string/test-memcmp-ifunc.c: Likewise.
62748         * string/test-memcpy-ifunc.c: Likewise.
62749         * string/test-memmem-ifunc.c: Likewise.
62750         * string/test-memmove-ifunc.c: Likewise.
62751         * string/test-mempcpy-ifunc.c: Likewise.
62752         * string/test-memset-ifunc.c: Likewise.
62753         * string/test-rawmemchr-ifunc.c: Likewise.
62754         * string/test-stpcpy-ifunc.c: Likewise.
62755         * string/test-stpncpy-ifunc.c: Likewise.
62756         * string/test-strcasecmp-ifunc.c: Likewise.
62757         * string/test-strcasestr-ifunc.c: Likewise.
62758         * string/test-strcat-ifunc.c: Likewise.
62759         * string/test-strchr-ifunc.c: Likewise.
62760         * string/test-strchrnul-ifunc.c: Likewise.
62761         * string/test-strcmp-ifunc.c: Likewise.
62762         * string/test-strcpy-ifunc.c: Likewise.
62763         * string/test-strcspn-ifunc.c: Likewise.
62764         * string/test-strlen-ifunc.c: Likewise.
62765         * string/test-strncasecmp-ifunc.c: Likewise.
62766         * string/test-strncat-ifunc.c: Likewise.
62767         * string/test-strncmp-ifunc.c: Likewise.
62768         * string/test-strncpy-ifunc.c: Likewise.
62769         * string/test-strnlen-ifunc.c: Likewise.
62770         * string/test-strpbrk-ifunc.c: Likewise.
62771         * string/test-strrchr-ifunc.c: Likewise.
62772         * string/test-strspn-ifunc.c: Likewise.
62773         * string/test-strstr-ifunc.c: Likewise.
62775         * debug/Makefile (tests-ifunc): New variable.
62776         (tests): Add $(tests-ifunc).
62777         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62778         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62779         * debug/test-stpcpy_chk-ifunc.c: New file.
62780         * debug/test-strcpy_chk-ifunc.c: Likewise.
62782 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62784         [BZ #13601]
62785         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62786         header is not read in.
62788 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62790         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62791         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62792         directly.  Pass built executable to script as
62793         $(built-program-cmd).
62794         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
62795         $testprogram without using LD_LIBRARY_PATH and $ldso.
62797         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
62798         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
62799         $(rtld-installed-name).
62800         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
62801         (rtld_installed_name): Likewise.
62802         (library_path): Likewise.
62803         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
62804         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
62805         $(run-program-prefix) to tst-tables.sh.
62806         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
62807         it to run tst-table-from and tst-table-to.
62808         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
62809         Pass it to tst-table.sh.
62810         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
62811         $(run-program-prefix) to tst-gettext.sh.
62812         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
62813         tst-translit.sh.
62814         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
62815         tst-gettext2.sh.
62816         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
62817         to run tst-gettext.
62818         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
62819         to run tst-gettext2.
62820         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
62821         to run tst-translit.
62822         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
62823         $(run-program-prefix) to tst-mtrace.sh.
62824         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
62825         to run tst-mtrace.
62826         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
62827         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
62828         $(rtld-installed-name).
62829         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
62830         (rtld_installed_name): Likewise.
62831         (run_program_prefix): New variable.  Use it to run wordexp-test.
62833         * Makeconfig (ARCH): Remove all definitions.
62834         (machine): Likewise.
62835         [ARCH]: Remove conditional code.
62836         [!objdir]: Give error.
62837         [!objdir] (objpfx): Remove.
62838         [!objdir] (common-objpfx): Likewise.
62839         [!objdir] (common-objdir): Likewise.
62840         * configure.in (config_makefile): Remove.  Hardcode Makefile in
62841         AC_CONFIG_FILES call.
62842         * configure: Regenerated.
62844         [BZ #13888]
62845         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
62846         or TMPDIR.
62847         (testout): Likewise.
62849         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
62850         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
62851         $(rtld-installed-name).
62852         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
62853         (rtld_installed_name): Likwise.
62854         (runit): Remove function.
62855         (run_getconf): New variable,  Use it for running getconf binary.
62857 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
62859         [BZ #14716]
62860         * string/test-memmem.c (check_result): New function.
62861         (do_one_test): Use it.
62862         (check1): New function.
62863         (test_main): Use it.
62865 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
62867         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
62869 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
62871         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
62872         (_G_LSEEK64): Likewise.
62873         (_G_MMAP64): Likewise.
62874         (_G_FSTAT64): Likewise.
62875         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
62876         (_G_LSEEK64): Likewise.
62877         (_G_MMAP64): Likewise.
62878         (_G_FSTAT64): Likewise.
62879         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
62880         unconditional.  Call __mmap64 directly.
62881         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
62882         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
62883         __lseek64 directly.
62884         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62885         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
62886         __mmap64 directly.
62887         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
62888         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62889         __lseek64 directly.
62890         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
62891         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62892         __lseek64 directly.
62893         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
62894         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
62895         __lseek64 directly.
62896         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
62897         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
62898         __fxstat64 directly.
62899         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
62900         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
62901         unconditional.
62902         (freopen64) [!_G_OPEN64]: Remove conditional code.
62903         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
62904         unconditional.
62905         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
62906         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
62907         unconditional.
62908         (ftello64) [!_G_LSEEK64]: Remove conditional code.
62909         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
62910         unconditional.
62911         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62912         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
62913         unconditional.
62914         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
62915         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
62916         unconditional.
62917         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62918         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
62919         unconditional.
62920         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62921         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
62922         unconditional.
62923         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62925 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62927         [BZ #12140]
62928         * manual/memory.texi (Malloc Tunable Parameters): Add note
62929         about free list pointers overwriting some perturb bytes.
62930         Wording suggested by Roland McGrath.
62932 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
62934         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
62935         (lgamma_test): Likewise.
62936         (tgamma_test): Likewise.
62938 2012-10-16  Florian Weimer  <fweimer@redhat.com>
62940         [BZ #14700]
62941         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
62942         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
62944 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
62946         * NEWS: Mention BZ #14716.
62947         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
62948         when removing AVAILABLE1_USES_J macro.
62950 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
62952         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
62953         (__bswap_64): __uint64_t for unsigned 64-bit int.
62955 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
62957         * include/string.h (memmem): Declare libc hidden alias.
62958         * string/memmem.c (memmem): Define libc hidden alias.
62959         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
62960         __read, __close instead of open, read, close.
62962 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
62964         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
62965         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
62966         global and hidden.
62967         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
62968         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
62969         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
62970         Likewise.
62971         (__rawmemchr_sse2): Likewise.
62972         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
62973         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
62974         (__strchr_sse2): Likewise.
62975         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
62976         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62977         (__strcasecmp_sse2): Likewise.
62978         (__strncasecmp_sse2): Likewise.
62979         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62980         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62981         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62982         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62983         (__strrchr_sse2): Likewise.
62984         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62985         ifunc-impl-list.c.
62986         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62987         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62988         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62989         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62990         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62991         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62992         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62993         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62994         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62995         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62996         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62997         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62998         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62999         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63000         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63001         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63002         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63003         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63004         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63005         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63006         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63007         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63008         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63009         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63010         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63011         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63012         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63013         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63014         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63015         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63017         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63018         global and hidden.
63019         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63020         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63021         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63022         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63023         Likewise.
63024         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63025         Likewise.
63026         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63027         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63028         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63029         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63030         ifunc-impl-list.c.
63031         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63032         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63033         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63034         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63035         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63036         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63037         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63038         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63039         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63040         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63041         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63042         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63043         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63044         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63045         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63046         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63047         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63048         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63049         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63050         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63051         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63052         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63053         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63054         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63055         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63056         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63057         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63058         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63059         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63060         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63061         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63062         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63063         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63064         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63065         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63066         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63067         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63068         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63069         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63070         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63071         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63073         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63074         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63075         * include/ifunc-impl-list.h: New file.
63076         * misc/ifunc-impl-list.c: Likewise.
63077         * misc/Makefile (routines): Add ifunc-impl-list.
63078         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63079         * string/test-string.h: Include <ifunc-impl-list.h>.
63080         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63081         TEST_NAME]: New variables.
63082         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63083         are defined.
63084         (test_init): Call __libc_ifunc_impl_list to initialize
63085         func_list if TEST_IFUNC and TEST_NAME are defined.
63087         * string/Makefile (strop-tests): Add bcopy and bzero.
63088         * string/test-bcopy.c: New file.
63089         * string/test-bzero.c: Likewise.
63090         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63091         defined.
63092         * string/test-memset.c: Support bzero test if TEST_BZERO is
63093         defined.
63094         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63095         __libc_memmove.
63096         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63097         __libc_memset.
63098         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63099         of memset.
63101 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63103         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63104         * configure: Regenerated.
63106         * Makeconfig (+link-static-before-libc): Don't include
63107         $(link-static-libc).
63109         * libio/libio.h (_IO_pos_t): Remove.
63111 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63113         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63114         McGrath.
63116 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63118         * crypt/crypt-entry.c: Include fips-private.h.
63119         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63120         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63121         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63122         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63124 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63126         * crypt/crypt-private.h: Include stdbool.h.
63127         (_ufc_setup_salt_r): Return bool.
63128         * crypt/crypt-entry.c: Include errno.h.
63129         (__crypt_r): Return NULL with EINVAL for bad salt.
63130         * crypt/crypt_util.c (bad_for_salt): New.
63131         (_ufc_setup_salt_r): Check that salt is long enough and within
63132         the specified alphabet.
63133         * crypt/badsalttest.c: New file.
63134         * crypt/Makefile (tests): Add it.
63135         ($(objpfx)badsalttest): New.
63137 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63139         * NEWS: Add entry for BZ #14602.
63141 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63143         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63144         type-generic.
63145         * math/libm-test.inc: Update comment listing what functions and
63146         macros are tested.
63147         (isgreater_test): New function.
63148         (isgreaterequal_test): Likewise.
63149         (isless_test): Likewise.
63150         (islessequal_test): Likewise.
63151         (islessgreater_test): Likewise.
63152         (isunordered_test): Likewise.
63153         (main): Call the new functions.
63155 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63157         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63158         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63159         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63160         * sysdeps/i386/configure: Regenerated.
63161         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63162         * sysdeps/mach/configure: Regenerated.
63163         * sysdeps/mach/hurd/configure: Regenerated.
63164         * sysdeps/powerpc/configure: Regenerated.
63165         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63166         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63167         * sysdeps/s390/s390-32/configure: Regenerated.
63168         * sysdeps/s390/s390-64/configure: Regenerated.
63169         * sysdeps/sh/configure: Regenerated.
63170         * sysdeps/sparc/configure: Regenerated.
63171         * sysdeps/unix/sysv/linux/configure: Regenerated.
63172         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63173         * sysdeps/x86_64/configure: Regenerated.
63175         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63176         defined.  Don't check if MAP is NULL.
63178 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63180         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63181         (_G_stat64): Likewise.
63182         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63183         (_G_stat64): Likewise.
63184         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63185         instead of struct _G_stat64.
63186         * libio/fileops.c (mmap_remap_check): Likewise.
63187         (decide_maybe_mmap): Likewise.
63188         (_IO_new_file_seekoff): Likewise.
63189         (_IO_file_stat): Likewise.
63190         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63191         _G_off64_t.
63192         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63193         instead of struct _G_stat64.
63194         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63196 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63198         [BZ #14602]
63199         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63200         Replace with ...
63201         (CHECK_EOL): New macro.
63202         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63203         CHECK_EOL.
63204         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63205         Replace with CHECK_EOL.
63206         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63207         Replace with CHECK_EOL.
63209 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63211         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63212         type-generic.
63213         * math/libm-test.inc: Update comment listing what functions and
63214         macros are tested.
63215         (finite_test): New function.
63216         (isinf_test): Likewise.
63217         (isnan_test): Likewise.
63218         (fpclassify_test): Test subnormal input.
63219         (isfinite_test): Likewise.
63220         (isnormal_test): Likewise.
63221         (main): Call the new functions.
63223 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63225         [BZ #14660]
63226         * Makerules (%.dynsym): Force C locale when running
63227         $(OBJDUMP) --dynamic-syms.
63229 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63231         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63232         <stdint.h>.
63234 2012-10-06  David S. Miller  <davem@davemloft.net>
63236         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63237         upper 32-bits of the length value in %o2 since we use branch-on-register
63238         tests which consider the entire 64-bit register.
63240 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63242         * string/test-strstr.c (check2): Add a test for page boundary.
63244 2012-10-05  David S. Miller  <davem@davemloft.net>
63246         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63247         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63248         file.
63249         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63250         sysdep_routines.
63251         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63252         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63253         and bzero when HWCAP_SPARC_CRYPTO is present.
63255 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63257         [BZ #14602]
63258         * string/test-strstr.c (check2): New function.
63259         (test_main): Call check2.
63261         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63262         and bug-strchr1.
63263         * string/bug-strcasestr1.c (do_test): Moved to ...
63264         * string/test-strcasestr.c (check1): Here.  New function.
63265         (do_one_test): Break out result checking code into ...
63266         (check_result): This.  New function.
63267         (do_one_test): Call check_result.
63268         (test_main): Call check1.
63269         * string/bug-strchr1.c (do_test): Moved to ...
63270         * string/test-strchr.c (check1): Here.  New function.
63271         (do_one_test): Break out result checking code into ...
63272         (check_result): This.  New function.
63273         (do_one_test): Call check_result.
63274         (test_main): Call check1.
63275         * string/bug-strstr1.c (main): Moved to ...
63276         * string/test-strstr.c (check1): Here.  New function.
63277         (do_one_test): Break out result checking code into ...
63278         (check_result): This.  New function.
63279         (do_one_test): Call check_result.
63280         (test_main): Call check1.
63281         * string/bug-strcasestr1.c: Removed.
63282         * string/bug-strchr1.c: Likewise.
63283         * string/bug-strstr1.c: Likewise.
63285         * elf/Makefile (dl-routines): Add hwcaps.
63286         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63287         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63288         (_dl_important_hwcaps): Moved to ...
63289         * elf/dl-hwcaps.c: Here.  New file.
63290         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63292         [BZ #14557]
63293         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63294         if IS_IN_rtld isn't defined.
63296         * elf/dl-support.c (_dl_sysinfo_map): New.
63297         Include "get-dynamic-info.h" and "setup-vdso.h".
63298         (_dl_non_dynamic_init): Call setup_vdso.
63299         * elf/dynamic-link.h: Don't include <assert.h>.
63300         (elf_get_dynamic_info): Moved to ...
63301         * elf/get-dynamic-info.h: Here.  New file.
63302         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63303         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63304         * elf/setup-vdso.h: Here.  New file.
63305         * elf/rtld.c: Include "setup-vdso.h".
63306         (dl_main): Call setup_vdso.
63308 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63310         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63311         creal in comment listing functions tested.  List finite, isinf,
63312         isnan, isless, islessequal, isgreater, isgreaterequal,
63313         islessgreater, isunordered, lgamma_r and pow10 as functions and
63314         macros not tested.  Mention which functions not tested are aliases
63315         for other functions.  Fix typo.  Note that signs of NaNs are not
63316         tested.
63318         * scripts/config.guess: Update from config.git.
63319         * scripts/config.sub: Likewise.
63321 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63323         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63324         * misc/madvise.c (madvise): Renamed to __madvise.
63325         Make madvise a weak alias.
63326         * include/sys/mman.h: Declare __madvise.
63327         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63328         * sysdeps/unix/syscalls.list
63329         (madvise): Make __madvise the strong name, and madvise a weak alias.
63330         * sysdeps/unix/sysv/linux/syscalls.list
63331         (madvise, mmap): Remove redundant entries.
63332         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63333         * malloc/malloc.c (mtrim): Likewise.
63334         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63336 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63338         * sysdeps/mach/hurd/dl-cache.c: File removed.
63339         * config.h.in (USE_LDCONFIG): New #undef.
63340         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63341         * configure: Regenerated.
63342         * elf/Makefile (dl-routines): Add dl-cache only under
63343         [$(use-ldconfig) = yes].
63344         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63345         cache on [USE_LDCONFIG].
63346         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63347         [USE_LDCONFIG].
63348         * elf/rtld.c (dl_main): Likewise.
63350 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63352         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63353         _SC_LEVEL4_CACHE_LINESIZE.
63355 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63357         * sysdeps/unix/bsd/confstr.h: File removed.
63359 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63361         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63362         sys/sdt-config.h.
63364 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63366         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63367         Make 'mapoff' field ElfW(Off) rather than off_t.
63369 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63371         * nscd/Makefile: Remove nscd-cflags and all its users.
63372         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63373         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63375         [BZ #10631]
63376         * malloc.c (malloc_printerr): Clarify error message.
63378 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63380         [BZ #14648]
63381         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63382         Set bit_FMA_Usable if FMA is supported.
63383         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63384         macro.
63385         (bit_FMA4_Usable): Updated.
63386         (index_FMA_Usable): New macro.
63387         (CPUID_FMA): Likewise.
63388         (HAS_FMA): Defined with bit_FMA_Usable.
63390 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63392         * bits/types.h (__swblk_t): Type removed.
63393         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63394         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63395         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63396         (__SWBLK_T_TYPE): Likewise.
63397         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63398         (__SWBLK_T_TYPE): Likewise.
63399         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63400         (__SWBLK_T_TYPE): Likewise.
63401         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63402         (__SWBLK_T_TYPE): Likewise.
63404 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63405             Honza Horak <hhorak@redhat.com>
63407         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63408         (xdr_mapname): Use YPMAXMAP as maxsize.
63409         (xdr_peername): Use YPMAXPEER as maxsize.
63410         (xdr_keydat): Use YPAXRECORD as maxsize.
63411         (xdr_valdat): Use YPMAXRECORD as maxsize.
63413 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63415         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63417         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63418         * csu/init-first.c: ... here.
63419         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63420         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63421         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63422         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63423         * sysdeps/i386/init-first.c: File removed.
63424         * sysdeps/sh/init-first.c: File removed.
63426 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63428         [BZ #14645]
63429         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63430         if x * y might underflow to zero and z is zero.
63431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63433         * math/libm-test.inc (min_subnorm_value): New variable.
63434         (fma_test): Add more tests.
63435         (fma_test_towardzero): Likewise.
63436         (fma_test_downward): Likewise.
63437         (fma_test_upward): Likewise.
63438         (initialize): Set min_subnorm_value.
63440 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63442         [BZ #14638]
63443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63444         0 + 0.
63445         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63446         mode for addition resulting in exact zero.
63447         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63448         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63449         exact 0 + 0.
63450         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63452         * math/libm-test.inc (fma_test): Add more tests.
63453         (fma_test_towardzero): New function.
63454         (fma_test_downward): Likewise.
63455         (fma_test_upward): Likewise.
63456         (main): Call the new functions.
63458 2012-09-28  David S. Miller  <davem@davemloft.net>
63460         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63462 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63464         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63465         instead of SIGALRM.
63467         * sysdeps/gnu/_G_config.h: Moved to ...
63468         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63469         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63470         * sysdeps/generic/_G_config.h: ... here.
63472         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63474         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63476         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63477         Conditionalize target on [libnss_test1.so-version].
63479         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63481         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63482         (elfobjdir): Move out of conditionals.
63484         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63485         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63486         (__nss_lookup_function): Conditionalize label remove_from_tree on
63487         [!DO_STATIC_NSS || SHARED], matching its only use.
63489 2012-09-28  David S. Miller  <davem@davemloft.net>
63491         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63492         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63493         file.
63494         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63495         sysdep_routines.
63496         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63497         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63498         when HWCAP_SPARC_CRYPTO is present.
63500 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63502         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63504 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63506         [BZ #6530]
63507         * stdio-common/vfprintf.c (process_string_arg): Revert
63508         2000-07-22 change.
63510 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63512         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63513         for testcase.
63514         * stdio-common/tst-sprintf.c: Include <locale.h>
63515         (main): Test sprintf's handling of incomplete multibyte
63516         characters.
63518 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63520         * elf/dl-runtime.c (VERSYMIDX): Removed.
63521         * elf/dl-version.c (VERSYMIDX): Likewise.
63522         * elf/do-rel.h (VERSYMIDX): Likewise.
63523         (VALIDX): Likewise.
63524         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63525         * elf/rtld.c (VALIDX): Likewise.
63526         (ADDRIDX): Likewise.
63527         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63528         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63529         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63530         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63531         (VALIDX): Likewise.
63532         (ADDRIDX): Likewise.
63534 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63536         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63538 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63540         [BZ #11438]
63541         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63542         to global scope.
63543         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63544         addresses are in the same scope as 192.0.2/24.
63545         * posix/gai.conf: Document new scope table defaults.
63547 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63549         [BZ #5298]
63550         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63551         for ftell.  Compute offsets from write pointers instead.
63552         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63554 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63556         [BZ #14543]
63557         * libio/Makefile (tests): New test case tst-fseek.
63558         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63559         combination works in wide mode.
63560         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63561         state when the external buffer state changes.
63563 2012-09-27  David S. Miller  <davem@davemloft.net>
63565         [BZ #14376]
63566         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63567         pass reloc->r_addend in as the 'high' argument to
63568         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63572 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63574         * rt/tst-aio2.c: Include <pthread.h>.
63575         * rt/tst-aio3.c: Likewise.
63577 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63579         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63581 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63583         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63584         contents on [SHARED].
63586 2012-09-26  Marek Polacek  <polacek@redhat.com>
63588         [BZ #14530]
63589         [BZ #13741]
63590         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63591         for C++ and GCC <4.3 as well as for non GCC compilers.
63593 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63597 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63599         * Makefile.in (all, install): Declare with .PHONY.
63600         Reported by Michael Hope <michael.hope@linaro.org>.
63602 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63604         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63605         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63606         system header.
63607         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63608         Likewise.
63609         (sydep_routines): Add the new and the internal functions.
63610         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63611         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63613         (GLIBC_2.17): Add the new function.
63614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63615         (GLIBC_2.17): Likewise.
63616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63617         (GLIBC_2.17): Likewise.
63618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63619         (GLIBC_2.17): Likewise.
63620         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63622 2012-09-25  Alan Modra  <amodra@gmail.com>
63624         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63625         Add release barrier before setting once_control to say
63626         initialisation is done.  Add hints on lwarx.  Use macro in
63627         place of isync.
63628         (clear_once_control): Add release barrier.
63630 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63632         [BZ #13629]
63633         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63634         specially.
63635         * math/s_clog10.c (__clog10): Likewise.
63636         * math/s_clog10f.c (__clog10f): Likewise.
63637         * math/s_clog10l.c (__clog10l): Likewise.
63638         * math/s_clogf.c (__clogf): Likewise.
63639         * math/s_clogl.c (__clogl): Likewise.
63640         * math/Makefile (libm-calls): Add x2y2m1.
63641         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63642         (__x2y2m1): Likewise.
63643         (__x2y2m1l): Likewise.
63644         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63645         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63646         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63647         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63648         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63649         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63650         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63651         * sysdeps/i386/fpu/libm-test-ulps: Update.
63652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63654         [BZ #14621]
63655         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63656         int as type of variable DEPTH.
63657         (glob): Use size_t instead of int as type of variables NEWCOUNT
63658         and OLD_PATHC.
63660 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63662         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63663         Add s_sincosf-sse2.
63664         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63665         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63666         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63667         macros for using routine as __sincosf_ia32.
63668         Use macro for function declaration and weak_alias.
63669         * sysdeps/i386/fpu/libm-test-ulps: Update.
63671         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63674         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63675         subnormal argument.
63676         * math/s_cexpf.c (__cexpf): Likewise.
63677         * math/s_csinf.c (__csinf): Likewise.
63678         * math/s_csinhf.c (__csinhf): Likewise.
63679         * math/s_ctanf.c (__ctanf): Likewise.
63680         * math/s_ctanhf.c (__ctanhf): Likewise.
63681         * math/s_ccosh.c (__ccoshf): Likewise.
63682         * math/s_cexp.c (__cexpl): Likewise.
63683         * math/s_csin.c (__csin): Likewise.
63684         * math/s_csinh.c (__csinh): Likewise.
63685         * math/s_ctan.c (__ctan): Likewise.
63686         * math/s_ctanh.c (ctanh): Likewise.
63687         * math/s_ccoshl.c (__ccoshl): Likewise.
63688         * math/s_cexpl.c (__cexpl): Likewise.
63689         * math/s_csinl.c (__csinl): Likewise.
63690         * math/s_csinhl.c (__csinhl): Likewise.
63691         * math/s_ctanl.c (__ctanl): Likewise.
63692         * math/s_ctanhl.c (__ctanhl): Likewise.
63694 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63696         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63697         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63698         (_IO_off_t): Define to __off_t, not _G_off_t.
63699         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63700         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63701         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63702         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63703         type of __dummy and __dummy2 fields.
63704         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63705         (_G_ssize_t): Likewise.
63706         (_G_off_t): Likewise.
63707         (_G_pid_t): Likewise.
63708         (_G_uid_t): Likewise.
63709         (_G_wchar_t): Likewise.
63710         (_G_wint_t): Likewise.
63711         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63712         (_G_ssize_t): Likewise.
63713         (_G_off_t): Likewise.
63714         (_G_pid_t): Likewise.
63715         (_G_uid_t): Likewise.
63716         (_G_wchar_t): Likewise.
63717         (_G_wint_t): Likewise.
63718         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63719         (_G_ssize_t): Likewise.
63720         (_G_off_t): Likewise.
63721         (_G_pid_t): Likewise.
63722         (_G_uid_t): Likewise.
63723         (_G_wchar_t): Likewise.
63724         (_G_wint_t): Likewise.
63726 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63728         * malloc/arena.c: Include malloc-sysdep.h.
63729         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63730         is sufficient to shrink the heap or an unmap is needed.
63731         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63732         new function check_may_shrink_heap.
63733         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63734         new function check_may_shrink_heap.
63736 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63738         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63739         comments.
63741 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63743         * catgets/test-gencat.sh: Add "set -e".
63744         * elf/tst-pathopt.sh: Likewise.
63745         * grp/tst_fgetgrent.sh: Likewise.
63746         * iconvdata/run-iconv-test.sh: Likewise.
63747         * intl/tst-gettext.sh: Likewise.
63748         * intl/tst-gettext2.sh: Likewise.
63749         * intl/tst-gettext4.sh: Likewise.
63750         * intl/tst-gettext6.sh: Likewise.
63751         * intl/tst-translit.sh: Likewise.
63752         * io/ftwtest-sh: Likewise.
63753         * libio/test-freopen.sh: Likewise.
63754         * malloc/tst-mtrace.sh: Likewise.
63755         * posix/globtest.sh: Likewise.
63756         * posix/tst-getconf.sh: Likewise.
63757         * posix/wordexp-tst.sh: Likewise.
63758         * stdio-common/tst-printf.sh: Likewise.
63759         * stdio-common/tst-unbputc.sh: Likewise.
63760         * stdlib/tst-fmtmsg.sh: Likewise.
63761         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63762         * catgets/Makefile: Do not specify -e option when running
63763         testsuite shell scripts.
63764         * elf/Makefile: Likewise.
63765         * grp/Makefile: Likewise.
63766         * iconvdata/Makefile: Likewise.
63767         * intl/Makefile: Likewise.
63768         * io/Makefile: Likewise.
63769         * libio/Makefile: Likewise.
63770         * malloc/Makefile: Likewise.
63771         * posix/Makefile: Likewise.
63772         * stdio-common/Makefile: Likewise.
63773         * stdlib/Makefile: Likewise.
63774         * sysdeps/x86_64/Makefile: Likewise.
63776         * io/ftwtest-sh: Add copyright header.
63777         * posix/globtest.sh: Likewise.
63778         * posix/tst-getconf.sh: Likewise.
63779         * posix/wordexp-tst.sh: Likewise.
63780         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63782 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63784         [BZ #13679]
63785         * Makeconfig (+link): Defined as $(+link-static) if
63786         $(build-shared) isn't yes.
63787         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63788         isn't yes.
63789         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63791         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63793         [BZ #14562]
63794         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63795         new chunk size with MALLOC_ALIGN_MASK.
63797 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
63799         [BZ #5044]
63800         * stdio-common/printf_fphex.c: Include <stdbool.h> and
63801         <rounding-mode.h>.
63802         (__printf_fphex): Determine rounding using get_rounding_mode and
63803         round_away.
63804         * stdio-common/tst-printf-round.c (struct hex_test): New
63805         structure.
63806         (hex_tests): New variable.
63807         (test_hex_in_one_mode): New function.
63808         (do_test): Also run tests for hex float output.
63810 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
63812         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63813         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63814         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
63815         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63816         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63817         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
63818         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63819         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63821 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
63823         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
63824         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
63825         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
63826         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
63828 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
63830         [BZ #14579]
63831         * elf/rtld.c (dl_main): Limit the check for self loading to normal
63832         mode only.
63833         * elf/tst-rtld-load-self.sh: New test.
63834         * elf/Makefile: Run it.
63836 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
63838         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
63839         (tst-writev-ENV): Remove.
63840         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
63842 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
63844         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
63846 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
63848         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
63849         unconditional.
63850         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
63851         Likewise.
63852         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
63853         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
63854         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
63855         Likewise.
63857 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
63859         [BZ #14587]
63860         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
63861         * config.make.in (have-cpp-asm-debuginfo): Removed.
63862         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
63863         * configure: Regenerated.
63865 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
63867         [BZ #5044]
63868         * stdio-common/printf_fp.c: Include <stdbool.h> and
63869         <rounding-mode.h>.
63870         (___printf_fp): Determine rounding using get_rounding_mode and
63871         round_away.
63872         * stdio-common/tst-printf-round.c: New file.
63873         * stdio-common/Makefile (tests): Add tst-printf-round.
63874         (link-libm): New variable.
63875         ($(objpfx)tst-printf-round): Depend in $(link-libm).
63877 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
63879         [BZ #14576]
63880         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
63881         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
63882         Likewise.
63883         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
63884         Likewise.
63886 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
63888         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
63889         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63890         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63891         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63893 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
63895         [BZ #14518]
63896         * include/rounding-mode.h: New file.
63897         * sysdeps/generic/get-rounding-mode.h: Likewise.
63898         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
63899         * stdlib/strtod_l.c: Include <rounding-mode.h>.
63900         (MAX_VALUE): New macro.
63901         (MIN_VALUE): Likewise.
63902         (overflow_value): New function.
63903         (underflow_value): Likewise.
63904         (round_and_return): Use overflow_value and underflow_value to
63905         determine return values in overflow and underflow cases.  Use
63906         round_away to determine rounding depending on rounding mode.
63907         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
63908         determine return values in overflow and underflow cases.
63909         * stdlib/tst-strtod-round.c: Include <fenv.h>.
63910         (struct test_results): New structure.
63911         (struct test): Use struct test_results to store expected results
63912         for all rounding modes.
63913         (TEST): Include expected results for all rounding modes.
63914         (test_in_one_mode): New function.
63915         (do_test): Use test_in_one_mode to compute and check results.
63916         Check results for all rounding modes.
63917         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
63918         $(link-libm).
63920 2012-12-09  Allan McRae  <allan@archlinux.org>
63922         * sysdeps/i386/fpu/libm-test-ulps: Update
63924 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
63926         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
63927         (_G_int32_t): Likewise.
63928         (_G_uint16_t): Likewise.
63929         (_G_uint32_t): Likewise.
63930         (_G_HAVE_BOOL): Likewise.
63931         (_G_HAVE_ATEXIT): Likewise.
63932         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63933         (_G_HAVE_IO_FILE_OPEN): Likewise.
63934         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
63935         (_G_int32_t): Likewise.
63936         (_G_uint16_t): Likewise.
63937         (_G_uint32_t): Likewise.
63938         (_G_HAVE_BOOL): Likewise.
63939         (_G_HAVE_ATEXIT): Likewise.
63940         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63941         (_G_HAVE_IO_FILE_OPEN): Likewise.
63942         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
63943         (_G_int32_t): Likewise.
63944         (_G_uint16_t): Likewise.
63945         (_G_uint32_t): Likewise.
63946         (_G_HAVE_BOOL): Likewise.
63947         (_G_HAVE_ATEXIT): Likewise.
63948         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63949         (_G_HAVE_IO_FILE_OPEN): Likewise.
63951 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
63953         * csu/libc-tls.c: Update copyright years.
63955 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
63957         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
63958         [!_G_USING_THUNKS]: Remove conditional code.
63959         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
63960         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
63962         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
63963         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
63964         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63965         (_G_VTABLE_LABEL_PREFIX): Likewise.
63966         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63967         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63968         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63969         (_G_VTABLE_LABEL_PREFIX): Likewise.
63970         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63971         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63972         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63973         (_G_VTABLE_LABEL_PREFIX): Likewise.
63974         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63976 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
63978         * libio/Makefile: Include ../Makeconfig before tests.
63979         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63980         only if $(build-shared) is yes.
63982         * iconv/gconv_db.c: Update copyright years.
63984 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63986         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63987         unwind info if defined PIC. Fix special cases description.
63988         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63990         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63991         DP_HI_MASK entry.
63992         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63994 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63996         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63998         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63999         is NULL.
64001         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64002         (LDLIBS-tst-chk4): This.
64003         (LDFLAGS-tst-chk5): Renamed to ...
64004         (LDLIBS-tst-chk5): This.
64005         (LDFLAGS-tst-chk6): Renamed to ...
64006         (LDLIBS-tst-chk6): This.
64007         (LDFLAGS-tst-lfschk4): Renamed to ...
64008         (LDLIBS-tst-lfschk4): This.
64009         (LDFLAGS-tst-lfschk5): Renamed to ...
64010         (LDLIBS-tst-lfschk5): This.
64011         (LDFLAGS-tst-lfschk6): Renamed to ...
64012         (LDLIBS-tst-lfschk6): This.
64014         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64015         on $(common-objpfx)soversions.mk.
64017 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64019         [BZ #10014]
64020         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64021         example host name.
64023 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64025         * malloc/arena.c (arena_get_retry): New function that gets
64026         another arena for the caller to try its request on.
64027         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64028         current arena cannot fulfill the request.
64029         (__libc_memalign): Likewise.
64030         (__libc_memalign): Likewise.
64031         (__libc_pvalloc): Likewise.
64032         (__libc_calloc): Likewise.
64034 2012-09-05  John Tobey  <john.tobey@gmail.com>
64036         [BZ #13542]
64037         * manual/arith.texi (Operations on Complex): Fix description
64038         of carg branch cut.
64040 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64042         [BZ #10014]
64043         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64044         host name.
64046         [BZ #10038]
64047         * manual/memory.texi (Memory): Make order of menu items match
64048         order of sections.
64050 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64052         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64053         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64054         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64056 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64058         * csu/libc-tls.c (static_dtv): Renamed to ...
64059         (_dl_static_dtv): This.  Make it global.
64060         (_dl_initial_dtv): Removed.
64061         (__libc_setup_tls): Updated.
64062         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64063         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64064         DL_INITIAL_DTV.
64066 2012-09-06  Petr Machata  <pmachata@redhat.com>
64068         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64069         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64070         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64071         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64073 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64075         [BZ #14545]
64076         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64077         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64078         freeing dtv[-1].
64080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64082         [BZ #14544]
64083         * Makeconfig (link-static-before-libc): Replace $(+prector)
64084         with $(+prectorT).
64085         (link-static-after-libc): Replace $(+postctor) with
64086         $(+postctorT).
64087         (link-bounded): Replace $(+prector)/$(+postctor) with
64088         $(+prectorT)/$(+postctorT).
64089         (+prectorT): New macro.
64090         (+postctorT): Likewise.
64092 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64094         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64095         (round_str): Handle values above the maximum for IBM long double
64096         as inexact.
64097         * stdlib/tst-strtod-round.c (tests): Regenerated.
64099 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64101         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64102         assembler flag.
64103         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64104         zarch_nohighgprs around the zarch optimized routines.
64105         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64106         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64107         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64108         for zarch.
64110 2012-09-05  David S. Miller  <davem@davemloft.net>
64112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64114         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64115         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64116         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64117         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64118         entries.
64120 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64122         * malloc/arena.c: Fold copyright years.
64123         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64125 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64127         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64129 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64131         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64133 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64135         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64136         change internal state upon failure.
64138 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64140         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64141         * malloc/memusage.c (mmap): Likewise.
64142         (mmap64, mremap): Likewise.  Adjust name in comment.
64144 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64146         * libio/fileops.c: Fix typos in comments.
64147         * libio/oldfileops.c: Likewise.
64148         * libio/wfileops.c: Likewise.
64150 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64152         [BZ #1349]
64153         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64154         (tst-malloc-usable-ENV): Set environment for test case.
64155         * malloc/hooks.c (malloc_check_get_size): New function to get
64156         requested size.
64157         * malloc/malloc.c (musable): Use malloc_check_get_size.
64158         * malloc/tst-malloc-usable.c: New test case.
64160 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64162         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64164 2012-09-05  Allan McRae  <allan@archlinux.org>
64166         [BZ #13966]
64167         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64168         determine header location.
64169         * configure: Regenerated.
64171 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64173         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64174         float format.
64175         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64176         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64177         format.
64178         (test): Regenerate.
64180 2012-09-04  David S. Miller  <davem@davemloft.net>
64182         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64183         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64184         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64186 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64188         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64189         failures.
64191         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64193 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64195         [BZ #9914]
64196         * libio/iogetdelim.c: Include <limits.h>.
64197         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64198         + len + 1 would overflow.
64200 2012-09-03  Andreas Jaeger  <aj@suse.de>
64202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64203         * sysdeps/i386/fpu/libm-test-ulps: Update.
64205 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64207         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64208         Add s_sinf-sse2, s_conf-sse2.
64210         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64211         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64212         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64213         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64215         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64216         for using routine as __sinf_ia32.
64217         Use macro for function declaration and weak_alias.
64218         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64219         for using routine as __cosf_ia32.
64220         Use macro for function declaration and weak_alias.
64222         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64223         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64225         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64226         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64229         * math/libm-test.inc (cos_test): Add more test cases.
64230         (sin_test): Likewise.
64231         (sincos_test): Likewise.
64233 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64235         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64236         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64237         hidden.
64238         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64240 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64242         [BZ #14538]
64243         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64244         first element of the GOT.
64245         (elf_machine_load_address): Return the difference between
64246         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64248 2012-09-01  Allan McRae  <allan@archlinux.org>
64250         [BZ #13412]
64251         * configure.in (AWK): Require gawk version 3.0 or later.
64252         * configure: Regenerated.
64254 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64256         * sysdeps/unix/sysv/linux/kernel-features.h
64257         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64258         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64259         [__NR_clock_getres]: Make code unconditional.
64260         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64261         (clock_getcpuclockid): Remove code left unreachable by removal of
64262         conditionals.
64263         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64264         code unconditional.
64265         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64266         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64267         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64268         Make code unconditional.
64269         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64270         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64271         * sysdeps/unix/sysv/linux/clock_settime.c
64272         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64273         conditional code.
64274         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64275         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64277 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64279         [BZ #14476]
64280         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64281         scripts/test-installation.pl.
64283         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64284         and $ld_so_version if it is set.
64286 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64288         [BZ #14516]
64289         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64290         failure if reading from procfs failed.
64291         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64293 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64295         * sysdeps/unix/sysv/linux/kernel-features.h
64296         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64297         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64298         Remove conditional code.
64299         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64300         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64301         Remove conditional code.
64302         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64303         * sysdeps/unix/sysv/linux/i386/fxstat.c
64304         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64305         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64306         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64307         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64309         * sysdeps/unix/sysv/linux/i386/lxstat.c
64310         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64311         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64312         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64313         Remove conditional code.
64314         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64315         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64316         Remove conditional code.
64317         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64318         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64319         <kernel-features.h>.
64320         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64321         Remove.
64322         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64323         Remove conditional code.
64324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64325         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64326         Remove conditional.
64328 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64330         [BZ #5400]
64331         * NEWS: Add fixed bug number.
64333 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64335         [BZ #14519]
64336         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64337         underflowing exponent in case of negative sign.
64338         * stdlib/tst-strtod-round-data: Add more tests.
64339         * stdlib/tst-strtod-round.c (tests): Regenerated.
64341         [BZ #3479]
64342         * stdlib/strtod_l.c (NDIG): Remove.
64343         (HEXNDIG): Likewise.
64344         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64345         smallest representable value.
64346         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64347         lie within an exact representation of 1/2 ulp of the result.
64348         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64349         unconditionally.
64350         (TENS_P9_IDX): Define unconditionally.
64351         (TENS_P9_SIZE): Likewise.
64352         (TENS_P10_IDX): Likewise.
64353         (TENS_P10_SIZE): Likewise.
64354         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64355         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64356         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64357         entries for 10^2^13 and 10^2^14.
64358         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64359         (TENS_P13_IDX): Define.
64360         (TENS_P13_SIZE): Likewise.
64361         (TENS_P14_IDX): Likewise.
64362         (TENS_P14_SIZE): Likewise.
64363         (_fpioconst_pow10): Change array size to
64364         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64365         unconditional.
64366         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64367         1024]: Add entries for 10^2^13 and 10^2^14.
64368         [LAST_POW10 > _LAST_POW10]: Remove #error.
64369         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64370         (_fpioconst_pow10): Change array size to
64371         FPIOCONST_POW10_ARRAY_SIZE.
64372         * stdlib/gen-fpioconst.c: New file.
64373         * stdlib/gen-tst-strtod-round.c: Likewise.
64374         * stdlib/tst-strtod-round-data: Likewise.
64375         * stdlib/tst-strtod-round.c: Likewise.
64376         * stdlib/Makefile (tests): Add tst-strtod-round.
64378         [BZ #14459]
64379         * stdlib/strtod_l.c: Include <stdint.h>.
64380         (NDEBUG): Do not define.
64381         (round_and_return): Change EXPONENT parameter to type intmax_t.
64382         Rearrange calculations to avoid internal overflow possibilities.
64383         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64384         Rearrange calculations to avoid internal overflow possibilities.
64385         Assert that number fits inside MPNSIZE limbs.
64386         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64387         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64388         calculations and add assertions to avoid internal overflow
64389         possibilities.  Add casts to avoid signed/unsigned operations.
64390         * stdlib/tst-strtod-overflow.c: New file.
64391         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64393 2012-08-25  Marek Polacek  <polacek@redhat.com>
64395         * time/time.h: Fix some typos in comments.
64397 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64399         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64400         * posix/tst-rfc3484-2.c: Likewise.
64401         * posix/tst-rfc3484-3.c: Likewise.
64403 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64405         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64406         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64408 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64410         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64411         #include of fxstatat64.c.
64413 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64415         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64416         * shadow/getspent_r.c: Likewise.
64417         * shadow/getspnam.c: Likewise.
64418         * shadow/getspnam_r.c: Likewise.
64419         * gshadow/getsgent.c: Likewise.
64420         * gshadow/getsgent_r.c: Likewise.
64421         * gshadow/getsgnam.c: Likewise.
64422         * gshadow/getsgnam_r.c: Likewise.
64423         * inet/getnetbyad.c: Likewise.
64424         * inet/getnetbyad_r.c: Likewise.
64425         * inet/getnetbynm.c: Likewise.
64426         * inet/getnetbynm_r.c: Likewise.
64427         * inet/getnetent.c: Likewise.
64428         * inet/getnetent_r.c: Likewise.
64429         * inet/getproto.c: Likewise.
64430         * inet/getproto_r.c: Likewise.
64431         * inet/getprtent.c: Likewise.
64432         * inet/getprtent_r.c: Likewise.
64433         * inet/getprtname.c: Likewise.
64434         * inet/getprtname_r.c: Likewise.
64435         * inet/getrpcbyname.c: Likewise.
64436         * inet/getrpcbyname_r.c: Likewise.
64437         * inet/getrpcbynumber.c: Likewise.
64438         * inet/getrpcbynumber_r.c: Likewise.
64439         * inet/getrpcent.c: Likewise.
64440         * inet/getrpcent_r.c: Likewise.
64441         * inet/getaliasent.c: Likewise.
64442         * inet/getaliasent_r.c: Likewise.
64443         * inet/getaliasname.c: Likewise.
64444         * inet/getaliasname_r.c: Likewise.
64445         * nscd/getgrgid_r.c: Likewise.
64446         * nscd/getgrnam_r.c: Likewise.
64447         * nscd/gethstbyad_r.c: Likewise.
64448         * nscd/gethstbynm3_r.c: Likewise.
64449         * nscd/getpwnam_r.c: Likewise.
64450         * nscd/getpwuid_r.c: Likewise.
64451         * nscd/getsrvbynm_r.c: Likewise.
64452         * nscd/getsrvbypt_r.c: Likewise.
64453         * nscd/gai.c: Likewise.
64455         * configure.in (build_nscd): New substituted variable, set
64456         by --disable-build-nscd and defaults to $use_nscd.
64457         * configure: Regenerated.
64458         * config.make.in (build-nscd): New substituted variable.
64459         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64460         Change conditional to require [$(build-nscd) = yes] as well.
64461         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64463         [BZ# 13696]
64464         * configure.in (use_nscd): New substituted variable, set by
64465         --disable-nscd.  If enabled, define USE_NSCD.
64466         * configure: Regenerated.
64467         * config.h.in: Add USE_NSCD.
64468         * config.make.in (use-nscd): New substituted variable.
64469         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64470         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64471         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64472         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64473         (CFLAGS-getgrnam_r.c): Likewise.
64474         (CFLAGS-initgroups.c): Likewise.
64475         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64476         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64477         Variables removed.
64478         * inet/getnetgrent_r.c
64479         (nscd_setnetgrent): New function, broken out of ...
64480         (setnetgrent): ... here.  Call it.
64481         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64482         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64483         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64484         * nscd/Makefile (routines, aux): Move definitions after include of
64485         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64486         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64487         Conditionalize on [USE_NSCD].
64488         (is_nscd, nscd_init_cb): Likewise.
64489         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64490         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64491         * nss/nss_db/db-init.c: Likewise.
64492         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64493         [USE_NSCD].
64494         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64495         (make_request): Use it.
64496         (cache_valid_p): New function.
64497         (__check_pf): Use it.
64498         * NEWS: Add item for --disable-nscd.
64500 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64502         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64503         to support sed >= 4.2.1-20-ga9bf076.
64504         * configure: Regenerated.
64506 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64508         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64509         Conditionalize whole body on [IREL].
64511 2012-08-22  Jeff Law <law@redhat.com>
64513         [BZ #14505]
64514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64515         if the family is PF_UNSPEC.
64517 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64519         * Makerules (lib-version): Rename from V.
64520         (install-lib-nosubdir): Change V to lib-version.
64522 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64524         [BZ #14252]
64525         * powerpc32/power6/wcschr.c: New file.
64526         * powerpc32/power6/wcscpy.c: New file.
64527         * powerpc32/power6/wcsrchr.c: New file.
64528         * powerpc64/power6/wcschr.c: New file.
64529         * powerpc64/power6/wcscpy.c: New file.
64530         * powerpc64/power6/wcsrchr.c: New file.
64532 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64534         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64535         (two_way_short_needle): Use it.
64536         * string/strstr.c (AVAILABLE1_USES_J): Define.
64537         * string/strcasestr.c: Likewise.
64539         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64540         array references.
64541         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64543         [BZ #11607]
64544         * NEWS: Add an entry.
64545         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64546         define their defaults.
64547         (two_way_short_needle): Detect end-of-string on-the-fly.
64548         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64549         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64550         * string/bug-strcasestr1.c: New test.
64551         * string/Makefile: Run it.
64553 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64555         [BZ #11607]
64556         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64557         the first character.
64559 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64561         * csu/elf-init.c (__libc_csu_irel): Function removed.
64562         * csu/libc-start.c (apply_irel): New function.
64563         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64565 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64567         * sysdeps/unix/sysv/linux/kernel-features.h
64568         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64569         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64570         <kernel-features.h>.
64571         [__NR_fadvise64_64]: Make code unconditional.
64572         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64573         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64574         !__NR_fadvise64_64)]: Likewise.
64575         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64576         !__NR_fadvise64_64))]: Likewise.
64577         [__NR_fadvise64]: Make code unconditional.
64578         [!__NR_fadvise64]: Remove conditional code.
64579         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64580         <kernel-features.h>.
64581         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64582         unconditional.
64583         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64584         conditional code.
64585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64586         not include <kernel-features.h>.
64587         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64588         unconditional.
64589         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64590         conditional code.
64591         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64592         include <kernel-features.h>.
64593         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64594         unconditional.
64595         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64596         conditional code.
64598 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64600         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64601         slight instruction rearrangements per scrollpipe analysis.
64602         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64604 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64606         * manual/syslog.texi (syslog; vsyslog, closelog):
64607         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64608         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64610         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64611         DSOCAPS to match condition on defining it.
64613 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64615         * sysdeps/unix/sysv/linux/kernel-features.h
64616         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64618         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64619         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64621         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64622         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64624         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64625         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64627         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64628         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64630         * sysdeps/unix/sysv/linux/kernel-features.h
64631         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64632         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64633         unconditional.
64634         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64635         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64636         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64637         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64638         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64639         Make code unconditional.
64640         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64641         (__mmap64) [!__NR_mmap2]: Likewise.
64642         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64643         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64644         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64645         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64646         [__NR_mmap2]: Make code unconditional.
64647         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64648         (__mmap64) [!__NR_mmap2]: Likewise.
64650 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64652         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64654 2012-08-18  Andreas Jaeger  <aj@suse.de>
64656         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64658 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64660         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64661         * include/unistd.h (__have_sock_cloexec): Likewise.
64662         (__have_pipe2): Likewise.
64663         (__have_dup3): Likewise.
64665 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64667         [BZ #9685]
64668         * include/unistd.h (__have_pipe2): Change define into an extern int.
64669         (__have_dup3): Likewise.
64670         * socket/have_sock_cloexec.c: Include fcntl.h.
64671         (__have_pipe2): New variable.
64672         (__have_dup3): Likewise.
64674 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64676         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64678 2012-08-17  Marek Polacek  <polacek@redhat.com>
64680         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64681         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64683 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64685         * configure.in: Add AC_SUBST for sysheaders.
64686         * configure: Regenerated.
64687         * config.make.in (sysheaders): New substituted variable.
64689         * sysdeps/unix/mkfifo.c: Moved ...
64690         * sysdeps/posix/mkfifo.c: ... here.
64691         * sysdeps/unix/mkfifoat.c: Moved ...
64692         * sysdeps/posix/mkfifoat.c: ... here.
64694         * sysdeps/unix/utime.c: Moved ...
64695         * sysdeps/posix/utime.c: ... here.
64697         * sysdeps/unix/time.c: Moved ...
64698         * sysdeps/posix/time.c: ... here.
64699         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64700         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64702         * sysdeps/unix/nice.c: Moved ...
64703         * sysdeps/posix/nice.c: ... here.
64705         * sysdeps/unix/alarm.c: Moved ...
64706         * sysdeps/posix/alarm.c: ... here.
64708         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64710 2012-08-17  Jeff Law <law@redhat.com>
64712         * intl/Makefile (codeset_mo): New variable.
64713         ($(codeset_mo)): New target.
64714         (tst-codeset.out): Depend on that.  Remove explicit rule.
64715         (tst-gettext3.out, tst-gettext5.out): Likewise.
64716         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64717         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64718         * intl/tst-codeset.sh: Remove.
64719         * intl/tst-gettext3.sh: Likewise.
64720         * intl/tst-gettext5.sh: Likewise.
64722 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64724         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64725         * sysdeps/unix/syscalls.list: ... here.
64727         * sysdeps/posix/getaddrinfo.c
64728         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64729         (gaiconf_init, gaiconf_reload): Use them.
64730         [!_STATBUF_ST_NSEC]
64731         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64732         Define using time_t rather than struct timespec.
64734         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64735         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64736         Macros removed.
64737         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64738         [!NO_THREADS].
64739         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64740         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64741         Likewise.
64743         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64744         __libc_cleanup_push argument.
64746         * bits/param.h: New file.
64747         * misc/sys/param.h: New file.
64748         * include/sys/param.h: New file.
64749         * misc/Makefile (headers): Add bits/param.h.
64750         * sysdeps/generic/sys/param.h: File removed.
64751         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64752         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64753         * sysdeps/mach/hurd/bits/param.h: New file.
64754         * sysdeps/mach/hurd/sys/param.h: File removed.
64756         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64757         last change.
64759         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64760         [_IO_MTSAFE_IO].
64761         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64762         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64763         New macros.
64765         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64766         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64767         rather than -D_IO_MTSAFE_IO conditionally.
64768         * stdio-common/Makefile (CPPFLAGS): Likewise.
64769         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64770         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64771         Use $(libio-mtsafe).
64772         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64773         of -D_IO_MTSAFE_IO.
64774         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64775         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64776         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64777         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64778         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64779         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64780         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64781         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64782         (CFLAGS-fread_u_chk.c): Likewise.
64783         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64784         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64785         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64786         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64787         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64788         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64789         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64790         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64791         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64793         * libio/Makefile: Test [$(libc-reentrant) = yes]
64794         instead of [$(filter %REENTRANT, $(defines)) nonempty].
64796         * Makeconfig
64797         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
64798         * sysdeps/pthread/configure: File removed.
64799         * sysdeps/pthread/Makeconfig: New file.
64800         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
64801         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
64803 2012-08-16  Gary Benson  <gbenson@redhat.com>
64805         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
64806         unmapping the first object in a namespace.
64808 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64810         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
64811         (__internal_setnetgrent): ... this.  Add internal_function to
64812         definition.  Add libc_hidden_def.
64813         (setnetgrent): Update caller.
64814         (internal_endnetgrent): Renamed to ...
64815         (__internal_endnetgrent): ... this.  Add internal_function to
64816         definition.  Add libc_hidden_def.
64817         (endnetgrent): Update caller.
64818         (internal_getnetgrent_r): Renamed to ...
64819         (__internal_getnetgrent_r): ... this.  Add internal_function to
64820         definition.  Add libc_hidden_def.
64821         (__getnetgrent_r): Update caller.
64822         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
64824 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64826         * stdlib/longlong.h: Update from GCC.
64828 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64830         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
64831         on _QL, which is set by umul_ppmm but never used.
64832         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
64833         variables, which are set by GMP macros but never used.
64834         * stdio-common/_itowa.c (_itowa): Likewise.
64835         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
64836         * stdlib/mod_1.c (mpn_mod_1): Likewise.
64838 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
64840         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
64841         struct La_sh_regs is not constant.
64842         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
64843         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
64844         and struct La_sparc64_regs are not constant.
64846 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64848         * sysdeps/unix/sysv/linux/kernel-features.h
64849         (__ASSUME_POSIX_TIMERS): Remove.
64850         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64851         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64852         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
64853         Make code unconditional.
64854         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64855         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
64856         Make code unconditional.
64857         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64858         * sysdeps/unix/sysv/linux/clock_nanosleep.c
64859         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
64860         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64861         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
64862         Make code unconditional.
64863         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64864         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
64865         (__libc_missing_posix_timers): Remove.
64867 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64869         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
64870         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64872         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
64874         * elf/dl-sym.c: Include <stdlib.h>.
64876         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
64877         constants, which avoids warnings in 32-bit builds.
64879         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
64880         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
64882         * misc/lseek.c: File moved to ...
64883         * io/lseek.c: ... here.
64885         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
64887         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
64888         shifting LEN more than 31 bits at once.
64890 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64892         [BZ #14195]
64893         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
64894         segmentation fault for a case of two empty input strings.
64895         * string/test-strncasecmp.c (check1): Renamed to...
64896         (bz12205): ...this.
64897         (bz14195): Add new testcase for two empty input strings and N > 0.
64898         (test_main): Call new testcase, adapt for renamed function.
64900 2012-08-15  Andreas Jaeger  <aj@suse.de>
64902         [BZ #14090]
64903         * crypt/md5test2.c: New test, based on test supplied by Serge
64904         Belyshev <belyshev@depni.sinp.msu.ru>.
64905         * crypt/Makefile (xtests): Add md5test-giant..
64906         * crypt/Makefile ($(objpfx)md5test-giant): Add.
64908 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
64910         [BZ #14090]
64911         * crypt/md5.c (md5_process_block): Don't assume the buffer
64912         length is less than 2**32.
64913         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
64914         length is less than 2**64.
64916 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64918         * string/str-two-way.h: Include <sys/param.h>.
64919         (MAX): Macro removed.
64921         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
64922         Move #define and #undef of memmove to just before and after
64923         including <string.h>.
64925         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
64926         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
64927         and after including <string.h>.  Move declarations of
64928         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
64929         to before #include "string/memmove.c".
64931         * include/dirent.h: Declare __getdirentries.
64933         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
64934         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
64936 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
64938         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
64939         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
64940         * sysdeps/i386/configure: Regenerated.
64941         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
64942         STABS_CURRENT_FILE, and STABS_FUN.
64943         (END): Remove call to STABS_FUN_END.
64944         (STABS_CURRENT_FILE1): Delete.
64945         (STABS_CURRENT_FILE): Likewise.
64946         (STABS_FUN): Likewise.
64947         (STABS_FUN_END): Likewise.
64948         (STABS_FUN2): Likewise.
64949         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
64950         * sysdeps/x86_64/configure: Regenerated.
64952 2012-08-14  Roland McGrath  <roland@hack.frob.com>
64954         * elf/dl-open.c: Include <atomic.h>.
64955         * elf/dl-lookup.c: Likewise.
64957 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
64959         * sysdeps/unix/sysv/linux/kernel-features.h
64960         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
64961         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64962         unconditionally.
64963         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
64964         unconditionally.
64965         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
64966         condition on __ASSUME_CLONE_THREAD_FLAGS.
64968 2012-08-14  Andreas Jaeger  <aj@suse.de>
64970         * sysdeps/i386/fpu/libm-test-ulps: Update.
64972 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
64974         * include/atomic.h (atomic_exchange_and_add): Split into ...
64975         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
64976         New atomic macros.
64978 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
64980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64982 2012-08-13  Jeff Law <law@redhat.com>
64984         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64985         null byte in the output string.
64987 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64989         * sysdeps/unix/sysv/linux/kernel-features.h
64990         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64991         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64992         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64993         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64994         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64995         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64996         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64998 2012-08-09  Jeff Law <law@redhat.com>
65000         [BZ #13939]
65001         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65002         When avoid_arena is set, don't retry in the that arena.  Pick the
65003         next one, whatever it might be.
65004         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65005         (arena_lock): Pass in new parameter to arena_get2.
65006         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65007         arena_get2.
65008         (__libc_malloc): Unify retrying after main arena failure with
65009         __libc_memalign version.
65010         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65012 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65014         [BZ #14166]
65015         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65016         to __redirect_strstr.
65017         (__strstr_sse42): Use typeof __redirect_strstr.
65018         (__strstr_ia32): Likewise.
65019         (__libc_strstr): New prototype.
65020         (strstr): Renamed to ...
65021         (__libc_strstr): This.
65022         (strstr): New strong alias of __libc_strstr.
65023         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65024         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65025         __redirect_time.
65026         Include <time.h>.
65027         (__libc_time): New prototype.
65028         (time_ifunc): Replace time with __libc_time.
65029         (time): New strong alias and hidden definition of __libc_time.
65030         (__GI_time): Remove strong alias.
65031         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65032         Include <stddef.h>.
65033         (memmove): Redefined to __redirect_memmove.
65034         (__memmove_sse2): Use typeof __redirect_memmove.
65035         (__memmove_ssse3): Likewise.
65036         (__memmove_ssse3_back): Likewise.
65037         (__libc_memmove): New prototype.
65038         (memmove): Renamed to ...
65039         (__libc_memmove): This.
65040         (memmove): New strong alias of __libc_memmove.
65042 2012-08-08  Mark Salter  <msalter@redhat.com>
65044         * elf/elf.h
65045         (R_MN10300_TLS_GD): Define.
65046         (R_MN10300_TLS_LD): Likewise.
65047         (R_MN10300_TLS_LDO): Likewise.
65048         (R_MN10300_TLS_GOTIE): Likewise.
65049         (R_MN10300_TLS_IE): Likewise.
65050         (R_MN10300_TLS_LE): Likewise.
65051         (R_MN10300_TLS_DTPMOD): Likewise.
65052         (R_MN10300_TLS_DTPOFF): Likewise.
65053         (R_MN10300_TLS_TPOFF): Likewise.
65054         (R_MN10300_SYM_DIFF): Likewise.
65055         (R_MN10300_ALIGN): Likewise.
65056         (R_MN10300_NUM): Update.
65058 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65060         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65061         Remove.
65063 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65065         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65067         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65068         sysdeps/unix -> sysdeps/posix move.
65069         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65071 2012-08-07      Allan McRae     <allan@archlinux.org>
65073         [BZ #14303]
65074         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65075         (SUNOS_CPP): Likewise.
65076         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65077         not found.
65078         (open_input): Call CPP using execvp.
65080 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65082         * sysdeps/unix/sysv/linux/kernel-features.h
65083         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65084         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65085         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65086         (__ASSUME_WAITID_SYSCALL): Likewise.
65087         * sysdeps/unix/sysv/linux/dl-execstack.c
65088         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65089         code unconditional.
65090         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65091         conditional code.
65092         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65093         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65094         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65095         code.
65096         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65097         unconditional.
65098         [__ASSUME_WAITID_SYSCALL]: Likewise.
65099         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65101 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65103         * sysdeps/unix/closedir.c: Renamed to ...
65104         * sysdeps/posix/closedir.c: ... here.
65105         * sysdeps/unix/dirfd.c: Renamed to ...
65106         * sysdeps/posix/dirfd.c: ... here.
65107         * sysdeps/unix/dirstream.h: Renamed to ...
65108         * sysdeps/posix/dirstream.h: ... here.
65109         * sysdeps/unix/fdopendir.c: Renamed to ...
65110         * sysdeps/posix/fdopendir.c: ... here.
65111         * sysdeps/unix/opendir.c: Renamed to ...
65112         * sysdeps/posix/opendir.c: ... here.
65113         * sysdeps/unix/readdir.c: Renamed to ...
65114         * sysdeps/posix/readdir.c: ... here.
65115         * sysdeps/unix/readdir_r.c: Renamed to ...
65116         * sysdeps/posix/readdir_r.c: ... here.
65117         * sysdeps/unix/rewinddir.c: Renamed to ...
65118         * sysdeps/posix/rewinddir.c: ... here.
65119         * sysdeps/unix/seekdir.c: Renamed to ...
65120         * sysdeps/posix/seekdir.c: ... here.
65121         * sysdeps/unix/telldir.c: Renamed to ...
65122         * sysdeps/posix/telldir.c: ... here.
65123         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65124         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65125         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65126         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65128         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65129         * bits/fcntl.h: ... here.
65131         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65132         not 0.
65133         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65134         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65135         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65136         (struct flock): Move l_start, l_len to the beginning.
65137         Use __pid_t for l_pid.
65138         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65139         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65140         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65141         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65142         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65143         [__USE_LARGEFILE64] (struct flock64): New type.
65144         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65146         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65147         * bits/dirent.h: ... here.
65149         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65150         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65152 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65154         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65155         Change from 2.6.0 to 2.6.16.
65156         * sysdeps/unix/sysv/linux/configure: Regenerated.
65157         * sysdeps/unix/sysv/linux/kernel-features.h
65158         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65159         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65160         version.
65161         (__ASSUME_UTIMES): Likewise.
65162         (__ASSUME_CLONE_STOPPED): Remove.
65163         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65164         architectures, not kernel version.
65165         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65166         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65167         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65168         (__ASSUME_WAITID_SYSCALL): Likewise.
65169         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65170         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65171         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65172         refer to older versions.
65174 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65176         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65177         Define alphasort64 as an alias.
65178         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65179         Define versionsort64 as an alias.
65180         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65181         Define scandir64 as an alias.
65182         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65183         Define scandirat64 as an alias.
65184         * dirent/alphasort64.c (alphasort64):
65185         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65186         * dirent/versionsort64.c: Likewise.
65187         * dirent/scandir64.c: Likewise.
65188         * dirent/scandirat64.c: Likewise.
65189         * sysdeps/wordsize-64/alphasort.c: File removed.
65190         * sysdeps/wordsize-64/alphasort64.c: File removed.
65191         * sysdeps/wordsize-64/scandir.c: File removed.
65192         * sysdeps/wordsize-64/scandir64.c: File removed.
65193         * sysdeps/wordsize-64/scandirat.c: File removed.
65194         * sysdeps/wordsize-64/scandirat64.c: File removed.
65195         * sysdeps/wordsize-64/versionsort.c: File removed.
65196         * sysdeps/wordsize-64/versionsort64.c: File removed.
65197         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65198         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65199         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65200         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65201         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65202         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65203         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65204         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65206         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65207         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65208         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65209         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65210         [defined __arch64__ || defined __sparcv9]
65211         (__INO_T_MATCHES_INO64_T): New macro.
65212         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65213         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65214         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65215         * sysdeps/unix/sysv/linux/bits/dirent.h
65216         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65217         (_DIRENT_MATCHES_DIRENT64): New macro.
65219         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65220         Define lockf64 as an alias.
65221         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65222         Define fseeko64 as an alias.
65223         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65224         Define ftello64 as an alias.
65225         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65226         Define _IO_fgetpos64 and fgetpos64 as aliases.
65227         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65228         Define _IO_fsetpos64 and fsetpos64 as aliases.
65229         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65230         Conditionalize body on this.
65231         * libio/fseeko64.c: Likewise.
65232         * libio/ftello64.c: Likewise.
65233         * libio/iofgetpos64.c: Likewise.
65234         * libio/iofsetpos64.c: Likewise.
65235         * sysdeps/wordsize-64/lockf.c: File removed.
65236         * sysdeps/wordsize-64/lockf64.c: File removed.
65237         * sysdeps/wordsize-64/fseeko.c: File removed.
65238         * sysdeps/wordsize-64/fseeko64.c: File removed.
65239         * sysdeps/wordsize-64/ftello.c: File removed.
65240         * sysdeps/wordsize-64/ftello64.c: File removed.
65241         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65242         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65243         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65244         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65245         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65246         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65247         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65248         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65249         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65250         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65251         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65252         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65253         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65254         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65256         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65257         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65258         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65259         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65260         [defined __arch64__ || defined __sparcv9]
65261         (__OFF_T_MATCHES_OFF64_T): New macro.
65262         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65263         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65264         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65265         (__OFF_T_MATCHES_OFF64_T): New macro.
65267 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65269         * stdlib/secure-getenv.c (__secure_getenv): Replace
65270         GLIBC_2_16 with GLIBC_2_17.
65272 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65274         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65275         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65277 2012-08-03  David S. Miller  <davem@davemloft.net>
65279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65281 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65284         Remove.
65285         (__ASSUME_CORRECT_SI_PID): Likewise.
65286         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65287         (__ASSUME_TMPFS_NAME): Likewise.
65288         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65289         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65290         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65291         (HAVE_AUX_SECURE): Make definition unconditional.
65292         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65293         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65295 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65297         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65298         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65299         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65300         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65301         __eloop_threshold instead of SYMLOOP_MAX.
65303         * sysdeps/generic/eloop-threshold.h: New file.
65304         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65305         of MAXSYMLINKS.
65306         * elf/chroot_canon.c (chroot_canon): Likewise.
65308 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65310         [BZ #13717]
65311         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65312         Change to 2.6.0 everywhere.
65313         * sysdeps/unix/sysv/linux/configure: Regenerated.
65314         * sysdeps/unix/sysv/linux/kernel-features.h
65315         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65316         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65317         kernel versions.
65318         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65319         (__ASSUME_FUTEX_REQUEUE): Remove.
65320         (__ASSUME_STATFS64): Define unconditionally.
65321         (__ASSUME_AT_SECURE): Likewise.
65322         (__ASSUME_CORRECT_SI_PID): Likewise.
65323         (__ASSUME_TGKILL): Define without depending on kernel version for
65324         i386.
65325         (__ASSUME_UTIMES): Likewise.
65326         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65327         kernel version.
65328         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65329         (__ASSUME_TMPFS_NAME): Likewise.
65330         * README: Update reference to Linux kernel versions.
65332 2012-08-02  Marek Polacek  <polacek@redhat.com>
65334         [BZ# 14150]
65335         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65336         libc_cv_asm_type_prefix with %.
65337         * configure: Regenerated.
65338         * include/libc-symbols.h: Remove comment about
65339         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65340         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65341         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65342         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65343         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65344         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65345         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65346         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65347         * elf/tst-unique2mod1.c: Likewise.
65348         * elf/tst-unique1mod2.c: Likewise.
65349         * elf/tst-unique1mod1.c: Likewise.
65350         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65351         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65352         Replace ASM_TYPE_DIRECTIVE with .type.
65353         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65354         * sysdeps/i386/sysdep.h: Likewise.
65355         * sysdeps/x86_64/sysdep.h: Likewise.
65356         * sysdeps/sh/sysdep.h: Likewise.
65357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65358         Do not define ASM_TYPE_DIRECTIVE.
65359         * sysdeps/powerpc/sysdep.h: Likewise.
65360         * sysdeps/powerpc/powerpc32/sysdep.h:
65361         Replace ASM_TYPE_DIRECTIVE with .type.
65362         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65363         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65364         * sysdeps/i386/fpu/e_powf.S: Likewise.
65365         * sysdeps/i386/fpu/e_expl.S: Likewise.
65366         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65367         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65368         * sysdeps/i386/fpu/e_pow.S: Likewise.
65369         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65370         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65371         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65372         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65373         * sysdeps/i386/fpu/e_log2.S: Likewise.
65374         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65375         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65376         * sysdeps/i386/fpu/e_powl.S: Likewise.
65377         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65378         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65379         * sysdeps/i386/fpu/e_logl.S: Likewise.
65380         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65381         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65382         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65383         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65384         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65385         * sysdeps/i386/fpu/e_log.S: Likewise.
65386         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65387         * sysdeps/i386/fpu/e_logf.S: Likewise.
65388         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65389         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65390         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65391         * sysdeps/i386/fpu/e_log10.S: Likewise.
65392         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65393         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65394         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65395         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65396         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65397         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65398         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65399         * sysdeps/i386/i686/strtok.S: Likewise.
65400         * sysdeps/i386/i386-mcount.S: Likewise.
65401         * sysdeps/i386/strtok.S: Likewise.
65402         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65403         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65404         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65405         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65406         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65407         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65408         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65409         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65410         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65411         * sysdeps/x86_64/_mcount.S: Likewise.
65412         * sysdeps/x86_64/strtok.S: Likewise.
65413         * sysdeps/sh/_mcount.S: Likewise.
65415 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65417         * libio/iofopen.c: Include <fcntl.h>.
65418         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65419         (_IO_fopen64, fopen64): Define as aliases.
65420         * libio/iofopen64.c: Include <fcntl.h>.
65421         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65422         Conditionalize body on this.
65423         * sysdeps/wordsize-64/iofopen.c: File removed.
65424         * sysdeps/wordsize-64/iofopen64.c: File removed.
65426 2012-08-01  Marek Polacek  <polacek@redhat.com>
65428         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65429         Use dlfcn directly instead of a variable.
65430         (binfmt-subdir): Do not define.
65431         (dlfcn): Likewise.
65433 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65435         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65436         Remove all definitions.
65437         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65438         <kernel-features.h>.
65439         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65440         (miss_F_GETOWN_EX): Remove all definitions.
65441         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65442         macro definition.
65443         [!__ASSUME_FCNTL64]: Remove conditional code.
65444         [__ASSUME_FCNTL64]: Make code unconditional.
65445         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65446         <kernel-features.h>.
65447         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65448         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65449         (lockf64) [__NR_fcntl64]: Make code unconditional.
65450         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65452         * sysdeps/unix/sysv/linux/kernel-features.h
65453         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65454         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65455         Make code unconditional.
65456         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65457         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65459         [__NR_vfork]: Make code unconditional.
65460         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65461         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65463         [__NR_vfork]: Make code unconditional.
65464         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65465         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65467 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65469         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65470         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65472         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65473         Define mkstemp64 as an alias.
65474         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65475         Define mkstemps64 as an alias.
65476         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65477         Define mkostemp64 as an alias.
65478         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65479         Define mkostemps64 as an alias.
65480         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65481         Conditionalize body on this.
65482         * misc/mkostemp64.c: Likewise.
65483         * misc/mkostemps64.c: Likewise.
65484         * misc/mkstemps64.c: Likewise.
65485         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65486         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65487         * sysdeps/wordsize-64/mkostemp.c: File removed.
65488         * sysdeps/wordsize-64/mkstemp.c: File removed.
65489         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65490         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65491         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65492         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65494         [BZ #14138]
65495         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65496         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65497         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65498         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65500         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65501         compat_symbol macros from <shlib-compat.h> rather than the underlying
65502         default_symbol_version and symbol_version macros, so that DEFAULT
65503         lines in shlib-versions are respected.
65504         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65506 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65508         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65509         Declare with warn_unused_result.
65510         (setgid, setregid, setegid, setresgid): Likewise.
65511         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65512         Likewise.
65513         * WUR-REPORT: Remove set*id functions.
65515 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65517         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65519 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65521         [BZ #10191]
65522         * include/sys/socket.h (__libc_accept, __libc_accept4):
65523         Add attribute_hidden.
65524         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65526         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65527         use of PTR_MANGLE.
65528         * inet/getnetgrent_r.c (setup): Likewise.
65530         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65532 2012-07-31  David S. Miller  <davem@davemloft.net>
65534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65536 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65538         [BZ #13629]
65539         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65540         value between 1.0 and 2.0 and smaller part has absolute value less
65541         than 1.0.
65542         * math/s_clog10.c (__clog10): Likewise.
65543         * math/s_clog10f.c (__clog10f): Likewise.
65544         * math/s_clog10l.c (__clog10l): Likewise.
65545         * math/s_clogf.c (__clogf): Likewise.
65546         * math/s_clogl.c (__clogl): Likewise.
65547         * math/libm-test.inc (clog_test): Add more tests.
65548         (clog10_test): Likewise.
65549         * sysdeps/i386/fpu/libm-test-ulps: Update.
65550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65552 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65554         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65555         Exit with zero in case no suitable GID is found, and write a
65556         message to standard error.
65558 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65560         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65561         rather than to 1.
65562         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65563         (MAXPATHLEN): Removed.
65564         (NOGROUP, NODEV): New macros.
65565         (setbit, clrbit, isset, isclr): New macros.
65566         (howmany, roundup, powerof2): New macros.
65567         (DEV_BSIZE): New macro.
65569         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65570         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65572         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65573         definition on [!__NO_LONG_DOUBLE_MATH].
65575         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65576         PTR_MANGLE and PTR_DEMANGLE.
65578         * socket/accept4.c (accept4): Rename to __libc_accept4.
65579         Define accept4 as a weak alias.
65581         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65582         on [_DIRENT_HAVE_D_TYPE].
65583         * io/ftw.c (ftw_dir): Likewise.
65585         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65587         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65589         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65590         Use the BSD numbers rather than the arbitrary ones we had.
65591         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65592         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65593         (SIGXCPU, SIGXFSZ): New macros.
65594         (_NSIG): Now 32.
65596         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65597         initializer on [_LIBC_REENTRANT].
65599         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65600         definitions inside [_POSIX_MAPPED_FILES].
65602         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65604         * dirent/opendir.c: Include <fcntl.h>.
65606         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65607         (__libc_getspecific): Likewise.
65608         (__libc_key_create): Likewise.
65610         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65611         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65612         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65613         (tmpfile64): Define as alias.
65614         * sysdeps/wordsize-64/tmpfile.c: File removed.
65615         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65616         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65617         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65619         * stdio-common/vfscanf.c: Include <stdbool.h>.
65620         * nss/makedb.c: Likewise.
65621         * stdio-common/_i18n_number.h: Likewise.
65622         * argp/argp-help.c: Likewise.
65623         * posix/wordexp.c: Likewise.
65624         * sysdeps/posix/spawni.c: Likewise.
65625         * nss/nss_files/files-initgroups.c: Likewise.
65626         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65627         * nss/nss_files/files-initgroups.c: Likewise.
65628         * nss/nss_db/db-netgrp.c: Likewise.
65629         * nss/nss_db/db-initgroups.c: Likewise.
65630         * io/fchmodat.c: Include <sys/stat.h>.
65632         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65633         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65635         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65636         [HAVE_MMAP].
65638         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65639         Add multiple inclusion protection.
65641 2012-07-27  David S. Miller  <davem@davemloft.net>
65643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65645 2012-07-27  Gary Benson  <gbenson@redhat.com>
65647         [BZ #14298]
65648         * elf/rtld.c: Include <stap-probe.h>.
65649         (dl_main): Added static probes "init_start" and "init_complete".
65650         * elf/dl-load.c: Include <stap-probe.h>.
65651         (lose): Take new parameter "nsid".
65652         Added static probe "map_failed".
65653         (_dl_map_object_from_fd): Pass namespace id to lose.
65654         Added static probe "map_start".
65655         (open_verify): Pass namespace id to lose.
65656         * elf/dl-open.c: Include <stap-probe.h>.
65657         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65658         and "reloc_complete".
65659         * elf/dl-close.c: Include <stap-probe.h>.
65660         (_dl_close_worker): Added static probes "unmap_start" and
65661         "unmap_complete".
65662         * elf/rtld-debugger-interface.txt: New file documenting the above.
65664 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65666         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65667         rather than a string variable.
65668         * sunrpc/rpc_main.c (h_output): Likewise.
65669         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65671 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65673         * inet/check_native.c: New file.
65675 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65677         [BZ #13629]
65678         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65679         if larger part has absolute value 1.0.
65680         * math/s_clog10.c (__clog10): Likewise.
65681         * math/s_clog10f.c (__clog10f): Likewise.
65682         * math/s_clog10l.c (__clog10l): Likewise.
65683         * math/s_clogf.c (__clogf): Likewise.
65684         * math/s_clogl.c (__clogl): Likewise.
65685         * math/libm-test.inc (clog_test): Add more tests.
65686         (clog10_test): Likewise.
65687         * sysdeps/i386/fpu/libm-test-ulps: Update.
65688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65690         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65691         (pltexit): Likewise.
65692         (La_regs): Likewise.
65693         (La_retval): Likewise.
65694         (int_retval): Likewise.
65695         Update #error for removed macros to refer only to definitions in
65696         tst-audit.h.
65697         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65698         macro.
65699         (pltexit): Likewise.
65700         (La_regs): Likewise.
65701         (La_retval): Likewise.
65702         (int_retval): Likewise.
65703         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65704         macro.
65705         (pltexit): Likewise.
65706         (La_regs): Likewise.
65707         (La_retval): Likewise.
65708         (int_retval): Likewise.
65709         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65710         macro.
65711         (pltexit): Likewise.
65712         (La_regs): Likewise.
65713         (La_retval): Likewise.
65714         (int_retval): Likewise.
65715         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65716         macro.
65717         (pltexit): Likewise.
65718         (La_regs): Likewise.
65719         (La_retval): Likewise.
65720         (int_retval): Likewise.
65721         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65722         macro.
65723         (pltexit): Likewise.
65724         (La_regs): Likewise.
65725         (La_retval): Likewise.
65726         (int_retval): Likewise.
65727         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65728         macro.
65729         (pltexit): Likewise.
65730         (La_regs): Likewise.
65731         (La_retval): Likewise.
65732         (int_retval): Likewise.
65733         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65734         macro definitions in tst-audit.h.
65735         * sysdeps/i386/tst-audit.h: New file.
65736         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65737         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65738         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65739         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65740         * sysdeps/sh/tst-audit.h: Likewise.
65741         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65742         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65743         * sysdeps/x86_64/tst-audit.h: Likewise.
65745 2012-07-26  Andreas Jaeger  <aj@suse.de>
65747         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65748         ptrace.
65750         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65751         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65752         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65753         PTRACE_O_MASK.
65754         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65755         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65756         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65758         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65759         value.
65761         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65762         _sigsys.
65763         (si_call_addr, si_syscall, si_arch): Define new macro.
65764         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65765         _sigsys.
65766         (si_call_addr, si_syscall, si_arch): Define new marcro.
65767         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65768         _sigsys.
65769         (si_call_addr, si_syscall, si_arch): Define new macro.
65770         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65771         _sigsys.
65772         (si_call_addr, si_syscall, si_arch): Define new macro.
65774 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65776         [BZ #13717]
65777         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65778         Change to 2.4.21 where previously 2.4.1.
65779         * sysdeps/unix/sysv/linux/configure: Regenerated.
65780         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65781         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65782         Linux kernel version.
65783         (__ASSUME_STD_AUXV): Remove.
65784         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65785         kernel version.
65786         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65787         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65788         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65789         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65790         (__ASSUME_NETLINK_SUPPORT): Likewise.
65791         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65792         (__no_netlink_support): Remove conditional definition.
65793         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65794         Remove.
65795         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65796         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65797         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
65798         (if_nameindex_ioctl): Remove.
65799         (if_nameindex_netlink): Do not handle __no_netlink_support.
65800         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65801         code.
65802         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
65803         Remove conditional code.
65804         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65805         code.
65806         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
65807         unconditional.
65808         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65809         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
65810         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
65811         Remove.
65812         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
65813         [!__ASSUME_STD_AUXV]: Remove conditional code.
65814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
65815         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
65816         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
65817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
65818         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
65819         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65820         code.
65821         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
65823         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
65824         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65825         conditional code.
65826         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
65828         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65829         code.
65830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
65831         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65832         conditional code.
65833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
65834         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65835         code unconditional.
65836         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65837         conditional code.
65838         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65839         unconditional.
65840         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65841         conditional code.
65842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65843         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65844         unconditional.
65845         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65846         conditional code.
65847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
65848         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65849         code unconditional.
65850         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65851         conditional code.
65852         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65853         unconditional.
65854         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65855         conditional code.
65856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
65857         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65858         code unconditional.
65859         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65860         conditional code.
65861         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65862         unconditional.
65863         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65864         conditional code.
65866 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
65868         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
65869         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
65870         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
65871         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
65872         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
65873         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
65874         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65875         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
65876         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
65877         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
65878         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
65879         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
65880         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
65881         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
65882         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
65883         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
65884         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
65885         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
65886         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
65887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
65888         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
65889         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
65890         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65892 2012-07-25  Florian Weimer  <fweimer@redhat.com>
65894         * Versions.def: Add GLIBC_2.17.
65895         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
65896         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
65897         Introduce __libc_secure_getenv.
65898         * stdlib/Versions (2.17): Add secure_getenv
65899         (GLIBC_PRIVATE): Add __libc_secure_getenv.
65900         * stdlib/secure-getenv.c: Rename __secure_getenv to
65901         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
65902         symbol __secure_getenv for GLIBC_2.0.
65903         * stdlib/tst-secure-getenv.c: New.
65904         * stdlib/Makefile (tests): Add testcase.
65905         * manual/startup.texi (Environment Access): Document
65906         secure_getenv.
65907         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
65908         __libc_secure_getenv.
65909         * inet/ruserpass.c (ruserpass): Likewise.
65910         * malloc/mtrace.c (mtrace): Likewise.
65911         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
65912         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
65913         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
65914         * sysdeps/posix/tempname.c: Likewise.  Evaluate
65915         HAVE_SECURE_GETENV.
65916         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
65917         __secure_getenv to __libc_secure_getenv.
65918         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
65919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65920         Likewise.
65921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65922         Likewise.
65923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65925         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65931 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65933         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
65934         (struct La_i86_retval): Likewise.
65935         (struct La_x86_64_regs): Likewise.
65936         (struct La_x86_64_retval): Likewise.
65937         (struct La_x32_regs): Likewise.
65938         (struct La_x32_retval): Likewise.
65939         (struct La_ppc32_regs): Likewise.
65940         (struct La_ppc32_retval): Likewise.
65941         (struct La_ppc64_regs): Likewise.
65942         (struct La_ppc64_retval): Likewise.
65943         (struct La_sh_regs): Likewise.
65944         (struct La_sh_retval): Likewise.
65945         (struct La_s390_32_regs): Likewise.
65946         (struct La_s390_32_retval): Likewise.
65947         (struct La_s390_64_regs): Likewise.
65948         (struct La_s390_64_retval): Likewise.
65949         (struct La_sparc32_regs): Likewise.
65950         (struct La_sparc32_retval): Likewise.
65951         (struct La_sparc64_regs): Likewise.
65952         (struct La_sparc64_retval): Likewise.
65953         (struct audit_ifaces): Remove architecture-specific pltenter and
65954         pltexit members.
65955         * sysdeps/i386/ldsodefs.h: New file.
65956         * sysdeps/powerpc/ldsodefs.h: Likewise.
65957         * sysdeps/s390/ldsodefs.h: Likewise.
65958         * sysdeps/sh/ldsodefs.h: Likewise.
65959         * sysdeps/sparc/ldsodefs.h: Likewise.
65960         * sysdeps/x86_64/ldsodefs.h: Likewise.
65962 2012-07-25  Marek Polacek  <polacek@redhat.com>
65964         [BZ #6808]
65965         * math/libm-test.inc (yn_test): Add another test.
65966         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
65967         to ERANGE when the result is +-Inf.
65968         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
65969         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
65970         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
65971         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
65973 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
65975         * conform/data/time.h-data (NULL): Use macro-constant.  Require
65976         equal to 0.
65977         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
65978         clock_t.
65979         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
65981 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
65983         * configure.in <sysdeps resolving>: Correct printing
65984         Implies_before.
65985         * configure: Regenerate.
65987 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65989         * math/w_ilogb.c: Include <limits.h>.
65990         * math/w_ilogbl.c: Likewise.
65992 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65994         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65995         va_copy.  Document allowing for unavailable va_copy only as
65996         pre-C99 compatibility.
65997         * manual/string.texi (Copying and Concatenation): Use va_copy
65998         instead of __va_copy in concat example.
66000 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66002         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66003         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66004         it if not null.
66006         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66007         with O_NOLINK passed to __file_name_lookup.
66009         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66010         with O_NOLINK passed to __file_name_lookup.
66012         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66013         negative N or less than NGIDS.
66015         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66016         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66017         enough.  Use memcpy instead of strncpy.
66019 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66021         * elf/Makefile (check-data): Remove.
66022         (localplt.data): New vpath directive.
66023         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66024         instead of $(check-data).
66025         * scripts/data/localplt-generic.data: Move to ...
66026         * sysdeps/generic/localplt.data: ... here.
66027         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66028         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66029         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66031         ... here.
66032         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66034         ... here.
66035         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66037         ... here.
66038         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66040         ... here.
66041         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66043         ... here.
66044         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66046         ... here.
66048 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66050         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66051         PPC32 and PPC64 files.
66052         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66053         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66055 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66057         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66058         __makecontext_ret to ...
66059         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66060         ... here and call exit if uc_link is NULL.  New file.
66061         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66062         __makecontext_ret.S.
66063         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66064         __makecontext_ret to ...
66065         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66066         ... here and call exit if uc_link is NULL.  New file.
66067         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66068         __makecontext_ret.S.
66070 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66072         * elf/elf.h (R_390_IRELATIVE): New definition.
66073         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66074         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66075         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66076         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66077         (elf_machine_lazy_rel): Likewise.
66078         * sysdeps/s390/dl-irel.h: New file.
66079         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66080         * sysdeps/s390/s390-64/memset.S: New asm code.
66081         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66082         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66083         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66084         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66085         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66086         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66087         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66088         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66089         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66090         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66091         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66092         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66093         * sysdeps/s390/s390-32/memset.S: New asm code.
66094         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66096 2012-07-17  Marek Polacek  <polacek@redhat.com>
66098         [BZ #14349]
66099         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66100         * sysdeps/s390/s390-64/configure.in: Likewise.
66101         * sysdeps/sparc/configure.in: Likewise.
66102         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66103         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66104         * sysdeps/i386/configure.in: Likewise.
66105         * sysdeps/x86_64/configure.in: Likewise.
66106         * sysdeps/sh/configure.in: Likewise.
66107         * sysdeps/s390/s390-32/configure: Regenerated.
66108         * sysdeps/s390/s390-64/configure: Likewise.
66109         * sysdeps/x86_64/configure: Likewise.
66110         * sysdeps/sh/configure: Likewise.
66111         * sysdeps/powerpc/powerpc64/configure: Likewise.
66112         * sysdeps/powerpc/powerpc32/configure: Likewise.
66113         * sysdeps/sparc/configure: Likwise.
66114         * sysdeps/i386/configure: Likewise.
66116         * elf/dl-open.c: Comment fixes.
66118 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66120         * Makefile [CXX] (check-data): Remove.
66121         [CXX] (c++-types.data): New vpath directive.
66122         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66123         vpath.  Do not allow for C++ type data being missing.
66124         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66125         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66126         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66127         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66128         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66129         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66130         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66132         ... here.
66133         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66135         ... here.
66136         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66138         ... here.
66139         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66141         ... here.
66142         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66144         ... here.
66145         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66147         ... here.
66148         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66150         ... here.
66151         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66154         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66155         definitions to architecture-specific files.
66156         (TLS_IE): Likewise.
66157         (TLS_LD): Likewise.
66158         (TLS_GD): Likewise.
66159         * sysdeps/i386/tls-macros.h: New file.
66160         * sysdeps/powerpc/tls-macros.h: Likewise.
66161         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66162         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66163         * sysdeps/sh/tls-macros.h: Likewise.
66164         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66165         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66166         * sysdeps/x86_64/tls-macros.h: Likewise.
66168 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66170         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66171         zero value for regular exit case.
66173         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66174         (__start_context): Preserve zero value for regular exit case.
66176 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66177             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66179         * manual/setjmp.texi (setcontext): Clarify normal process
66180         termination when uc_link is the null pointer.
66181         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66182         exit call.
66184 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66186         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66187         preprocessor.  Test for each exception mask separately.
66189 2012-07-16  Andreas Jaeger  <aj@suse.de>
66191         * po/ru.po: Update from translation team.
66193 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66195         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66196         equal to 0.
66197         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66198         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66199         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66200         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66201         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66203 2012-07-13  Andreas Jaeger  <aj@suse.de>
66205         * po/fr.po: Update from translation team.
66207 2012-07-12  Marek Polacek  <polacek@redhat.com>
66209         [BZ #14173]
66210         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66211         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66212         loop condition.
66214 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66216         [BZ #13717]
66217         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66218         Change to 2.4.1 where previously 2.4.0.
66219         * sysdeps/unix/sysv/linux/configure: Regenerated.
66220         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66221         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66222         version.
66223         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66224         (__ASSUME_AT_CLKTCK): Remove.
66225         (__ASSUME_AT_PAGESIZE): Likewise.
66226         (__ASSUME_AT_XID): Likewise.
66227         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66228         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66229         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66230         unconditionally.
66231         (HAVE_AUX_PAGESIZE): Likewise.
66232         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66233         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66234         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66236 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66238         [BZ #14307]
66239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66240         the temporary buffer used to invoke __gethostbyname2_r,
66241         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66242         host_data / struct gaih_addrtuple.
66243         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66244         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66245         header file nss/nsswitch.h.
66246         * nss/nsswitch.h (global scope): Add definition of implementation
66247         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66248         resolv/nss_dns/dns-host.c).
66250 2012-07-11  Andreas Jaeger  <aj@suse.de>
66252         * po/fr.po: Update from translation team.
66254         * po/sv.po: Update from translation team
66255         * po/fr.po: Another update from translation team.
66257 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66259         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66260         for subnormals or multiply small sinh result by itself.
66261         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66264 2012-07-11  David S. Miller  <davem@davemloft.net>
66266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66268 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66270         [BZ #14347]
66271         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66272         (INTERNAL_MARK): Shift it here.
66274 2012-07-10  Marek Polacek  <polacek@redhat.com>
66276         [BZ #14151]
66277         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66278         libc_cv_asm_global_directive with .globl.
66279         * configure: Regenerated.
66280         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66281         with .globl.
66282         * sysdeps/i386/configure: Regenerated.
66283         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66284         with .globl.
66285         * sysdeps/x86_64/configure: Regenerated.
66286         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66287         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66288         * elf/tst-unique2mod2.c: Likewise.
66289         * elf/tst-unique2mod1.c: Likewise.
66290         * elf/tst-unique1mod2.c: Likewise.
66291         * elf/tst-unique1mod1.c: Likewise.
66292         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66293         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66294         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66295         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66296         * sysdeps/mach/sysdep.h: Likewise.
66297         * sysdeps/i386/sysdep.h: Likewise.
66298         * sysdeps/i386/i386-mcount.S: Likewise.
66299         * sysdeps/x86_64/_mcount.S: Likewise.
66300         * sysdeps/x86_64/sysdep.h: Likewise.
66301         * sysdeps/sh/_mcount.S: Likewise.
66302         * sysdeps/sh/sysdep.h: Likewise.
66303         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66304         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66305         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66306         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66307         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66308         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66309         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66310         * locale/localeinfo.h: Likewise.
66311         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66312         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66314 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66316         [BZ #14336]
66317         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66318         system".
66319         * manual/message.texi (The Uniforum approach): Likewise.
66320         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66321         (glibc iconv Implementation): Likewise.
66323 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66325         [BZ #14337]
66326         * math/s_clog.c (__clog): Avoid scaling a value down where that
66327         could result in underflow.
66328         * math/s_clog10.c (__clog10): Likewise.
66329         * math/s_clog10f.c (__clog10f): Likewise.
66330         * math/s_clog10l.c (__clog10l): Likewise.
66331         * math/s_clogf.c (__clogf): Likewise.
66332         * math/s_clogl.c (__clogl): Likewise.
66333         * math/libm-test.inc (clog_test): Add more tests.
66334         (clog10_test): Likewise.
66335         * sysdeps/i386/fpu/libm-test-ulps: Update.
66336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66338 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66340         [BZ #14283]
66341         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66342         by 7 not 8 to examine high bit of fractional part.
66344         [BZ #14042]
66345         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66346         for call to __mcount_internal.
66347         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66348         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66349         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66351 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66353         [BZ #14154]
66354         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66355         approximation for values within 0x1p-13f of an odd multiple of
66356         pi/4.
66357         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66358         exception.  Add more tests.
66359         * sysdeps/i386/fpu/libm-test-ulps: Update.
66361         [BZ #6778]
66362         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66363         inputs and return -1 for them.  Do not check for +Inf in case not
66364         reachable for +Inf.
66365         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66366         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66367         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66368         and return -1 for them.  Do not check for +Inf in case not
66369         reachable for +Inf.
66370         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66371         define.
66372         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66373         and return -1 for them.  Do not check for +Inf in case not
66374         reachable for +Inf.
66375         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66376         spurious underflow.
66377         * sysdeps/i386/fpu/libm-test-ulps: Update.
66378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66380 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66382         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66384 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66386         [BZ #14157]
66387         [BZ #14331]
66388         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66389         could result in spurious underflow.  Scale down values above
66390         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66391         * math/s_csqrtf.c (__csqrtf): Likewise.
66392         * math/s_csqrtl.c (__csqrtl): Likewise.
66393         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66394         spurious underflow.
66395         * sysdeps/i386/fpu/libm-test-ulps: Update.
66396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66398 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66400         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66401         xopen-msg.sed.
66402         * catgets/xopen-msg.awk: New file.
66403         * catgets/xopen-msg.sed: Removed.
66405         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66406         po2text.sed.
66407         * intl/po2test.awk: New file.
66408         * intl/po2test.sed: Removed.
66410 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66412         [BZ #14328]
66413         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66414         or multiply small sinh result by itself.
66415         * math/s_ctanf.c (__ctanf): Likewise.
66416         * math/s_ctanh.c (__ctanh): Likewise.
66417         * math/s_ctanhf.c (__ctanhf): Likewise.
66418         * math/s_ctanhl.c (__ctanhl): Likewise.
66419         * math/s_ctanl.c (__ctanl): Likewise.
66420         * math/libm-test.inc (ctan_test_tonearest): New function.
66421         (ctan_test_towardzero): Likewise.
66422         (ctan_test_downward): Likewise.
66423         (ctan_test_upward): Likewise.
66424         (ctanh_test_tonearest): Likewise.
66425         (ctanh_test_towardzero): Likewise.
66426         (ctanh_test_downward): Likewise.
66427         (ctanh_test_upward): Likewise.
66428         (main): Call these new functions.
66429         * sysdeps/i386/fpu/libm-test-ulps: Update.
66430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66432 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66434         * .gitignore: Delete /ports entry.
66436 2012-07-03  Andreas Jaeger  <aj@suse.de>
66438         * po/bg.po: Update from translation team.
66439         * po/cs.po: Likewise.
66440         * po/de.po: Likewise.
66441         * po/hr.po: Likewise.
66442         * po/nl.pl: Likewise.
66443         * po/pl.po: Likewise.
66444         * po/vi.po: Likewise.
66446 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66448         * Makeconfig [!+link] (+link-before-libc): New variable.
66449         [!+link] (+link-after-libc): Likewise.
66450         [!+link] (+link-tests): Likewise.
66451         [!+link] (+link): Define in terms of $(+link-before-libc) and
66452         $(+link-after-libc).
66453         [!+link-static] (+link-static-before-libc): New variable.
66454         [!+link-static] (+link-static-after-libc): Likewise.
66455         [!+link-static] (+link-static-tests): Likewise.
66456         [!+link-static] (+link-static): Define in terms of
66457         $(+link-static-before-libc) and $(+link-static-after-libc).
66458         [build-shared] (link-libc-before-gnulib): New variable.
66459         [build-shared] (link-libc-tests): Likewise.
66460         [build-shared] (link-libc): Define in terms of
66461         $(link-libc-before-gnulib).
66462         [!build-shared] (link-libc-tests): New variable.
66463         (link-libc-static-tests): New variable.
66464         [!gnulib] (gnulib-arch): New variable.
66465         [!gnulib] (gnulib-tests): Likewise.
66466         [!gnulib] (static-gnulib-arch): Likewise.
66467         [!gnulib] (static-gnulib-tests): Likewise.
66468         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66469         Define with "=" instead of ":=".
66470         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66471         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66472         * Rules (binaries-all-notests): New variable.
66473         (binaries-all-tests): Likewise.
66474         (binaries-static-notests): Likewise.
66475         (binaries-static-tests): Likewise.
66476         (binaries-all): Define using $(binaries-all-notests) and
66477         $(binaries-all-tests).
66478         (binaries-static): Define using $(binaries-static-notests) and
66479         $(binaries-static-tests).
66480         (binaries-shared-tests): New variable.
66481         (binaries-shared-notests): Likewise.
66482         (binaries-shared): Remove variable.
66483         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66484         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66485         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66486         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66487         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66488         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66489         * elf/Makefile (sln-modules): New variable.
66490         (extra-objs): Add $(sln-modules:=.o).
66491         (ldconfig-modules): Add static-stubs.
66492         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66493         * elf/static-stubs.c: New file.
66495         [BZ #14283]
66496         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66497         by 7 not 8 to examine high bit of fractional part.  Use volatile
66498         variables when splitting into final array of floats if
66499         __FLT_EVAL_METHOD__ != 0.
66500         * math/libm-test.inc (cos_test): Add another test.
66501         (sin_test): Likewise.
66502         * sysdeps/i386/fpu/libm-test-ulps: Update.
66504         [BZ #14273]
66505         * math/libm-test.inc (cosh_test): Add more tests.
66507         * version.h (RELEASE): Set to "development".
66508         (VERSION): Set to "2.16.90".
66510 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66512         * NEWS: Update copyright. Remove last-updated date.
66513         Mention math library bug fixes and timezone data changes.
66514         * README: Mention GNU/Hurd, x32, and HPPA support status.
66516 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66518         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66520 2012-06-27  Andreas Jaeger  <aj@suse.de>
66522         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66524 2012-06-25  Andreas Jaeger  <aj@suse.de>
66526         * sysdeps/s390/fpu/libm-test-ulps: Update.
66528 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66529             Thomas Schwinge  <thomas@codesourcery.com>
66531         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66532         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66533         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66534         fanotify_mark.
66536 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66538         * sysdeps/mach/start.c: Remove file.
66539         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66540         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66541         * sysdeps/sh/init-first.c: Likewise.
66543         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66544         registers for frame unwinding purposes, add CFI directives.
66545         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66546         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66547         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66548         Likewise.
66550         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66551         __fortify_fail returning.
66552         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66554         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66555         sysdeps/sh/____longjmp_chk.S.
66556         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66557         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66558         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66559         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66561         * sysdeps/sh/abort-instr.h: New file.
66562         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66563         process in case exit returns.
66565         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66566         initialize the GOT register before use.
66568         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66569         calculation of ARGC > 4.
66571         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66572         meaningful names to some local labels.
66574 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66575             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66577         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66578         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66579         (__arch_compare_and_exchange_val_16_acq): Likewise.
66580         (__arch_compare_and_exchange_val_32_acq): Likewise.
66581         (atomic_exchange_and_add): Fix gUSA sequence.
66582         (atomic_add): Likewise.
66583         (atomic_add_negative): Likewise.
66584         (atomic_add_zero): Likewise.
66585         (atomic_bit_test_set): Likewise.
66587 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66589         [BZ #13579]
66590         * include/link.h (struct link_map): Add l_free_initfini.
66591         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66592         l_initfini.
66593         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66594         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66595         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66596         set.
66598 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66600         * configure.in: Use AC_LANG_SOURCE.
66601         * configure: Regenerate.
66603 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66605         * configure.in (libc_cv_localstatedir): New substituted variable.
66606         * configure: Regenerated.
66607         * config.make.in (localstatedir): New variable, substituted from
66608         libc_cv_localstatedir.
66609         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66610         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66611         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66612         * sysdeps/gnu/configure: Regenerated.
66614 2012-06-21  Jeff Law  <law@redhat.com>
66616         [BZ #14277]
66617         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66618         free.  Simplify list management for _LIBC case.
66620 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66622         [BZ #14273]
66623         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66624         Clear sign bit of 64-bit integer value before comparing against
66625         overflow value.
66627         * sysdeps/mach/configure: Regenerated.
66629 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66631         [BZ #14278]
66632         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66634 2012-06-21  Jeff Law  <law@redhat.com>
66636         [BZ #13882]
66637         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66638         uint16_t for elements in the "seen" array to avoid char overflows.
66639         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66640         * elf/dl-open.c (dl_open_worker): Likewise.
66642 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66644         * scripts/list-sources.sh: Scan PORTS for translations.
66645         * po/libc.pot: Regenerated.
66647 2012-06-21  Andreas Jaeger  <aj@suse.de>
66649         [BZ #12194]
66650         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66651         warning.
66652         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66653         * bits/byteswap-16.h (__bswap_16): Likewise.
66654         * bits/byteswap.h (__bswap_constant_16): Likewise.
66656 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66658         [BZ #14117]
66659         * sysdeps/i386/fpu_control.h: Removed.
66660         * sysdeps/x86_64/fpu_control.h: Moved to ...
66661         * sysdeps/x86/fpu_control.h: Here.
66663         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66664         (_FPU_SETCW): Likewise.
66666 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66668         [BZ #14117]
66669         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66670         * sysdeps/x86/fpu/bits/mathinline.h: This.
66671         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66673         [BZ #14050]
66674         [BZ #14117]
66675         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66676         functions if __x86_64__ is defined.
66678 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66680         * string/endian.h: Add !__ASSEMBLER__ condition for including
66681         conversion interfaces.
66683 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66685         [BZ #14241]
66686         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66687         of ABS(x) in calculating zero to negative powers other than odd
66688         integers.
66689         * math/libm-test.inc (pow_test): Add more tests.
66691 2012-06-15  Andreas Jaeger  <aj@suse.de>
66693         * manual/contrib.texi (Contributors): Update entry of Liubov
66694         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66695         Machado Filho.
66697 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66699         * string/string.h: Add __wur to GNU version of strerror_r.
66701 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66703         [BZ #14229]
66704         * string/Makefile (tests): Add tst-strtok_r.
66705         * string/tst-strtok_r.c: New file.
66706         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66707         RAX_LP/RDX_LP on SAVE_PTR.
66709 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66711         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66713 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66715         * libm_test.inc (csqrt_test): Allow more spurious underflow
66716         exceptions.
66717         (j0_test): Likewise.
66718         (j1_test): Likewise.
66719         (y0_test): Likewise.
66720         (y1_test): Likewise.
66722 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66724         * po/Makefile (libc.pot): Use UTF-8 charset.
66726 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66728         [BZ #14210]
66729         Suppress sign-conversion warning from FD_SET.
66730         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66731         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66732         not unsigned long int.
66733         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66735 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66737         [BZ #14050]
66738         [BZ #14117]
66739         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66740         __extern_always_inline instead of __extern_inline.
66741         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66742         (__signbit): Likewise.
66743         (__signbitl): Support C++ namespace.
66744         (lrintf): New inline function.
66745         (lrint): Likewise.
66746         (llrintf): Likewise.
66747         (llrint): Likewise.
66748         (fmaxf): Likewise.
66749         (fmax): Likewise.
66750         (fminf): Likewise.
66751         (fmin): Likewise.
66752         (rint): Likewise.
66753         (rintf): Likewise.
66754         (ceil): Likewise.
66755         (ceilf): Likewise.
66756         (floor): Likewise.
66757         (floorf): Likewise.
66758         (nearbyint): Likewise.
66759         (nearbyintf): Likewise.
66761 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66763         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66764         non-default versions.
66766 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66768         [BZ #14218]
66769         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66771 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66773         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66774         (FE_UPWARD, FE_DOWNWARD): Don't define.
66775         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66776         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66778         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66779         reading it.
66780         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66781         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66783 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66785         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66786         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66787         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66788         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66790 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66792         [BZ #14117]
66793         * sysdeps/i386/fpu/bits/fenv.h: Removed.
66794         * sysdeps/i386/fpu/Implies: New file.
66795         * sysdeps/x86_64/fpu/Implies: Likewise.
66796         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66797         * sysdeps/x86/fpu/bits/fenv.h: This.
66799         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
66800         __SSE_MATH__.
66802 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66804         [BZ #14134]
66805         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
66806         character 0xffff that matches the last element of the
66807         conversion table.
66809 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66811         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
66812         fmodl commit.
66814 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66816         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
66817         values higher than 25.6283.
66819 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66821         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
66822         subnormal exponent extraction and add some __builtin_expect.
66823         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
66824         Fix for subnormal mantissa calculation.
66826 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
66828         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
66829         cpu2 is -1 and errno is not ENOSYS.
66831 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
66833         [BZ #14117]
66834         * sysdeps/i386/i486/bits/string.h: Renamed to ...
66835         * sysdeps/x86/bits/string.h: This.
66836         * sysdeps/x86_64/bits/string.h: Removed.
66838         * sysdeps/i386/i486/bits/string.h: Define inline functions only
66839         if not compiling for x86-64, but compiling for >= i486.
66841         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
66842         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
66844         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
66845         New macro from Linux kernel 3.4.0.
66846         (FP_XSTATE_MAGIC2): Likewise.
66847         (FP_XSTATE_MAGIC2_SIZE): Likewise.
66848         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
66849         (struct _fpx_sw_bytes): New struct.
66850         (struct _xsave_hdr): Likewise.
66851         (struct _ymmh_state): Likewise.
66852         (struct _xstate): Likewise.
66854         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66855         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
66856         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
66857         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
66858         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
66859         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66861         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
66862         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
66863         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
66864         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
66865         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
66866         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
66868 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66870         [BZ #13743]
66871         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
66872         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
66873         (sysdep_headers): Include sys/platform/ppc.h.
66874         * sysdeps/powerpc/test-gettimebase.c: Test for
66875         __ppc_get_timebase() to catch future ISA opcode/insn changes.
66876         * manual/Makefile (appendices): Include platform.texi.
66877         * manual/contrib.texi (Contributors): Update @node pointers.
66878         * manual/maint.texi (Maintenance): Likewise.
66879         (Platform): New node.
66880         * manual/platform.texi: New file.  Document the new features.
66882 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66883             Jakub Jelinek  <jakub@redhat.com>
66885         [BZ #14188]
66886         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
66887         where __builtin_expect is unavailable.
66889 2012-06-03  David S. Miller  <davem@davemloft.net>
66891         * stdlib/longlong.h: Updated from GCC.
66893 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
66895         [BZ #14042]
66896         * sysdeps/powerpc/powerpc32/mcount.c: New file.
66897         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
66898         __mcount_internal.
66899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66900         (GLIBC_2.16): Likewise.
66902 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66904         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
66906 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
66909         (default-abi): New variable.
66910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
66911         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
66912         variable.
66913         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
66914         Likewise.
66915         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66916         Likewise.
66917         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
66918         Likewise.
66920         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
66921         definition.  Document in comment.
66923 2012-06-01  David S. Miller  <davem@davemloft.net>
66925         * stdlib/longlong.h: Updated from GCC.
66927 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66929         [BZ #14117]
66930         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
66931         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
66932         sys/debugreg.h sys/io.h here.
66933         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
66934         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
66935         sys/io.h.
66936         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
66937         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
66938         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
66939         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
66940         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
66941         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
66943         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
66944         Define only if __x86_64__ is defined.
66946 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66948         [BZ #14048]
66949         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
66950         Use int64_t for variable i.
66951         * math/libm-test.inc (fmod_test): Add more tests.
66953         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
66954         z computation is not scheduled after fetestexcept.
66955         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
66956         Use math_force_eval instead of asm to ensure calculation scheduled
66957         before exception test.
66958         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
66959         Ensure a1 + u.d computation is not scheduled after fetestexcept.
66961 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
66963         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
66964         computation is not scheduled after fetestexcept.
66966 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66968         [BZ #14117]
66969         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
66970         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
66972 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66974         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
66975         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66977 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66979         [BZ #14117]
66980         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66981         <bits/wordsize.h>.
66982         (__WCHAR_MIN): Support __WORDSIZE == 64.
66983         (__WCHAR_MAX): Likewise.
66985         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66986         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66988         [BZ #14183]
66989         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66990         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66992         [BZ #14117]
66993         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66994         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66996         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66997         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66999         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67000         Defined to 1 if __x86_64__ isn't defined.
67001         (_STAT_VER_LINUX_OLD): New.
67002         (st_atime): Remove duplicate.
67003         (st_mtime): Likewise.
67004         (st_ctime): Likewise.
67006 2012-05-31  David S. Miller  <davem@davemloft.net>
67008         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67009         entries.
67011 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67013         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67014         gen-libm-test.pl.
67016         [BZ #14132]
67017         * elf/dl-reloc.c: Include <_itoa.h>.
67018         (_dl_reloc_bad_type): Remove use of INTUSE.
67019         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67020         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67021         * stdio-common/psiginfo.c (psiginfo): Likewise.
67022         * stdio-common/psignal.c (psignal): Likewise.
67023         * string/strsignal.c (strsignal): Likewise.
67024         * include/signal.h (_sys_siglist): Declare hidden proto.
67025         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67026         INTVARDEF with libc_hidden_data_def.
67027         * stdio-common/itoa-udigits.c: Likewise.
67028         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67029         (_itoa_lower_digits_internal): Remove declaration.
67030         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67031         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67032         (_sys_sigabbrev_internal): Remove aliases.
67033         (_sys_siglist): Define hidden alias.
67035 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67038         bits/sysctl.h.
67040 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67042         [BZ #14117]
67043         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67044         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67046         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67047         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67048         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67049         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67050         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67051         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67053         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67054         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67055         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67057         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67058         with __addr.
67059         (insw): Likewise.
67060         (insl): Likewise.
67061         (outsb): Likewise.
67062         (outsw): Likewise.
67063         (outsl): Likewise.
67065         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67066         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67067         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67069         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67070         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67071         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67072         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67073         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67074         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67076         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67077         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67079         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67080         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67082         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67083         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67084         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67086         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67087         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67088         to ...
67089         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67091         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67092         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67093         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67095         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67096         for x86-64.
67097         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67099 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67101         * math/math.h (M_El): Use two more decimal places.
67102         (M_LOG2El): Likewise.
67103         (M_LOG10El): Likewise.
67104         (M_LN2l): Likewise.
67105         (M_LN10l): Likewise.
67106         (M_PIl): Likewise.
67107         (M_PI_2l): Likewise.
67108         (M_PI_4l): Likewise.
67109         (M_1_PIl): Likewise.
67110         (M_2_PIl): Likewise.
67111         (M_2_SQRTPIl): Likewise.
67112         (M_SQRT2l): Likewise.
67113         (M_SQRT1_2l): Likewise.
67115 2012-05-31  David S. Miller  <davem@davemloft.net>
67117         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67118         values between float registers.
67119         * sysdeps/sparc/sparc64/memset.S: Likewise.
67120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67122 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67124         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67125         -D_FORTIFY_SOURCE=1.
67126         (CPPFLAGS-tst-longjmp_chk.c): Define.
67127         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67128         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67129         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67130         CFLAGS-tst-wchar-h.c.
67132 2012-05-31  Marek Polacek  <polacek@redhat.com>
67134         [BZ #14132]
67135         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67136         __endmntent_internal): Remove declaration.
67137         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67138         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67139         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67141 2012-05-30  David S. Miller  <davem@davemloft.net>
67143         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67144         (___Q_simulate_exceptions): Use real FP ops rather than writing
67145         into the %fsr.
67146         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67147         Likewise.
67149 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67151         [BZ #14117]
67152         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67153         * sysdeps/x86/bits/xtitypes.h: This.
67155         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67156         * sysdeps/x86/bits/wordsize.h: This.
67158         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67159         * sysdeps/x86/bits/huge_vall.h: This.
67161         * sysdeps/i386/bits/select.h: Removed.
67162         * sysdeps/x86_64/bits/select.h: Renamed to ...
67163         * sysdeps/x86/bits/select.h: This.
67165         * sysdeps/i386/bits/setjmp.h: Removed.
67166         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67167         * sysdeps/x86/bits/setjmp.h: This.
67169         * sysdeps/i386/bits/mathdef.h: Removed.
67170         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67171         * sysdeps/x86/bits/mathdef.h: This.
67173 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67175         [BZ #14132]
67176         * include/sys/socket.h (__connect_internal)
67177         (__libc_sa_len_internal): Remove declaration.
67178         (__connect, __libc_sa_len): Declare hidden_proto.
67179         (SA_LEN): Remove use of INTUSE.
67180         * socket/connect.c: Add libc_hidden_def.
67181         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67182         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67183         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67184         alias.
67185         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67186         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67187         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67188         of adding _internal alias.
67190 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67192         [BZ #14117]
67193         * sysdeps/i386/bits/link.h: Removed.
67194         * sysdeps/i386/bits/linkmap.h: Likewise.
67195         * sysdeps/x86_64/bits/link.h: Renamed to ...
67196         * sysdeps/x86/bits/link.h: This.
67197         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67198         * sysdeps/x86/bits/linkmap.h: This.
67200         * sysdeps/i386/bits/endian.h: Removed.
67201         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67202         * sysdeps/x86/bits/endian.h: This.
67204         * sysdeps/i386/bits/byteswap.h: Removed.
67205         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67206         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67207         * sysdeps/x86/bits/byteswap.h: This.
67208         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67209         * sysdeps/x86/bits/byteswap-16.h: This.
67210         * sysdeps/i386/Implies: Add x86.
67211         * sysdeps/x86_64/Implies: Likewise.
67213 2012-05-30  David S. Miller  <davem@davemloft.net>
67215         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67216         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67217         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67218         (FP_TRAPPING_EXCEPTIONS): Define.
67219         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67220         (FP_TRAPPING_EXCEPTIONS): Define.
67221         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67222         subnormals only when inexact has been signalled or underflow
67223         exceptions are enabled.
67224         (_FP_PACK_CANONICAL): Likewise.
67226 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67228         [BZ #14183]
67229         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67230         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67232 2012-05-30  Richard Henderson  <rth@twiddle.net>
67234         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67235         with #ifndef NOT_IN_libc.
67237         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67238         marked to avoid plt entry.
67240 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67242         [BZ #14112]
67243         * Makeconfig (default-abi): New macro.
67244         (abi-includes): Likewise.
67245         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67246         $(abi-$(default-abi)-lib-soname) for soname if defined.
67247         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67248         abi-variants.
67249         * Makefile (installed-stubs): Likewise.
67250         * include/stubs-biarch.h: Removed.
67251         * scripts/lib-names.awk: Only handle one library at a time.
67252         * scripts/soversions.awk: Remove WORDSIZE support.
67253         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67254         entries.
67255         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67256         Removed.
67257         (syscall-list-default-condition): Likewise.
67258         (syscall-list-default-condition): Likewise.
67259         (syscall-list-includes): Likewise.
67260         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67261         syscall-list-* with abi-*.  Handle undefined abi-variants.
67262         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67263         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67264         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67265         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67266         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67267         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67268         Removed.
67269         (syscall-list-32-options): Likewise.
67270         (syscall-list-32-condition): Likewise.
67271         (syscall-list-64-options): Likewise.
67272         (syscall-list-64-condition): Likewise.
67273         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67274         macro.
67275         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67276         Renamed to ...
67277         (abi-*): This.
67278         (abi-64-ld-soname): New macro.
67279         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67280         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67281         Renamed to ...
67282         (abi-*): This.
67283         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67284         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67286 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67288         * sysdeps/unix/sysv/linux/kernel-features.h
67289         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67290         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67291         include <kernel-features.h>.
67292         [!__NR_ftruncate64]: Remove conditional code.
67293         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67294         [__NR_ftruncate64]: Make code unconditional.
67295         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67296         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67297         include <kernel-features.h>.
67298         [!__NR_ftruncate64]: Remove conditional code.
67299         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67300         [__NR_ftruncate64]: Make code unconditional.
67301         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67303         include <kernel-features.h>.
67304         [!__NR_ftruncate64]: Remove conditional code.
67305         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67306         [__NR_ftruncate64]: Make code unconditional.
67307         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67309         include <kernel-features.h>.
67310         [!__NR_ftruncate64]: Remove conditional code.
67311         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67312         [__NR_ftruncate64]: Make code unconditional.
67313         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67315         * configure.in (libc_cv_fpie): Weaken to a compile test using
67316         LIBC_TRY_CC_OPTION.
67317         * configure: Regenerated.
67319 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67325         Refreshed.
67326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67332         Refreshed.
67334 2012-05-27  David S. Miller  <davem@davemloft.net>
67336         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67337         (___Q_zero): New.
67338         (__Q_simulate_exceptions): Return void.  Change to simulate
67339         exceptions by writing into the %fsr.
67340         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67341         (__Qp_handle_exceptions): Likewise.
67342         (numbers): Delete.
67343         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67344         __Qp_handle_exceptions.
67345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67346         __Qp_handle_exceptions.
67347         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67348         as unused and give dummy FP_RND_NEAREST initializer.
67349         (FP_INHIBIT_RESULTS): Define.
67350         (___Q_simulate_exceptions): Update declaration.
67351         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67352         formatting.
67353         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67354         as unused and give dummy FP_RND_NEAREST initializer.
67355         (__Qp_handle_exceptions): Update declaration.
67356         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67357         formatting.
67359 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67361         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67362         the temporary FPU control word.
67363         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67364         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67365         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67366         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67367         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67368         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67369         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67370         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67371         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67372         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67373         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67375 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67377         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67378         fields.
67380 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67382         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67383         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67384         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67385         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67386         Likewise.
67387         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67388         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67389         Likewise.
67391 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67393         * po/h.po: Update from translation team.
67395 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67397         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67399         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67400         handling of denormals.
67401         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67402         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67403         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67404         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67405         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67406         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67407         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67408         Likewise.
67410 2012-05-26  Marek Polacek  <polacek@redhat.com>
67412         [BZ #14152]
67413         * math/libm-test.inc (fma_test): Don't always expect underflow
67414         exception.
67416 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67418         [BZ #12416]
67419         * elf/tst-execstack.c: Include stackinfo.h.
67420         (do_test): Adjust test case to ensure that pthread_getattr_np
67421         behaviour remains the same after marking stack executable.
67423 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67425         * sysdeps/unix/sysv/linux/kernel-features.h
67426         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67427         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67428         kernel-features.h.
67429         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67430         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67431         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67432         kernel-features.h.
67433         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67434         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67436 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67438         * configure.in: Define the default includes to being none.
67439         * configure: Regenerated.
67441 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67443         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67444         * sysdeps/x86_64/setjmp.S: Likewise.
67445         * sysdeps/i386/bsd-setjmp.S: Likewise.
67446         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67447         * sysdeps/i386/setjmp.S: Likewise.
67448         * sysdeps/i386/__longjmp.S: Likewise.
67449         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67450         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67452         * include/stap-probe.h: New file.
67453         * configure.in: Handle --enable-systemtap.
67454         * configure: Regenerated.
67455         * config.h.in (USE_STAP_PROBE): New #undef.
67456         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67457         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67458         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67460 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67462         [BZ #13717]
67463         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67464         to 2.4.0 where earlier.
67465         * sysdeps/unix/sysv/linux/configure: Regenerated.
67466         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67467         <kernel-features.h>.
67468         [__ASSUME_32BITUIDS]: Make code unconditional.
67469         [!__ASSUME_32BITUIDS]: Remove conditional code.
67470         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67471         <kernel-features.h>.
67472         [__ASSUME_32BITUIDS]: Make code unconditional.
67473         [!__ASSUME_32BITUIDS]: Remove conditional code.
67474         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67475         [__ASSUME_32BITUIDS]: Make code unconditional.
67476         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67477         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67478         <kernel-features.h>.
67479         [__ASSUME_32BITUIDS]: Make code unconditional.
67480         [!__ASSUME_32BITUIDS]: Remove conditional code.
67481         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67482         <kernel-features.h>.
67483         [__ASSUME_32BITUIDS]: Make code unconditional.
67484         [!__ASSUME_32BITUIDS]: Remove conditional code.
67485         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67486         <kernel-features.h>.
67487         [__ASSUME_32BITUIDS]: Make code unconditional.
67488         [!__ASSUME_32BITUIDS]: Remove conditional code.
67489         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67490         <kernel-features.h>.
67491         [__ASSUME_32BITUIDS]: Make code unconditional.
67492         [!__ASSUME_32BITUIDS]: Remove conditional code.
67493         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67494         <kernel-features.h>.
67495         [__ASSUME_32BITUIDS]: Make code unconditional.
67496         [!__ASSUME_32BITUIDS]: Remove conditional code.
67497         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67498         <kernel-features.h>.
67499         [__ASSUME_32BITUIDS]: Make code unconditional.
67500         [!__ASSUME_32BITUIDS]: Remove conditional code.
67501         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67502         <kernel-features.h>.
67503         [__ASSUME_32BITUIDS]: Make code unconditional.
67504         [!__ASSUME_32BITUIDS]: Remove conditional code.
67505         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67506         <kernel-features.h>.
67507         [__ASSUME_32BITUIDS]: Make code unconditional.
67508         [!__ASSUME_32BITUIDS]: Remove conditional code.
67509         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67510         <kernel-features.h>.
67511         [__ASSUME_32BITUIDS]: Make code unconditional.
67512         [!__ASSUME_32BITUIDS]: Remove conditional code.
67513         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67514         <kernel-features.h>.
67515         [__ASSUME_32BITUIDS]: Make code unconditional.
67516         [!__ASSUME_32BITUIDS]: Remove conditional code.
67517         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67518         <kernel-features.h>.
67519         [__NR_setresgid] (__setresgid): Do not declare.
67520         [__ASSUME_32BITUIDS]: Make code unconditional.
67521         [!__ASSUME_32BITUIDS]: Remove conditional code.
67522         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67523         <kernel-features.h>.
67524         [__NR_setresuid] (__setresuid): Do not declare.
67525         [__ASSUME_32BITUIDS]: Make code unconditional.
67526         [!__ASSUME_32BITUIDS]: Remove conditional code.
67527         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67528         <kernel-features.h>.
67529         [__ASSUME_32BITUIDS]: Make code unconditional.
67530         [!__ASSUME_32BITUIDS]: Remove conditional code.
67531         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67532         <kernel-features.h>.
67533         [__ASSUME_32BITUIDS]: Make code unconditional.
67534         [!__ASSUME_32BITUIDS]: Remove conditional code.
67535         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67536         <kernel-features.h>.
67537         [__ASSUME_32BITUIDS]: Make code unconditional.
67538         [!__ASSUME_32BITUIDS]: Remove conditional code.
67539         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67540         <kernel-features.h>.
67541         [__ASSUME_32BITUIDS]: Make code unconditional.
67542         [!__ASSUME_32BITUIDS]: Remove conditional code.
67543         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67544         <kernel-features.h>.
67545         [__ASSUME_32BITUIDS]: Make code unconditional.
67546         [!__ASSUME_32BITUIDS]: Remove conditional code.
67547         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67548         <kernel-features.h>.
67549         [__ASSUME_32BITUIDS]: Make code unconditional.
67550         [!__ASSUME_32BITUIDS]: Remove conditional code.
67551         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67552         <kernel-features.h>.
67553         [__ASSUME_32BITUIDS]: Make code unconditional.
67554         [!__ASSUME_32BITUIDS]: Remove conditional code.
67555         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67556         <kernel-features.h>.
67557         [__ASSUME_32BITUIDS]: Make code unconditional.
67558         [!__ASSUME_32BITUIDS]: Remove conditional code.
67559         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67560         <kernel-features.h>.
67561         [__ASSUME_32BITUIDS]: Make code unconditional.
67562         [!__ASSUME_32BITUIDS]: Remove conditional code.
67563         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67564         <kernel-features.h>.
67565         [__ASSUME_32BITUIDS]: Make code unconditional.
67566         [!__ASSUME_32BITUIDS]: Remove conditional code.
67567         * sysdeps/unix/sysv/linux/kernel-features.h
67568         (__ASSUME_SETRESUID_SYSCALL): Remove.
67569         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67570         (__ASSUME_32BITUIDS): Likewise.
67571         (__ASSUME_LDT_WORKS): Likewise.
67572         (__ASSUME_O_DIRECTORY): Likewise.
67573         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67574         architecture but not kernel version.
67575         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67576         (__ASSUME_MMAP2_SYSCALL): Likewise.
67577         (__ASSUME_STAT64_SYSCALL): Likewise.
67578         (__ASSUME_IPC64): Likewise.
67579         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67580         <kernel-features.h>.
67581         [__ASSUME_32BITUIDS]: Make code unconditional.
67582         [!__ASSUME_32BITUIDS]: Remove conditional code.
67583         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67584         <kernel-features.h>.
67585         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67586         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67587         132096]: Remove conditional code.
67588         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67589         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67590         <kernel-features.h>.
67591         [__ASSUME_32BITUIDS]: Make code unconditional.
67592         [!__ASSUME_32BITUIDS]: Remove conditional code.
67593         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67594         <kernel-features.h>.
67595         [__ASSUME_32BITUIDS]: Make code unconditional.
67596         [!__ASSUME_32BITUIDS]: Remove conditional code.
67597         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67598         <kernel-features.h>.
67599         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67600         unconditional.
67601         (__setresgid): Do not declare.
67602         [__ASSUME_32BITUIDS]: Make code unconditional.
67603         [!__ASSUME_32BITUIDS]: Remove conditional code.
67604         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67605         <kernel-features.h>.
67606         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67607         unconditional.
67608         (__setresuid): Do not declare.
67609         [__ASSUME_32BITUIDS]: Make code unconditional.
67610         [!__ASSUME_32BITUIDS]: Remove conditional code.
67611         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67612         <kernel-features.h>.
67613         [__ASSUME_32BITUIDS]: Make code unconditional.
67614         [!__ASSUME_32BITUIDS]: Remove conditional code.
67615         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67616         <kernel-features.h>.
67617         [__ASSUME_32BITUIDS]: Make code unconditional.
67618         [!__ASSUME_32BITUIDS]: Remove conditional code.
67620 2012-05-25  Richard Henderson  <rth@twiddle.net>
67622         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67623         dl_hwcap to ifunc resolver.
67624         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67625         elf_ifunc_invoke.
67626         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67627         dl_hwcap to ifunc resolver.
67628         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67630 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67632         [BZ #14153]
67633         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67634         for |x| <= 2**-26, not 2**-57.
67635         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67636         exception.
67638 2012-05-24  Jeff Law  <law@redhat.com>
67640         * stdio-common/Makefile (tests): Add bug25.
67641         * stdio-common/bug25.c: New test.
67643 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67645         [BZ #13576]
67646         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67647         multiple of MALLOC_ALIGNMENT in size.
67648         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67650 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67652         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67653         Require >= 256.
67654         (FILENAME_MAX): Use macro-int-constant.
67655         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67656         (_IOFBF): Use macro-int-constant.
67657         (_IOLBF): Likewise.
67658         (_IONBF): Likewise.
67659         (SEEK_CUR): Likewise.
67660         (SEEK_END): Likewise.
67661         (SEEK_SET): Likewise.
67662         (TMP_MAX): Likewise.
67663         (EOF): Use macro-int-constant.  Require < 0.
67664         (NULL): Use macro-constant.  Require == 0.
67665         (stdin): Require type to be FILE *.
67666         (stdout): Likewise.
67667         (stderr): Likewise.
67668         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67669         macro-int-constant.
67670         (EXIT_SUCCESS): Likewise.
67671         (NULL): Use macro-constant.  Require == 0.
67672         (RAND_MAX): Use macro-int-constant.
67673         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67674         [C99-based standards] (strtof): Require function.
67675         [C99-based standards] (strtold): Likewise.
67676         [C99-based standards] (strtoll): Likewise.
67677         [C99-based standards] (strtoull): Likewise.
67678         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67679         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67680         [ISO || ISO99 || ISO11] (math.h): Likewise.
67681         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67682         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67683         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67685 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67687         [BZ #14132]
67688         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67689         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67690         * intl/dgettext.c (DCGETTEXT): Likewise.
67691         * intl/gettext.c (DCGETTEXT): Likewise.
67692         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67693         * posix/regex_internal.h (gettext): Likewise.
67694         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67695         Remove declaration.
67696         * include/argz.h (__argz_count_internal)
67697         (__argz_stringify_internal): Remove declaration.
67698         (__argz_count, __argz_stringify): Declare hidden proto.
67699         * intl/dcgettext.c: Remove use of INTDEF.
67700         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67701         * string/argz-stringify.c: Likewise.
67702         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67703         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67704         Declare hidden proto.
67705         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67706         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67707         Declare hidden proto.
67708         * include/stdio.h (__asprintf_internal): Don't declare.
67709         (__asprintf): Don't define as macro.  Declare hidden proto.
67710         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67711         (__fsetlocking): Declare hidden proto.
67712         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67713         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67714         hidden proto.
67715         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67716         (_IO_setlinebuf): Remove use of INTUSE.
67717         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67718         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67719         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67720         Remove declaration.
67721         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67722         (_IO_do_flush): Remove use of INTUSE.
67723         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67724         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67725         (_IO_adjust_column, _IO_least_wmarker)
67726         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67727         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67728         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67729         (_IO_default_doallocate, _IO_wdefault_doallocate)
67730         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67731         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67732         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67733         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67734         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67735         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67736         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67737         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67738         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67739         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67740         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67741         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67742         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67743         proto.
67744         (_IO_flush_all_internal, _IO_adjust_column_internal)
67745         (_IO_default_uflow_internal, _IO_default_finish_internal)
67746         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67747         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67748         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67749         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67750         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67751         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67752         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67753         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67754         (_IO_file_close_internal, _IO_file_close_it_internal)
67755         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67756         (_IO_file_init_internal, _IO_file_attach_internal)
67757         (_IO_file_fopen_internal, _IO_file_read_internal)
67758         (_IO_file_sync_internal, _IO_file_seek_internal)
67759         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67760         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67761         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67762         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67763         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67764         (_IO_list_all_internal, _IO_link_in_internal)
67765         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67766         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67767         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67768         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67769         (_IO_do_write_internal, _IO_padn_internal)
67770         (_IO_getline_info_internal, _IO_getline_internal)
67771         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67772         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67773         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67774         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67775         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67776         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67777         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67778         with libc_hidden_ver, remove use of INTUSE.
67779         * libio/genops.c: Likewise.
67780         * libio/freopen.c: Likewise.
67781         * libio/freopen64.c: Likewise.
67782         * libio/iofclose.c: Likewise.
67783         * libio/iofdopen.c: Likewise.
67784         * libio/iofflush.c: Likewise.
67785         * libio/iofflush_u.c: Likewise.
67786         * libio/iofgets.c: Likewise.
67787         * libio/iofgets_u.c: Likewise.
67788         * libio/iofopen.c: Likewise.
67789         * libio/iofopncook.c: Likewise.
67790         * libio/iofread.c: Likewise.
67791         * libio/iofread_u.c: Likewise.
67792         * libio/ioftell.c: Likewise.
67793         * libio/iofwrite.c: Likewise.
67794         * libio/iogetline.c: Likewise.
67795         * libio/iogets.c: Likewise.
67796         * libio/iogetwline.c: Likewise.
67797         * libio/iopadn.c: Likewise.
67798         * libio/iopopen.c: Likewise.
67799         * libio/ioseekoff.c: Likewise.
67800         * libio/ioseekpos.c: Likewise.
67801         * libio/iosetbuffer.c: Likewise.
67802         * libio/iosetvbuf.c: Likewise.
67803         * libio/ioungetc.c: Likewise.
67804         * libio/ioungetwc.c: Likewise.
67805         * libio/iovdprintf.c: Likewise.
67806         * libio/iovsprintf.c: Likewise.
67807         * libio/iovsscanf.c: Likewise.
67808         * libio/memstream.c: Likewise.
67809         * libio/obprintf.c: Likewise.
67810         * libio/oldfileops.c: Likewise.
67811         * libio/oldiofclose.c: Likewise.
67812         * libio/oldiofdopen.c: Likewise.
67813         * libio/oldiofopen.c: Likewise.
67814         * libio/oldiopopen.c: Likewise.
67815         * libio/oldstdfiles.c: Likewise.
67816         * libio/putc.c: Likewise.
67817         * libio/setbuf.c: Likewise.
67818         * libio/setlinebuf.c: Likewise.
67819         * libio/stdfiles.c: Likewise.
67820         * libio/strops.c: Likewise.
67821         * libio/vasprintf.c: Likewise.
67822         * libio/vscanf.c: Likewise.
67823         * libio/vsnprintf.c: Likewise.
67824         * libio/vswprintf.c: Likewise.
67825         * libio/wfiledoalloc.c: Likewise.
67826         * libio/wfileops.c: Likewise.
67827         * libio/wgenops.c: Likewise.
67828         * libio/wmemstream.c: Likewise.
67829         * libio/wstrops.c: Likewise.
67830         * libio/__fpurge.c: Likewise.
67831         * libio/__fsetlocking.c: Likewise.
67832         * assert/assert.c: Likewise.
67833         * debug/fgets_chk.c: Likewise.
67834         * debug/fgets_u_chk.c: Likewise.
67835         * debug/fread_chk.c: Likewise.
67836         * debug/fread_u_chk.c: Likewise.
67837         * debug/gets_chk.c: Likewise.
67838         * debug/obprintf_chk.c: Likewise.
67839         * debug/vasprintf_chk.c: Likewise.
67840         * debug/vdprintf_chk.c: Likewise.
67841         * debug/vsnprintf_chk.c: Likewise.
67842         * debug/vsprintf_chk.c: Likewise.
67843         * malloc/mtrace.c: Likewise.
67844         * misc/error.c: Likewise.
67845         * misc/syslog.c: Likewise.
67846         * stdio-common/asprintf.c: Likewise.
67847         * stdio-common/fxprintf.c: Likewise.
67848         * stdio-common/getw.c: Likewise.
67849         * stdio-common/isoc99_fscanf.c: Likewise.
67850         * stdio-common/isoc99_scanf.c: Likewise.
67851         * stdio-common/isoc99_vfscanf.c: Likewise.
67852         * stdio-common/isoc99_vscanf.c: Likewise.
67853         * stdio-common/isoc99_vsscanf.c: Likewise.
67854         * stdio-common/printf-prs.c: Likewise.
67855         * stdio-common/printf_fp.c: Likewise.
67856         * stdio-common/printf_fphex.c: Likewise.
67857         * stdio-common/printf_size.c: Likewise.
67858         * stdio-common/putw.c: Likewise.
67859         * stdio-common/scanf.c: Likewise.
67860         * stdio-common/sprintf.c: Likewise.
67861         * stdio-common/tmpfile.c: Likewise.
67862         * stdio-common/vfprintf.c: Likewise.
67863         * stdio-common/vfscanf.c: Likewise.
67864         * stdlib/strfmon_l.c: Likewise.
67865         * sunrpc/openchild.c: Likewise.
67866         * sunrpc/xdr_stdio.c: Likewise.
67867         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
67868         * sysdeps/mach/hurd/tmpfile.c: Likewise.
67870 2012-05-24  Roland McGrath  <roland@hack.frob.com>
67872         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67874         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
67875         in the third column, to generate for the shared library an IFUNC
67876         that uses _dl_vdso_vsym.
67877         * Makerules (COMPILE.c, compile-stdin.c): New variables.
67878         * Makeconfig (object-suffixes-noshared): New variable.
67880         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
67881         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
67882         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
67883         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
67885         [BZ #14132]
67886         * include/sys/time.h (__gettimeofday): Remove macro.
67887         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
67888         * time/gettimeofday.c (__gettimeofday): Remove #undef.
67889         Remove INTDEF.
67890         (__gettimeofday): Add libc_hidden_def.
67891         (gettimeofday): Add libc_hidden_weak.
67892         * sysdeps/mach/gettimeofday.c: Likewise.
67893         * sysdeps/posix/gettimeofday.c: Likewise.
67894         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
67895         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
67896         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
67897         (__gettimeofday_internal): Remove strong_alias.
67898         (__gettimeofday): Add libc_hidden_def.
67899         (gettimeofday): Add libc_hidden_weak.
67900         * sysdeps/unix/syscalls.list (gettimeofday):
67901         Remove __gettimeofday_internal alias.
67903 2012-05-24  Daniel Jacobowitz  <drow@false.org>
67904             H.J. Lu  <hongjiu.lu@intel.com>
67906         [BZ #12495]
67907         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
67908         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
67909         (largebin_index_32_big): New.
67910         (largebin_index): Use it for 16-byte alignment.
67911         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
67912         correction with front_misalign.
67914 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
67917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
67918         Likewise.
67919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
67920         Likewise.
67921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67922         Likewise.
67923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
67924         Likewise.
67925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
67926         Likewise.
67927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
67928         Likewise.
67929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
67930         Likewise.
67931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
67932         Likewise.
67933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
67934         Likewise.
67935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67936         Likewise.
67937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
67938         Likewise.
67939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
67940         Likewise.
67942         * scripts/data/c++-types-x32-linux-gnu.data: New file.
67943         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
67945 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67947         [BZ #10846]
67948         [BZ #14036]
67949         * math/libm-test.inc (exp_test): Add test from bug 14036.
67950         (pow_test): Add test from bug 10846.
67952         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
67953         and other flags.
67954         (special_function): Do not include flags in test name.
67955         (parse_args): Likewise.
67956         * sysdeps/i386/fpu/libm-test-ulps: Update.
67957         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67958         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
67959         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
67960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67962         * math/gen-libm-test.pl (%beautify): Add entries for underflow
67963         exceptions.
67964         * math/libm-test.inc ("Philosophy"): Update comment about
67965         exception testing.
67966         (UNDERFLOW_EXCEPTION): New macro.
67967         (UNDERFLOW_EXCEPTION_OK): Likewise.
67968         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
67969         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
67970         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
67971         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
67972         (INVALID_EXCEPTION_OK): Update value.
67973         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67974         (OVERFLOW_EXCEPTION_OK): Likewise.
67975         (IGNORE_ZERO_INF_SIGN): Likewise.
67976         (test_exceptions): Handle underflow exceptions.
67977         (acos_test): Update for underflow exception expectations.
67978         (cexp_test): Likewise.
67979         (clog_test): Likewise.
67980         (clog10_test): Likewise.
67981         (csqrt_test): Likewise.
67982         (ctan_test): Likewise.
67983         (ctanh_test): Likewise.
67984         (exp_test): Likewise.
67985         (exp10_test): Likewise.
67986         (exp2_test): Likewise.
67987         (expm1_test): Likewise.
67988         (fma_test): Likewise.
67989         (j0_test): Likewise.
67990         (jn_test): Likewise.
67991         (nexttoward_test): Likewise.
67992         (pow_test): Likewise.
67993         (scalbn_test): Likewise.
67994         (scalbln_test): Likewise.
67995         (tan_test): Likewise.
67996         (y1_test): Likewise.
67997         * sysdeps/i386/fpu/libm-test-ulps: Update.
67998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68000 2012-05-23  David S. Miller  <davem@davemloft.net>
68002         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68003         (__libc_sigaction): Remove unused local variables.
68005 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68007         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68009 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68011         mktime: avoid signed integer overflow
68012         * time/mktime.c (__mktime_internal): Do not mishandle the case
68013         where diff == INT_MIN.
68015         mktime: simplify computation of average
68016         * time/mktime.c (ranged_convert): Use new time_t_avg function
68017         instead of rolling our own (probably-slower) code.
68019         mktime: do not assume signed right shift propagates sign bit
68020         * time/mktime.c (isdst_differ): New static function.
68021         (__mktime_internal): No need to normalize tm_isdst now.
68022         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68023         tm_isdst values.
68025         mktime: merge another wrapv change from gnulib
68026         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68027         from some compilers.
68029         mktime: remove incorrect attempt at unusual arithmetics
68030         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68031         The code didn't really work on such machines anyway.
68032         (TYPE_MINIMUM): Assume two's complement.
68033         (twos_complement_arithmetic): Verify that long_int and time_t
68034         are two's complement (or unsigned, in the latter case).
68036         mktime: check signed shifts on long_int and time_t, too
68037         * time/mktime.c (SHR): Check that shifts work as desired
68038         on the types long_int and time_t too, as SHR is used on
68039         such types.
68041         mktime: do not assume 'long' is wide enough
68042         * time/mktime.c (verify): Move decl up.
68043         (long_int): New type.
68044         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68045         to remove assumption in the code that 'long' is wide enough to
68046         store year values.  This assumption is not true on x32 and on
68047         some non-glibc platforms.
68049         mktime: merge wrapv change from gnulib
68050         * time/mktime.c (WRAPV): New macro.
68051         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68052         (guess_time_tm, __mktime_internal): Do not assume that signed
68053         integer overflow wraps around; modern compilers generate code
68054         where this assumption is no longer valid.
68056 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68058         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68059         Replace "jmp L(pseudo_end)" with "ret".
68060         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68061         Likewise.
68063 2012-05-23  Andreas Jaeger  <aj@suse.de>
68065         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68066         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68068 2012-05-23  Andreas Jaeger  <aj@suse.de>
68069             Maximilian Attems  <max@stro.at>
68071         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68072         New macros.
68074 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68076         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68077         code so that pseudo_end is just ret and the stack pointer is
68078         correct also for static library in error case.
68080 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68082         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68083         move to syscalls.list.
68084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68089         * manual/install.texi (Running make install): Do not mention Linux
68090         kernel version for which pt_chown is not needed.
68091         (Linux): Do not mention problems with nscd with 2.0 kernels.
68092         * INSTALL: Regenerated.
68094 2012-05-23  Andreas Jaeger  <aj@suse.de>
68096         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68097         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68098         macro.
68099         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68100         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68101         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68102         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68103         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68104         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68105         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68106         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68107         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68108         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68109         * sysdeps/unix/sysv/linux/bits/in.h
68110         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68112 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68114         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68115         (PREPARE_VERSION): Just use assert instead, it will be elided
68116         under [NDEBUG] anyway.
68118 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68120         * sysdeps/unix/sysv/linux/Makefile: Include
68121         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68122         (sysdep_routines): Remove sysctl.
68123         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68124         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68125         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68126         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68127         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68129 2012-05-22  Andreas Jaeger  <aj@suse.de>
68131         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68132         that pseudo_end is just ret and the stack pointer is correct also
68133         for static library in error case.
68135 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68137         [BZ #14122]
68138         * nss/nsswitch.c (defconfig_entries): New variable.
68139         (__nss_database_lookup): Don't leak defconfig entries.
68140         (nss_parse_service_list): Don't leak on error paths.
68141         (free_database_entries): New function.
68142         (free_defconfig): New function.
68143         (free_mem): Move common code to free_database_entries.
68145 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68147         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68148         Add arch_prctl.
68149         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68151         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68152         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68154         New macro.
68155         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68156         (INTERNAL_SYSCALL_TYPES): Likewise.
68157         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68158         (LOAD_REGS_TYPES_[1-6]): Likewise.
68159         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68160         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68162 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68164         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68165         copysignl for GLIBC_2_0.
68166         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68167         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68168         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68169         logbl for GLIBC_2_0.
68170         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68171         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68173 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68175         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68176         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68178         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68179         Use "neg %eax".
68181         * time/mktime.c: Update copyright years.
68183 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68185         mktime: merge comment-quoting-style change from gnulib
68186         * time/mktime.c: Quote 'like this' in comments.
68187         The GNU coding standards suggest that we no longer quote `like this',
68188         as "`" and "'" are typically rendered asymmetrically nowadays.
68189         The typical gnulib style is to quote 'like this' when quoting
68190         code, and "like this" when quoting English.
68192         * time/mktime.c (compile-command): Add "-I.".
68194         mktime: merge mktime-internal.h change from gnulib
68195         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68197         mktime: merge time_r change from gnulib
68198         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68200         mktime: merge DEBUG change from gnulib
68201         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68202         case system <time.h> has a #define.
68204         mktime: merge <sys/types.h> change from gnulib
68205         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68206         since <time.t> is now guaranteed to define time_t.
68208         mktime: merge HAVE_CONFIG_H change from gnulib
68209         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68211 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68214         Use "neg %eax".
68216         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68217         __rlim_t cast.
68218         (struct rusage): Use anonymous union to pad each field to
68219         __syscall_slong_t.
68221 2012-05-21  David S. Miller  <davem@davemloft.net>
68223         * Makefules (o-iterator): Remove .s cases.
68224         (compile-command.s): Delete.
68225         (COMPILE.s): Delete.
68226         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68228 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68230         * configure.in (libc_cv_predef_stack_protector): Only consider
68231         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68232         * configure: Regenerated.
68234 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68237         New macro.  Use R*LP on int and pointer.
68238         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68239         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68240         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68241         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68243         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68244         [__WORDSIZE_TIME64_COMPAT32] instead of
68245         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68246         (struct utmp): Likewise.
68247         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68248         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68249         Renamed to ...
68250         (__WORDSIZE_TIME64_COMPAT32): This.
68251         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68252         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68253         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68254         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68255         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68256         (__WORDSIZE_TIME64_COMPAT32): New macro.
68258 2012-05-21  Andreas Jaeger  <aj@suse.de>
68260         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68261         only if [SHARED]. Add prototype for __wcschr_ia32.
68263 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68265         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68266         of %rbp unmolested in the jmp_buf while mangling the low bits.
68267         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68268         unmolested high bits of %rbp while demangling the low bits.
68269         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68271 2012-05-21  Andreas Jaeger  <aj@suse.de>
68273         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68274         * sunrpc/svc_simple.c: Use it for registerrpc.
68275         * sunrpc/xcrypt.c: Use it for passwd2des.
68277         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68279 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68281         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68282         Don't define if [__SYSCALL_WORDSIZE != 32].
68283         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68284         New macro.
68286 2012-05-21  Bruno Haible  <bruno@clisp.org>
68287             Andreas Jaeger  <aj@suse.de>
68289         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68290         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68291         inptr and inend for must_buffer_ch.
68292         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68293         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68294         * stdio-common/Makefile (tests): Remove bug15.
68295         (bug15-ENV): Remove macro.
68296         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68297         anymore.
68299 2012-05-19  Andreas Jaeger  <aj@suse.de>
68300             Roland McGrath  <roland@hack.frob.com>
68302         * manual/contrib.texi: Completely rewritten. It contains now an
68303         alphabetical list of contributors and their contributions.
68305 2012-05-21  Richard Henderson  <rth@twiddle.net>
68307         * misc/getauxval.c (__getauxval): Use unsigned long int.
68308         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68309         (getauxval): Use unsigned long int.
68311 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68313         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68315 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68317         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68318         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68319         __alignof__ (long double).
68321 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68325 2012-05-20  Richard Henderson  <rth@twiddle.net>
68327         * misc/getauxval.c: New file.
68328         * misc/sys/auxv.h: New file.
68329         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68330         (routines): Add getauxval.
68331         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68332         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68333         * elf/dl-sysdep.c (_dl_auxv): Remove.
68334         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68335         * elf/dl-support.c (_dl_auxv): New variable.
68336         (_dl_aux_init): Initialize it.
68337         * manual/startup.texi (Auxiliary Vector): New node.
68338         * sysdeps/generic/bits/hwcap.h: New file.
68339         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68340         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68341         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68342         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68343         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68344         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68346         Update.
68347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68350         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68356 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68360 2012-05-19  David S. Miller  <davem@davemloft.net>
68362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68364 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68366         [BZ #14123]
68367         * math/s_ccosh.c: Include <float.h>
68368         (__ccosh): Avoid internal overflow calculating sinh and cosh
68369         values before multiplying by sin and cos values.
68370         * math/s_ccoshf.c: Likewise.
68371         * math/s_ccoshl.c: Likewise.
68372         * math/s_csin.c: Likewise.
68373         * math/s_csinf.c: Likewise.
68374         * math/s_csinl.c: Likewise.
68375         * math/s_csinh.c: Likewise.
68376         * math/s_csinhf.c: Likewise.
68377         * math/s_csinhl.c: Likewise.
68378         * math/libm-test.inc (ccos_test): Add more tests.
68379         (ccosh_test): Likewise.
68380         (csin_test): Likewise.
68381         (csinh_test): Likewise.
68382         * sysdeps/i386/fpu/libm-test-ulps: Update.
68383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68385 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68387         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68388         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68390         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68392 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68394         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68395         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68396         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68397         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68398         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68399         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68400         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68401         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68402         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68403         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68404         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68405         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68406         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68407         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68408         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68409         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68410         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68411         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68412         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68413         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68414         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68415         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68416         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68417         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68418         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68419         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68420         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68421         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68422         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68423         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68424         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68426 2012-05-18  Andreas Jaeger  <aj@suse.de>
68428         * csu/.gitignore: Delete.
68430 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68432         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68433         (timex): Use __syscall_slong_t.
68435 2012-05-18  Andreas Jaeger  <aj@suse.de>
68436             Carlos O'Donell  <carlos_odonell@mentor.com>
68438         * manual/install.texi (Configuring and compiling): Update
68439         description about files modified in the source directory.
68440         * INSTALL: Regenerated.
68442 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68444         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68445         value.  Use "or" to set return value to -1.
68446         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68447         negate return value.
68449 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68451         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68452         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68453         failure if the compiler has Graphite support disabled.
68454         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68455         Likewise.
68456         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68457         (CFLAGS-memmove.c): Likewise.
68458         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68459         Likewise.
68461 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68463         * sysdeps/x86_64/x32/_itoa.h: New file.
68465         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68466         getdents system call only if kernel and user dirents have the
68467         same d_ino and d_off.
68469         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68470         LLONG_MAX != LONG_MAX.
68471         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68472         (_fitoa_word): Likewise.
68474         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68475         years.
68476         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68477         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68478         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68480         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68481         include <bits/wordsize.h>.  Check __x86_64__ instead of
68482         __WORDSIZE.
68483         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68484         if __x86_64__ is defined.  Use anonymous union on fpstate.
68486         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68487         anonymous union.
68489 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68491         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68492         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68493         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68494         Refer to _rtld_local_ro instead of _rtld_global_ro.
68495         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68496         Likewise.
68497         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68498         Likewise.
68499         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68500         Likewise.
68501         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68502         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68503         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68505         [BZ #10882]
68506         * sysdeps/powerpc/powerpc32/dl-machine.c
68507         (__elf_machine_runtime_setup) [PROF]: Don't reference
68508         _dl_prof_resolve.
68510 2012-05-18  Andreas Jaeger  <aj@suse.de>
68512         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68513         function only available for GCCs before 3.4 since GCC 3.4
68514         introduced a builtin.
68515         (lrint): Likewise.
68516         (llrintf): Likewise.
68517         (llrint): Likewise.
68518         (fmaxf): Likewise.
68519         (fmax): Likewise.
68520         (fminf): Likewise.
68521         (fmin): Likewise.
68522         (rint): Likewise.
68523         (rintf): Likewise.
68524         (nearbyint): Likewise.
68525         (nearbyintf): Likewise.
68526         (ceil): Likewise.
68527         (ceilf): Likewise.
68528         (floor): Likewise.
68529         (floorf): Likewise.
68531 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68533         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68534         on both fields and cast pointer to __syscall_ulong_t.
68536         * bits/types.h (__fsword_t): New type.
68537         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68538         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68539         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68540         (__FSWORD_T_TYPE): Likewise.
68541         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68542         (__FSWORD_T_TYPE): Likewise.
68543         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68544         (__FSWORD_T_TYPE): Likewise.
68545         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68546         (__FSWORD_T_TYPE): Likewise.
68547         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68548         __SWORD_TYPE with __fsword_t.
68549         (statfs64): Likewise.
68551 2012-05-17  David S. Miller  <davem@davemloft.net>
68553         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68555 2012-05-17  Andreas Jaeger  <aj@suse.de>
68557         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68558         warning.
68560 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68562         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68564 2012-05-17  Andreas Jaeger  <aj@suse.de>
68566         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68567         when it is used.
68569 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68571         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68573 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68575         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68576         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68578 2012-05-17  Andreas Jaeger  <aj@suse.de>
68579             Carlos O'Donell  <carlos_odonell@mentor.com>
68581         [BZ #14059]
68582         * sysdeps/x86_64/multiarch/init-arch.h
68583         (bit_YMM_Usable): Rename to...
68584         (bit_AVX_Usable): ... this.
68585         (bit_FMA4_Usable): New macro.
68586         (bit_XMM_state): New macro.
68587         (bit_YMM_state): New macro.
68588         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68589         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68590         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68591         (CPUID_OSXSAVE): New macro.
68592         (CPUID_AVX): New macro.
68593         (CPUID_FMA4): New macro.
68594         (index_YMM_Usable): Rename to...
68595         (index_AVX_Usable): ... this.
68596         (HAS_AVX): Use HAS_ARCH_FEATURE.
68597         (HAS_FMA4): Likewise.
68598         (HAS_YMM_USABLE): Remove.
68599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68600         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68601         are present.
68602         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68603         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68604         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68605         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68606         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68608 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68610         * math/libm-test.c: Support platforms without multiple rounding modes.
68611         * math/bug-nextafter.c: Support platforms without FP exceptions.
68612         * math/bug-nexttoward.c: Likewise.
68613         * math/test-fenv.c: Likewise.
68614         * math/test-misc.c: Likewise.
68615         * stdlib/bug-getcontext.c: Likewise.
68617 2012-05-17  Andreas Jaeger  <aj@suse.de>
68619         * manual/examples/search.c (critter_cmp): Change signature to
68620         avoid warnings.
68621         * manual/string.texi (Collation Functions): Likewise.
68623 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68625         * bits/types.h: Fold copyright years.
68626         * bits/typesizes.h: Likewise.
68627         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68628         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68629         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68631         * time/time.h: Likewise.
68633 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68635         [BZ #208]
68636         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68637         in instead of returning them.  Return void.
68638         (__libc_mallinfo): Accumulate over all arenas.
68639         (__malloc_stats): Adjust for change in int_mallinfo interface.
68641 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68643         [BZ #10375]
68644         * configure.in (NM): Add AC_CHECK_TOOL for it.
68645         (libc_extra_cflags): New substituted variable.
68646         Check for -fstack-protector being used implicitly.
68647         * configure: Regenerated.
68648         * config.make.in (config-extra-cflags): New variable,
68649         gets @libc_extra_cflags@.
68650         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68652         [BZ #10375]
68653         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68654         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68655         * configure: Regenerated.
68656         * config.make.in (CPPUNDEFS): New substituted variable.
68657         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68658         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68659         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68661 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68663         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68664         (mq_attr): Use __syscall_slong_t.
68666 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68668         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68669         Check __x86_64__ instead of __WORDSIZE.
68670         (_STAT_VER_LINUX): Likewise.
68671         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68672         __syscall_ulong_t and __syscall_slong_t.
68673         (stat64): Likewise.
68675 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68677         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68679 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68681         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68683 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68685         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68686         __syscall_ulong_t.
68688         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68689         include <bits/wordsize.h>.  Check __x86_64__ instead of
68690         __WORDSIZE.
68691         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68692         defined.
68693         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68695         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68696         include <bits/wordsize.h>.  Check __x86_64__ instead of
68697         __WORDSIZE.
68698         (user_regs_struct): Use "__extension__ unsigned long long"
68699         instead of "unsigned long" if __x86_64__ is defined.
68700         (user): Likewise.  Pad after pointer field if __ILP32__ is
68701         defined.
68703 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68705         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68706         versions 5 to 9.
68707         * configure: Regenerated.
68708         * manual/install.texi (texinfo): Increase version requirement to
68709         4.5 or later.
68710         * INSTALL: Regenerated.
68712         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68714 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68716         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68718         * sysdeps/x86_64/x32/ffs.c: New file.
68720         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68721         __syscall_ulong_t.
68722         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68723         defined.  Use __syscall_ulong_t.
68724         (shminfo): Use __syscall_ulong_t.
68725         (shm_info): Likewise.
68727         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68728         __syscall_ulong_t.
68730         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68731         <bits/wordsize.h>.
68732         (msgqnum_t): Use __syscall_ulong_t.
68733         (msglen_t): Likewise.
68734         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68735         __syscall_ulong_t.
68737         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68738         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68740         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68742         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68743         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68745         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68746         __syscall_slong_t.
68748         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68749         include <bits/wordsize.h>.  Check __x86_64__ instead of
68750         __WORDSIZE.
68752         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68753         "unsigned long long int" if __x86_64__ is defined.
68754         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68756         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68757         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68758         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68760         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68761         <stdint.h>.
68762         (GET_PC): Cast to uintptr_t first.
68763         (GET_FRAME): Likewise.
68764         (GET_STACK): Likewise.
68766         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68767         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68768         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68769         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68770         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68771         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68772         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68773         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68774         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68775         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68776         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68777         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68778         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68779         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68780         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68781         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68782         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68783         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68784         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68785         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68786         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68787         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68788         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68789         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68790         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68791         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68792         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68793         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68794         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68796 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
68798         * Makerules (+depfiles): Also collect depfiles from .oS in
68799         $(extra-objs).
68800         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
68801         .oS, $(libnldbl-routines)).
68803         * Makerules (native-compile-mkdep-flags): Define.
68804         * sunrpc/Makefile (extra-objs): Add $(addprefix
68805         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
68806         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
68807         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
68808         calling $(make-target-directory).
68810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68812         * bits/types.h (__snseconds_t): Removed.
68813         * time/time.h (struct timespec): Replace __snseconds_t with
68814         __syscall_slong_t.
68815         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
68816         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
68817         Likewise.
68818         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68819         (__SNSECONDS_T_TYPE): Likewise.
68820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68821         (__SNSECONDS_T_TYPE): Likewise.
68822         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68823         (__SNSECONDS_T_TYPE): Likewise.
68825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68827         * sysdeps/mach/hurd/bits/typesizes.h
68828         (__SYSCALL_SLONG_TYPE): New macro.
68829         (__SYSCALL_ULONG_TYPE): Likewise.
68831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68833         * bits/types.h (__syscall_slong_t): New type.
68834         (__syscall_ulong_t): Likewise.
68836         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
68837         (__SYSCALL_ULONG_TYPE): Likewise.
68838         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68839         (__SYSCALL_SLONG_TYPE): Likewise.
68840         (__SYSCALL_ULONG_TYPE): Likewise.
68841         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68842         (__SYSCALL_SLONG_TYPE): Likewise.
68843         (__SYSCALL_ULONG_TYPE): Likewise.
68844         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68845         (__SYSCALL_SLONG_TYPE): Likewise.
68846         (__SYSCALL_ULONG_TYPE): Likewise.
68848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68850         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
68851         Add sigaltstack-offsets.sym.
68852         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
68853         <sigaltstack-offsets.h>.
68854         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
68855         longjmp_msg pointer.
68856         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
68857         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
68858         signal stack.
68859         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
68861 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68863         * elf/stackguard-macros.h: Remove file.
68864         * sysdeps/generic/stackguard-macros.h: New file.
68865         * sysdeps/i386/stackguard-macros.h: Likewise.
68866         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
68867         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
68868         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
68869         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
68870         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
68871         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
68872         * sysdeps/x86_64/stackguard-macros.h: Likewise.
68873         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
68874         <elf/stackguard-macros.h>.
68876         [BZ #14109]
68877         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
68878         __aligned__ in attribute.
68879         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
68880         (gregset_t): Likewise.
68882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68884         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
68885         * sysdeps/x86_64/64/Implies-after: Here.  New file.
68886         * sysdeps/x86_64/x32/Implies-after: New file.
68888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68890         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
68891         and access return value for _dl_profile_fixup.  Use R10_LP to
68892         load frame size.
68894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68896         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
68898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68900         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
68901         * sysdeps/x86_64/x32/sysdep.h: New file.
68903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68905         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
68906         * sysdeps/x86_64/setjmp.S: Likewise.
68908 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68910         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
68911         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
68912         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
68913         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
68914         remove unused global constant.
68916 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
68918         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
68919         include of <not-cancel.h>.
68921 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68923         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
68925 2012-05-15  Jeff Law  <law@redhat.com>
68926             Andreas Jaeger  <aj@suse.de>
68928         [BZ #13594]
68929         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
68930         out from...
68931         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
68932         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
68933         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
68934         code changing __hst_map_handle.map.
68936 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68938         * configure.in (sysnames): Look for Implies-before and Implies-after
68939         files.
68940         * configure: Regenerated.
68942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68944         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
68945         8-byte data alignment with LP_SIZE alignment.
68947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68949         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
68950         into R10_LP.
68952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68954         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
68956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68958         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
68959         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
68960         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
68961         Likewise.
68962         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68966         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
68967         (stackinfo_sub_sp): Likewise.
68969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68971         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
68972         RAX_LP.
68974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68976         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68977         into R*_LP.
68979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68981         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68982         sizes into R*_LP.
68984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68986         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68990         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68991         into R11_LP and load __x86_64_shared_cache_size_half into
68992         R8_LP.
68994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68996         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68997         R8_LP.
68999 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69002         logb for POWER7.
69003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69004         logbf for POWER7.
69005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69006         logbl for POWER7.
69007         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69008         powerpc32/power7/fpu/s_logb.c via #include.
69009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69010         powerpc32/power7/fpu/s_logbf.c via #include.
69011         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69012         powerpc32/power7/fpu/s_logbl.c via #include.
69014 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69016         * README.libm: Remove file.
69018 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69020         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69021         count for x32.  Use R*_LP and omit operand-size suffix.
69023 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69025         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69026         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69027         * sysdeps/x86_64/x32/shlib-versions: New file.
69029 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69031         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69032         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69033         Use _dl_fatal_printf instead.
69035 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69037         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69038         set if not set by the user.  Do not allow for being unset.
69039         * sysdeps/unix/sysv/linux/configure: Regenerated.
69041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69043         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69044         the `q' suffix from lea and replace .quad with ASM_ADDR.
69046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69049         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69050         instead of $17.
69051         (PTR_DEMANGLE): Likewise.
69053 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69055         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69056         (LP_OP): Likewise.
69057         (ASM_ADDR): Likewise.
69058         (RAX_LP): Likewise.
69059         (RBP_LP): Likewise.
69060         (RBX_LP): Likewise.
69061         (RCX_LP): Likewise.
69062         (RDI_LP): Likewise.
69063         (RSI_LP): Likewise.
69064         (RSP_LP): Likewise.
69065         (R8_LP): Likewise.
69066         (R9_LP): Likewise.
69067         (R10_LP): Likewise.
69068         (R10_LP): Likewise.
69069         (R11_LP): Likewise.
69070         (R12_LP): Likewise.
69071         (R13_LP): Likewise.
69072         (R14_LP): Likewise.
69073         (R15_LP): Likewise.
69075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69077         * sysdeps/x86_64/x32/dl-machine.h: New file.
69079 2012-05-14  Andreas Jaeger  <aj@suse.de>
69081         * manual/Makefile (subdir): Remove export of subdir.
69082         (all): Remove target.
69083         (.PHONY): Remove all from list.
69084         (mkinstalldirs): Remove.
69085         (.PHONY): Remove installdirs from list.
69086         ($(inst_infodir)/libc.info): Use make-target-directory.
69087         (installdirs): Remove.
69088         (subdir_%): Remove.
69089         (glibc-targets): Remove.
69090         (lib): Remove.
69091         (stubs): Remove.
69092         ($(objpfx)stubs ../po/manual.pot): Remove.
69093         ($(objpfx)stamp%): Remove.
69094         (make-target-directory): Remove.
69095         (subdir_install): Remove.
69096         (routines): Remove.
69097         (aux): Remove.
69098         (sources): Remove.
69099         (objects): Remove.
69100         (headers): Remove.
69102         [BZ #13750]
69103         * manual/.gitignore: Remove, it's not needed anymore.
69104         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69105         all files in it.
69106         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69107         directory.
69108         (texis): Renamed to $(objpfx)texis.
69109         (texis-path): New, contains path to generated files.
69110         (chapters.%): Use texis-path for complete path, add extra argument
69111         libc-texinfo.sh.
69112         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69113         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69114         (summary,texi, stamp-summary): Use complete path of
69115         files. Generate files in build dir.
69116         (dir-add.texi): Build in build dir.
69117         (libm-err.texi,stamp-libm-err): Likewise.
69118         (version.texi, stamp-version): Likewise.
69119         (.%c.texi): Likewise.
69120         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69121         (mostlyclean): Remove target.
69122         (realclean): Remove target.
69123         (generated): Add new variable with contents from mostlyclean and
69124         realclean, remove entries duplicated in common-mostlyclean, add
69125         stamp-libm-err and stamp-version.
69126         (generated-dirs): Add libc directory.
69127         ($(inst_infodir)/libc.info): Install files from build dir.
69129         * manual/install.texi (Configuring and compiling): Adjust since
69130         the info files are not part of the tar ball anymore.
69132 2012-05-14  Andreas Jaeger  <aj@suse.de>
69134         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69135         variable.
69137 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69139         [BZ #13717]
69140         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69141         to 2.2.0 where earlier.
69142         * sysdeps/unix/sysv/linux/configure: Regenerated.
69143         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69144         Remove conditional code.
69145         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69146         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69147         Remove conditional code.
69148         [!__NR_lchown]: Likewise.
69149         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69150         [__NR_lchown]: Likewise.
69151         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69152         comment referencing __ASSUME_LCHOWN_SYSCALL.
69153         * sysdeps/unix/sysv/linux/i386/sigaction.c
69154         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69155         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69156         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69157         Remove conditional code.
69158         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69159         (__protocol_available): Remove #if 0 code.
69160         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69161         conditional code.
69162         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69163         * sysdeps/unix/sysv/linux/kernel-features.h
69164         (__ASSUME_GETCWD_SYSCALL): Don't define.
69165         (__ASSUME_REALTIME_SIGNALS): Likewise.
69166         (__ASSUME_PREAD_SYSCALL): Likewise.
69167         (__ASSUME_PWRITE_SYSCALL): Likewise.
69168         (__ASSUME_POLL_SYSCALL): Likewise.
69169         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69170         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69171         non-SPARC.
69172         (__ASSUME_SIOCGIFNAME): Don't define.
69173         (__ASSUME_MSG_NOSIGNAL): Likewise.
69174         (__ASSUME_SENDFILE): Define unconditionally.
69175         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69176         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69177         conditional code.
69178         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69179         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69180         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69181         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69182         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69183         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69184         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69186         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69187         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69189         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69190         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69192         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69193         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69195         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69196         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69198         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69199         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69201         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69202         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69204         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69205         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69207         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69208         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69209         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69210         Remove conditional code.
69211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69212         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69213         Remove conditional code.
69214         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69215         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69216         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69217         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69218         Remove conditional code.
69219         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69220         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69221         Remove conditional code.
69222         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69223         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69224         Remove conditional code.
69225         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69226         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69227         Remove conditional code.
69228         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69229         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69230         Remove conditional code.
69231         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69232         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69233         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69234         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69235         * sysdeps/unix/sysv/linux/sigaction.c
69236         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69237         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69238         * sysdeps/unix/sysv/linux/sigpending.c
69239         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69240         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69241         * sysdeps/unix/sysv/linux/sigprocmask.c
69242         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69243         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69244         * sysdeps/unix/sysv/linux/sigsuspend.c
69245         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69246         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69247         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69248         (__libc_missing_rt_sigs): Remove.
69249         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69250         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69251         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69252         Remove conditional code.
69253         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69254         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69255         return 1.
69256         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69257         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69258         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69259         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69261 2012-05-14  Andreas Jaeger  <aj@suse.de>
69263         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69264         it's not used in glibc.
69265         (__coshm1): Likewise.
69266         (__acosh1p): Likewise.
69267         (__sgn): Likewise.
69269         * manual/string.texi (Copying and Concatenation): Add missing
69270         variable in concat example.
69271         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69273 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69275         [BZ #14103]
69276         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69277         __builtin_clzl with __builtin_clzll.
69279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69281         [BZ #14104]
69282         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69283         libc_freeres_ptr.
69285 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69287         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69288         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69289         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69290         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69292 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69294         * NEWS: Update ia64 info.
69296 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69298         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69299         used as bcopy.
69301 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69303         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69304         * sysdeps/unix/syscalls.list (dup3): Likewise.
69305         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69306         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69308 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69310         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69311         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69313 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69315         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69316         thread pointer.
69317         (TLS_IE): Use mov/add instead of movq/addq to load thread
69318         pointer.
69319         (TLS_GD_PREFIX): New.
69320         (TLS_GD): Use it.
69322 2012-05-11  David S. Miller  <davem@davemloft.net>
69324         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69325         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69326         (_FPU_SETCW): Likewise.
69328 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69330         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69331         is 32-byte aligned.
69333 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69335         [BZ #11837]
69336         * iconvdata/gb18030.c: Update tables.
69337         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69338         characters specially.
69339         (BODY for TO_LOOP): Add encoding of missing ranges.
69341 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69343         [BZ #13673]
69344         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69345         * sysdeps/mach/hurd/dup3.c: Likewise.
69346         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69347         * sysdeps/powerpc/memmove.c:: Likewise.
69349 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69351         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69352         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69354 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69356         * elf/elf.h (R_X86_64_RELATIVE64): New.
69357         (R_X86_64_NUM): Updated.
69358         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69359         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69360         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69361         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69362         tst-quad1pie tst-quad2pie
69363         (modules-names): Add tst-quadmod1 tst-quadmod2.
69364         ($(objpfx)tst-quad1): New dependency.
69365         ($(objpfx)tst-quad2): Likewise.
69366         ($(objpfx)tst-quad1pie): Likewise.
69367         ($(objpfx)tst-quad2pie): Likewise.
69368         * sysdeps/x86_64/tst-quad1.c: New file.
69369         * sysdeps/x86_64/tst-quad1pie.c: New file.
69370         * sysdeps/x86_64/tst-quad2.c: Likewise.
69371         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69372         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69373         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69374         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69375         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69379         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69380         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69381         * streams/stropts.h (t_scalar_t): Define type.
69383         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69384         (_PATH_PRESERVE): Set to "/var/lib".
69385         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69387         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69388         instead of int.
69390         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69391         if __dir_mkfile succeeded.
69393         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69394         checking for _hurd_dtablesize.  Unlock it right after having
69395         finished _hurd_dtable allocation.
69397 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69399         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69400         * sysdeps/mach/hurd/configure: Regenerated.
69401         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69402         special-casing to...
69403         * sysdeps/gnu/configure.in: ... this new file.
69404         * sysdeps/unix/sysv/linux/configure: Regenerated.
69405         * sysdeps/gnu/configure: New generated file.
69407         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69408         for Linux: use nsec instead of usec, as well as:
69409         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69410         members of type struct timespec.
69411         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69412         New macros.
69413         (struct stat64): Likewise.
69414         (_STATBUF_ST_NSEC): New macro.
69415         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69417         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69418         __strtoul_internal rather than strtoul.
69420 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69422         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69423         and reject them.
69425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69427         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69428         which preserves existing values.
69429         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69431 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69433         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69434         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69435         greater than FD_SETSIZE.
69437 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69439         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69440         allocated, call __vm_protect to finish enabling the existing space, and
69441         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69442         allocate the remainder.
69444 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69446         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69447         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69451         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69452         sysdeps/mach/hurd/readlink.c.
69454         * posix/tst-sysconf.c (posix_options): Only use
69455         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69456         _POSIX_SYNCHRONIZED_IO when they are defined
69457         * sysdeps/mach/hurd/bits/posix_opt.h:
69458         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69459         (_XOPEN_REALTIME): Undefine macro.
69460         (_XOPEN_REALTIME_THREADS): Undefine macro.
69461         (_XOPEN_SHM): Undefine macro.
69462         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69463         macro to -1.
69464         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69465         macro to -1.
69466         (_POSIX_ASYNC_IO): Undefine macro.
69467         (_POSIX_PRIORITIZED_IO): Undefine macro.
69468         (_POSIX_SPIN_LOCKS): Define macro to -1.
69470         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69471         SA_NODEFER, SA_RESETHAND.
69472         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69473         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69474         F_DUPFD_CLOEXEC.
69476 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69478         * elf/Makefile (pldd-modules): Define unconditionally.
69480 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69482         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69484 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69486         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69487         Return ENOENT when name is empty.
69488         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69490 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69492         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69494         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69496 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69498         Fix mlock in all cases except non-readable pages.
69499         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69500         instead of VM_PROT_ALL as parameter to __vm_wire function.
69502         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69503         (__mkdir): When path is `/', just fail with EEXIST.
69504         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69508         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69509         <sys/uio.h> (for writev).
69510         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69511         and <sys/param.h> (for MIN).
69513 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69515         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69516         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69517         if interrupted.
69519 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69521         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69522         Depend on against $(link-rpcuserlibs).
69524 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69526         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69527         (__libc_stack_end): Do not use attribute_relro.
69528         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69529         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69530         to libthread-provided value.
69531         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69532         attribute_relro.
69534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69536         [BZ #3748]
69537         * bits/libc-lock.h (__libc_once_get): New macro.
69538         * sysdeps/mach/bits/libc-lock.h: Likewise.
69539         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69540         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69541         instead of using implementation details.
69543         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69544         * libio/freopen.c: Likewise.
69545         * libio/freopen64.c: Likewise.
69546         * misc/syslog.c: Likewise.
69547         * nscd/connections.c: Likewise.
69548         * nscd/netgroupcache.c: Likewise.
69549         * sysdeps/posix/getcwd.c: Likewise.
69551 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69553         * math/w_ilogbf.c: Add #include <limits.h>.
69555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69557         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69558         path instead of returning without unlocking.
69560         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69561         immediate-write ioctls.
69562         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69564 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69566         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69567         __builtin_frame_address instead of making assumptions about the
69568         location of the return address relative to DATA.  Force early load of
69569         the return address.
69570         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69571         __builtin_frame_address.
69573         dup3 for GNU Hurd.
69574         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69575         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69576         implement dup3 and do some further code clean-ups.
69577         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69578         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69580 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69582         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69584         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69585         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69586         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69587         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69588         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69589         d->port.lock.
69591         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69592         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69593         when handler == SIG_ERR, not when handler != SIG_ERR.
69595 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69597         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69598         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69599         definitions.
69601         accept4 for GNU Hurd.
69602         * include/sys/socket.h (__libc_accept4): New prototype.
69603         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69604         to implement __libc_accept4.
69605         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69606         __libc_accept4.
69607         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69609         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69610         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69611         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69612         signal-defines.sym.
69614 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69616         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69618 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69620         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69621         assertion on O_CLOEXEC flag.
69622         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69623         * hurd/intern-fd.c: Likewise.
69624         * hurd/port2fd.c: Likewise.
69626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69628         [BZ #3906]
69629         * bits/in.h (IPV6_PKTINFO): Define new macro.
69630         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69632 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69634         [BZ #13954]
69635         [BZ #13955]
69636         [BZ #13956]
69637         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69638         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69639         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69640         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69641         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69642         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69643         * math/libm-test.inc (logb_test) : Additional logb tests.
69645 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69646             Andreas Jaeger  <aj@suse.de>
69648         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69649         * configure: Regenerated.
69650         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69651         * config.make.in (link-obsolete-rpc): New substituted variable.
69652         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69653         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69654         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69655         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69656         so that libc.a contains the symbols.
69657         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69658         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69659         * sunrpc/auth_none.c: Likewise.
69660         * sunrpc/auth_unix.c: Likewise.
69661         * sunrpc/authdes_prot.c: Likewise.
69662         * sunrpc/authuxprot.c: Likewise.
69663         * sunrpc/clnt_gen.c: Likewise.
69664         * sunrpc/clnt_perr.c: Likewise.
69665         * sunrpc/clnt_raw.c: Likewise.
69666         * sunrpc/clnt_simp.c: Likewise.
69667         * sunrpc/clnt_tcp.c: Likewise.
69668         * sunrpc/clnt_udp.c: Likewise.
69669         * sunrpc/clnt_unix.c: Likewise.
69670         * sunrpc/des_crypt.c: Likewise.
69671         * sunrpc/des_soft.c: Likewise.
69672         * sunrpc/get_myaddr.c: Likewise.
69673         * sunrpc/key_call.c: Likewise.
69674         * sunrpc/key_prot.c: Likewise.
69675         * sunrpc/netname.c: Likewise.
69676         * sunrpc/pm_getmaps.c: Likewise.
69677         * sunrpc/pm_getport.c: Likewise.
69678         * sunrpc/pmap_clnt.c: Likewise.
69679         * sunrpc/pmap_prot.c: Likewise.
69680         * sunrpc/pmap_prot2.c: Likewise.
69681         * sunrpc/pmap_rmt.c: Likewise.
69682         * sunrpc/publickey.c: Likewise.
69683         * sunrpc/rpc_cmsg.c: Likewise.
69684         * sunrpc/rpc_common.c: Likewise.
69685         * sunrpc/rpc_dtable.c: Likewise.
69686         * sunrpc/rpc_prot.c: Likewise.
69687         * sunrpc/rpc_thread.c: Likewise.
69688         * sunrpc/rtime.c: Likewise.
69689         * sunrpc/svc.c: Likewise.
69690         * sunrpc/svc_auth.c: Likewise.
69691         * sunrpc/svc_raw.c: Likewise.
69692         * sunrpc/svc_run.c: Likewise.
69693         * sunrpc/svc_tcp.c: Likewise.
69694         * sunrpc/svc_udp.c: Likewise.
69695         * sunrpc/svc_unix.c: Likewise.
69696         * sunrpc/svcauth_des.c: Likewise.
69697         * sunrpc/xcrypt.c: Likewise.
69698         * sunrpc/xdr.c: Likewise.
69699         * sunrpc/xdr_array.c: Likewise.
69700         * sunrpc/xdr_float.c: Likewise.
69701         * sunrpc/xdr_intXX_t.c: Likewise.
69702         * sunrpc/xdr_mem.c: Likewise.
69703         * sunrpc/xdr_rec.c: Likewise.
69704         * sunrpc/xdr_ref.c: Likewise.
69705         * sunrpc/xdr_sizeof.c: Likewise.
69706         * sunrpc/xdr_stdio.c: Likewise.
69708 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69710         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69711         change.  Update copyright years.
69713 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69715         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69717 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69718             Joseph Myers  <joseph@codesourcery.com>
69719             Paul Pluzhnikov  <ppluzhnikov@google.com>
69721         [BZ #14012]
69722         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69723         requiring rpcgen.
69724         [cross-compiling] (extra-libs): Likewise.
69725         [cross-compiling] (extra-libs-others): Likewise.
69726         [cross-compiling] (librpcsvc-routines): Likewise.
69727         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69728         [cross-compiling] (omit-deps): Likewise.
69729         (sunrpc-CPPFLAGS): New variable.
69730         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69731         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69732         (cross-rpcgen-objs): New variable.
69733         (extra-objs): Append $(cross-rpcgen-objs).
69734         ($(cross-rpcgen-objs)): New rule.
69735         ($(objpfx)cross-rpcgen): Likewise.
69736         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69737         comment.
69738         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69739         ($(objpfx)x%.stmp): Likewise.
69740         * sunrpc/proto.h [IS_IN_build] (_): Define.
69741         [IS_IN_build] (_libc_intl_domainname): Likewise.
69743 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69745         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69746         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69747         and R_X86_64_TPOFF64.
69749 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69751         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69752         sysdeps/unix/sysv/syscalls.list.
69753         (stime): Likewise.
69754         (utime): Likewise.
69755         * sysdeps/unix/sysv/syscalls.list: Remove file.
69757 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69759         [BZ #3440]
69760         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69761         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69762         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69763         (__LC_IDENTIFICATION): Make these macros useful in #if
69764         expressions, as required by C99.
69766 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69768         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69769         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69770         after this.
69772 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69774         * stdlib/longlong.h: Updated from GCC.
69776 2012-05-09  Andreas Jaeger  <aj@suse.de>
69778         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69779         default is first entry.
69780         (run_mode): Set type.
69781         (main): Remove informal message about syslog.
69782         (options): Fix typo.
69784         [BZ #14053]
69785         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69786         to asm.
69787         (lrint): Likewise.
69788         (llrintf): Likewise.
69789         (llrint): Likewise.
69790         (rint): Likewise.
69791         (rintf): Likewise.
69792         (nearbyint): Likewise.
69793         (nearbyintf): Likewise.
69795 2012-05-09  Andreas Jaeger  <aj@suse.de>
69796             Pedro Alves  <palves@redhat.com>
69798         * nscd/nscd.c (run_mode): Use enum.
69799         (main): Cleanup coding style issue.
69801 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
69802             Andreas Jaeger  <aj@suse.de>
69804         * nscd/nscd.c (go_background): Replaced with...
69805         (run_mode): ... this.
69806         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
69807         (options): Add -F --foreground.
69808         (main): Implement it.
69809         (parse_opt): Parse it.
69811 2012-05-09  Andreas Jaeger  <aj@suse.de>
69813         [BZ #14083]
69814         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
69815         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
69816         -Wconversion warning.
69817         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
69818         Likewise.
69820 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
69822         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
69823         == 0.
69824         (LC_ALL): Use macro-int-constant.
69825         (LC_COLLATE): Likewise.
69826         (LC_CTYPE): Likewise.
69827         (LC_MESSAGES): Likewise.
69828         (LC_MONETARY): Likewise.
69829         (LC_NUMERIC): Likewise.
69830         (LC_TIME): Likewise.
69831         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
69832         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69833         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69834         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
69835         Specify type.
69836         [C99-based standards] (float_t): Expect type.
69837         [C99-based standards] (double_t): Expect type.
69838         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
69839         type.
69840         [C99-based standards] (HUGE_VALL): Likewise.
69841         [C99-based standards] (INFINITY): Likewise.
69842         [C99-based standards] (NAN): Likewise.
69843         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69844         [C99-based standards] (FP_NAN): Likewise.
69845         [C99-based standards] (FP_NORMAL): Likewise.
69846         [C99-based standards] (FP_SUBNORMAL): Likewise.
69847         [C99-based standards] (FP_ZERO): Likewise.
69848         [C99-based standards] (FP_FAST_FMA): Use
69849         optional-macro-int-constant.  Specify type.  Require == 1.
69850         [C99-based standards] (FP_FAST_FMAF): Likewise.
69851         [C99-based standards] (FP_FAST_FMAL): Likewise.
69852         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
69853         [C99-based standards] (FP_ILOGBNAN): Likewise.
69854         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
69855         Specify type.
69856         [C99-based standards] (MATH_ERREXCEPT): Likewise.
69857         [C99-based standards] (math_errhandling): Specify type.
69858         [ISO99 || ISO11] (signgam): Do not allow.
69859         [non-C99-based standards] (copysignf): Do not allow.
69860         [non-C99-based standards] (exp2f): Likewise.
69861         [non-C99-based standards] (log2f): Likewise.
69862         [non-C99-based standards] (modff): Allow.
69863         [non-C99-based standards] (erff): Do not allow.
69864         [non-C99-based standards] (erfcf): Likewise.
69865         [non-C99-based standards] (gammaf): Likewise.
69866         [non-C99-based standards] (hypotf): Likewise.
69867         [non-C99-based standards] (j0f): Likewise.
69868         [non-C99-based standards] (j1f): Likewise.
69869         [non-C99-based standards] (jnf): Likewise.
69870         [non-C99-based standards] (lgammaf): Likewise.
69871         [non-C99-based standards] (tgammaf): Likewise.
69872         [non-C99-based standards] (y0f): Likewise.
69873         [non-C99-based standards] (y1f): Likewise.
69874         [non-C99-based standards] (ynf): Likewise.
69875         [non-C99-based standards] (isnanf): Likewise.
69876         [non-C99-based standards] (acoshf): Likewise.
69877         [non-C99-based standards] (asinhf): Likewise.
69878         [non-C99-based standards] (atanhf): Likewise.
69879         [non-C99-based standards] (cbrtf): Likewise.
69880         [non-C99-based standards] (expm1f): Likewise.
69881         [non-C99-based standards] (ilogbf): Likewise.
69882         [non-C99-based standards] (log1pf): Likewise.
69883         [non-C99-based standards] (logbf): Likewise.
69884         [non-C99-based standards] (nextafterf): Likewise.
69885         [non-C99-based standards] (remainderf): Likewise.
69886         [non-C99-based standards] (rintf): Likewise.
69887         [non-C99-based standards] (scalbf): Likewise.
69888         [non-C99-based standards] (copysignl): Likewise.
69889         [non-C99-based standards] (exp2l): Likewise.
69890         [non-C99-based standards] (log2l): Likewise.
69891         [non-C99-based standards] (modfl): Allow.
69892         [non-C99-based standards] (erfl): Do not allow.
69893         [non-C99-based standards] (erfcl): Likewise.
69894         [non-C99-based standards] (gammal): Likewise.
69895         [non-C99-based standards] (hypotl): Likewise.
69896         [non-C99-based standards] (j0l): Likewise.
69897         [non-C99-based standards] (j1l): Likewise.
69898         [non-C99-based standards] (jnl): Likewise.
69899         [non-C99-based standards] (lgammal): Likewise.
69900         [non-C99-based standards] (tgammal): Likewise.
69901         [non-C99-based standards] (y0l): Likewise.
69902         [non-C99-based standards] (y1l): Likewise.
69903         [non-C99-based standards] (ynl): Likewise.
69904         [non-C99-based standards] (isnanl): Likewise.
69905         [non-C99-based standards] (acoshl): Likewise.
69906         [non-C99-based standards] (asinhl): Likewise.
69907         [non-C99-based standards] (atanhl): Likewise.
69908         [non-C99-based standards] (cbrtl): Likewise.
69909         [non-C99-based standards] (expm1l): Likewise.
69910         [non-C99-based standards] (ilogbl): Likewise.
69911         [non-C99-based standards] (log1pl): Likewise.
69912         [non-C99-based standards] (logbl): Likewise.
69913         [non-C99-based standards] (nextafterl): Likewise.
69914         [non-C99-based standards] (remainderl): Likewise.
69915         [non-C99-based standards] (rintl): Likewise.
69916         [non-C99-based standards] (scalbl): Likewise.
69917         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69918         [non-C99-based standards] (FP_*): Do not allow.
69919         [C99-based standards] (FP_*): Change to
69920         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69921         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69922         allow.
69923         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
69924         (SIG_ERR): Likewise.
69925         [X/Open-based standards] (SIG_HOLD): Likewise.
69926         (SIG_IGN): Likewise.
69927         (SIGABRT): Use macro-int-constant.  Specify type.  Require
69928         positive value.
69929         (SIGFPE): Likewise.
69930         (SIGILL): Likewise.
69931         (SIGINT): Likewise.
69932         (SIGSEGV): Likewise.
69933         (SIGTER): Likewise.
69934         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
69935         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
69936         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
69937         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
69938         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
69939         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
69940         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
69941         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
69942         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
69943         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
69944         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
69945         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
69946         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
69947         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
69948         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
69949         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
69950         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
69951         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
69952         [X/Open-based standards] (SIGTRAP): Likewise.
69953         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
69954         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
69955         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
69956         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
69957         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69958         allow.
69960 2012-05-08  Ian Wienand  <ianw@vmware.com>
69962         [BZ #14080]
69963         * time/tzset.c (__tzset_parse_tz): Update default rules for
69964         daylight time changes in the Energy Policy Act of 2005.
69966 2012-05-09  Andreas Jaeger  <aj@suse.de>
69968         [BZ #13983]
69969         * elf/ldconfig.c (parse_conf): Change string to make clear that
69970         ldconfig only issued a warning if ld.so.conf does not exist.
69972 2012-05-08  David S. Miller  <davem@davemloft.net>
69974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
69975         movxtod instead of popping the value on the stack.
69977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69979 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
69981         * config.h.in: Add HAVE_ARM_PCS_VFP.
69983 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69985         [BZ #13979]
69986         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69987         checking but the checks are disabled for any reason.
69989 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69991         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69992         and ELF64_R_TYPE with ELFW(R_TYPE).
69994 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69996         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69997         (ulimit): Likewise.
69999         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70000         (settimeofday): Likewise.
70002 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70004         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70005         a struct th_u2 inside the union, and move tu_block/tu_code into
70006         a new th_u3 union of tu_block/tu_code inside of that.  Move
70007         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70008         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70009         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70010         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70011         (th_stuff): Change to th_u1.tu_stuff.
70012         (th_data): Define.
70013         (th_msg): Change to th_u1.th_u2.tu_data.
70015 2012-05-07  David S. Miller  <davem@davemloft.net>
70017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70019         [BZ #14074]
70020         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70021         (SETUP_PIC_REG): Use it.
70022         (SETUP_PIC_REG_LEAF): Use it.
70024 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70026         [BZ #13885]
70027         [BZ #13923]
70028         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70029         USE_AS_EXPM1L.
70030         (EXPL_FINITE): Likewise.
70031         (FLDLOG): Likewise.
70032         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70033         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70034         e_expl.S.
70035         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70036         USE_AS_EXPM1L.
70037         (EXPL_FINITE): Likewise.
70038         (FLDLOG): Likewise.
70039         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70040         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70041         e_expl.S.
70042         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70043         test of -max_value argument for long double.
70044         * sysdeps/i386/fpu/libm-test-ulps: Update.
70045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70047 2012-05-06  David S. Miller  <davem@davemloft.net>
70049         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70050         quad soft-float symbols whose references which are compiler
70051         generated.
70052         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70054 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70056         [BZ #13884]
70057         [BZ #13914]
70058         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70059         USE_AS_EXP10L.
70060         (EXPL_FINITE): Likewise.
70061         (FLDLOG): Likewise.
70062         (c0): Likewise.
70063         (c1): Likewise.
70064         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70065         Adjust comments for base varying.
70066         (__expl_finite): Change alias to EXPL_FINITE.
70067         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70068         e_expl.S.
70069         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70070         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70071         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70072         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70073         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70074         USE_AS_EXP10L.
70075         (EXPL_FINITE): Likewise.
70076         (FLDLOG): Likewise.
70077         (c0): Likewise.
70078         (c1): Likewise.
70079         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70080         Adjust comments for base varying.
70081         (__expl_finite): Change alias to EXPL_FINITE.
70082         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70083         tests for bugs.
70084         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70086         [BZ #14064]
70087         * math/libm-test.inc (check_float_internal): Correct ulp
70088         calculation for subnormal expected results.
70090 2012-05-06  Andreas Jaeger  <aj@suse.de>
70092         * Makeconfig (+math-flags): New, set to -frounding-math.
70093         (+cflags): Add +math-flags so that all of glibc gets compiled with
70094         it.
70096         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70098 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70100         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70101         Disable one test.
70103         [BZ #13787]
70104         [BZ #13922]
70105         [BZ #14036]
70106         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70107         (__ieee754_expl): Allow for and saturate large arguments.
70108         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70109         (u_threshold): Likewise.
70110         (__exp): Call __ieee754_exp before checking for overflow and
70111         underflow.
70112         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70113         (u_threshold): Likewise.
70114         (__expf): Call __ieee754_expf before checking for overflow and
70115         underflow.
70116         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70117         (u_threshold): Likewise.
70118         (__expl): Call __ieee754_expl before checking for overflow and
70119         underflow.
70120         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70121         (__ieee754_expl): Allow for and saturate large arguments.
70122         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70123         missing overflow exception on overflow.
70124         (expm1_test): Do not allow missing overflow exception on overflow.
70126         * sysdeps/i386/fpu/e_expl.c: Move to ...
70127         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70128         rather than using inline asm.
70129         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70130         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70131         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70133         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70134         (nice): Likewise.
70135         (poll): Likewise.
70136         (signal): Likewise.
70137         (time): Likewise.
70138         (times): Likewise.
70140 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70142         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70143         sysdeps/unix/common/syscalls.list.
70144         (fchmod): Likewise.
70145         (fchown): Likewise.
70146         (ftruncate): Likewise.
70147         (getrusage): Likewise.
70148         (gettimeofday): Likewise.
70149         (setpgid): Likewise.
70150         (setregid): Likewise.
70151         (setreuid): Likewise.
70152         (sigaction): Likewise.
70153         (truncate): Likewise.
70154         (vhangup): Likewise.
70155         * sysdeps/unix/common/syscalls.list: Remove file.
70156         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70157         * sysdeps/unix/sysv/linux/Implies: Likewise.
70159 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70161         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70163         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70164         Moved to ...
70165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70166         Here.
70167         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70168         to ...
70169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70170         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70171         to ...
70172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70173         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70174         to ...
70175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70176         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70177         to ...
70178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70179         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70180         to ...
70181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70182         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70183         to ...
70184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70185         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70186         to ...
70187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70188         Here.
70189         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70190         to ...
70191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70192         Here.
70193         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70194         to ...
70195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70196         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70197         Moved to ...
70198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70199         Here.
70200         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70201         to ...
70202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70204 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70206         * sysdeps/unix/common/bits/dirent.h: Remove file.
70207         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70209         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70210         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70211         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70212         * sysdeps/unix/bsd/isatty.c: Likewise.
70213         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70214         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70215         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70217 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70219         [BZ #13563]
70220         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70221         long double comparison inaccuracies.
70222         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70225 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70227         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70228         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70230 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70232         [BZ #14049]
70233         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70234         nonzero digits before rounding a hex value.
70235         * stdlib/tst-strtod.c (tests): Add another test.
70237 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70239         * sysdeps/s390/fpu/libm-test-ulps: Update.
70241 2012-05-03  Andreas Jaeger  <aj@suse.de>
70243         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70244         does not get optimized out.
70245         (malloc_opt_barrier): New.
70247 2012-05-03  Andreas Jaeger  <aj@suse.de>
70248             Roland McGrath  <roland@hack.frob.com>
70250         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70251         intermediate file deletion.
70252         (generated): Add .symlist files.
70254 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70256         [BZ #13775]
70257         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70258         Redirect under this condition.
70259         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70260         [__USE_GNU] (__dprintf_chk): Not under this condition.
70261         [__USE_GNU] (__vdprintf_chk): Likewise.
70262         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70263         under this condition.
70264         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70265         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70266         [__USE_XOPEN2K8] (vdprintf): Likewise.
70267         [__USE_GNU] (__dprintf_chk): Not under this condition.
70268         [__USE_GNU] (__vdprintf_chk): Likewise.
70269         [__USE_GNU] (dprintf): Likewise.
70270         [__USE_GNU] (vdprintf): Likewise.
70272 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70274         * elf/Makefile (common-generated): Set this instead of generated for
70275         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70276         $(all-built-dso)-derived lists.
70278 2012-05-03  Andreas Jaeger  <aj@suse.de>
70280         * sysdeps/i386/fpu/libm-test-ulps: Update.
70282         * FAQ: Removed.
70283         * FAQ.in: Likewise.
70284         * scripts/gen-FAQ.pl: Likewise.
70285         * manual/install.texi (Installation): Point to online location of
70286         FAQ.
70287         * Makefile (files-for-dist): Remove FAQ.
70288         (FAQ): Remove.
70290 2012-05-02  Allan McRae  <allan@archlinux.org>
70292         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70293         (LDFLAGS-reldepmod5.so): Likewise.
70294         (LDFLAGS-reldep6mod1.so): Likewise.
70295         (LDFLAGS-reldep6mod4.so): Likewise.
70296         (LDFLAGS-reldep8mod3.so): Likewise.
70297         (LDFLAGS-unload4mod1.so): Likewise.
70298         (LDFLAGS-unload4mod2.so): Likewise.
70299         (LDFLAGS-tst-initorder): Likewise.
70300         (LDFLAGS-tst-initordera2.so): Likewise.
70301         (LDFLAGS-tst-initordera3.so): Likewise.
70302         (LDFLAGS-tst-initordera4.so): Likewise.
70303         (LDFLAGS-tst-initorderb2.so): Likewise.
70304         (LDFLAGS-noload): Likewise.
70305         (LDFLAGS-next): Likewise.
70306         (LDFLAGS-order2mod1.so): Likewise.
70307         (LDFLAGS-order2mod2.so): Likewise.
70308         (LDFLAGS-tst-initorder2): Likewise.
70309         (LDFLAGS-tst-initorder2a.so): Likewise.
70310         (LDFLAGS-tst-initorder2b.so): Likewise.
70311         (LDFLAGS-tst-initorder2c.so): Likewise.
70312         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70314 2012-05-02  David S. Miller  <davem@davemloft.net>
70316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70318 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70320         [BZ #14055]
70321         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70323 2012-05-02  Andreas Jaeger  <aj@suse.de>
70325         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70326         since we manipulate rounding mode.
70327         (CPPFLAGS-test-idouble.c): Likewise.
70328         (CPPFLAGS-test-ifloat.c): Likewise.
70329         (CFLAGS-test-ldouble.c): Likewise.
70330         (CFLAGS-test-double.c): Likewise.
70331         (CFLAGS-test-float.c): Likewise.
70332         (CFLAGS-test-misc.c): Likewise.
70333         (CFLAGS-test-test-fenv.c): Likewise.
70335 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70337         [BZ #2550]
70338         [BZ #2570]
70339         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70340         comparisons to determine direction to adjust input.
70342 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70344         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70345         output to the target.
70347         * scripts/localplt.awk: New file.
70348         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70349         (check-localplt-CFLAGS): Variable removed.
70350         ($(all-built-dso:=.jmprel)): New static pattern rule.
70351         (generated): Add those targets.
70352         (localplt-built-dso): New variable.
70353         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70355         * elf/check-localplt.c: File removed.
70357         * scripts/check-execstack.awk: New file.
70358         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70359         (check-execstack-CFLAGS): Variable removed.
70360         ($(objpfx)check-execstack.h): Target removed.
70361         ($(objpfx)execstack-default): New target.
70362         (generated): Add that instead of check-execstack.h.
70363         ($(all-built-dso:=.phdr)): New static pattern rule.
70364         (generated): Add those targets.
70365         * elf/check-execstack.c: File removed.
70367         * scripts/check-textrel.awk: New file.
70368         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70369         (check-textrel-CFLAGS): Variable removed.
70370         (all-built-dso): Use := to define.o
70371         ($(all-built-dso:=.dyn)): New static pattern rule.
70372         (generated): Add those targets.
70373         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70374         * config.make.in (READELF): New substituted variable.
70375         * elf/check-textrel.c: File removed.
70377 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70379         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70380         allow.
70381         * conform/data/ctype.h-data [C99-based standards] (isblank):
70382         Expect function.
70383         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70384         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70385         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70386         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70387         Specify type.  Require positive value.
70388         (EILSEQ): Likewise.
70389         (ERANGE): Likewise.
70390         [ISO || POSIX] (EILSEQ): Do not expect.
70391         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70392         Specify type.  Require positive value.
70393         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70394         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70395         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70396         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70397         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70398         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70399         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70400         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70401         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70402         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70403         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70404         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70405         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70406         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70407         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70408         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70409         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70410         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70411         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70412         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70413         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70414         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70415         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70416         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70417         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70418         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70419         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70420         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70421         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70422         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70423         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70424         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70425         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70426         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70427         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70428         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70429         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70430         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70431         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70432         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70433         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70434         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70435         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70436         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70437         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70438         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70439         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70440         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70441         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70442         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70443         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70444         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70445         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70446         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70447         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70448         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70449         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70450         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70451         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70452         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70453         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70454         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70455         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70456         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70457         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70458         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70459         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70460         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70461         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70462         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70463         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70464         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70465         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70466         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70467         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70468         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70469         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70470         Require >= 2.
70471         (FLT_ROUNDS): Expect as macro, not constant.
70472         (FLT_MANT_DIG): Use macro-int-constant.
70473         (DBL_MANT_DIG): Likewise.
70474         (LDBL_MANT_DIG): Likewise.
70475         (FLT_DIG): Likewise.
70476         (DBL_DIG): Likewise.
70477         (LDBL_DIG): Likewise.
70478         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70479         (DBL_MIN_EXP): Likewise.
70480         (LDBL_MIN_EXP): Likewise.
70481         (FLT_MAX_EXP): Use macro-int-constant.
70482         (DBL_MAX_EXP): Likewise.
70483         (LDBL_MAX_EXP): Likewise.
70484         (FLT_MAX_10_EXP): Likewise.
70485         (DBL_MAX_10_EXP): Likewise.
70486         (LDBL_MAX_10_EXP): Likewise.
70487         (FLT_MAX): Use macro-constant.
70488         (DBL_MAX): Likewise.
70489         (LDBL_MAX): Likewise.
70490         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70491         (DBL_EPSILON): Likewise.
70492         (LDBL_EPSILON): Likewise.
70493         (FLT_MIN): Likewise.
70494         (DBL_MIN): Likewise.
70495         (LDBL_MIN): Likewise.
70496         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70497         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70498         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70499         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70500         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70501         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70502         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70503         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70504         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70505         [ISO11] (FLT_TRUE_MIN): Likewise.
70506         [ISO11] (LDBL_TRUE_MIN): Likewise.
70507         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70508         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70509         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70510         (SCHAR_MAX): Likewise.
70511         (UCHAR_MAX): Likewise.
70512         (CHAR_MIN): Likewise.
70513         (CHAR_MAX): Likewise.
70514         (MB_LEN_MAX): Use macro-int-constant.
70515         (SHRT_MIN): Use macro-int-constant.  Specify type.
70516         (SHRT_MAX): Likewise.
70517         (USHRT_MAX): Likewise.
70518         (INT_MAX): Likewise.
70519         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70520         bound negative.
70521         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70522         bound with "U".
70523         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70524         bound with "L".
70525         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70526         bound negative.  Suffix upper bound with "L".
70527         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70528         bound with "UL".
70529         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70530         Specify type.
70531         [C99-based standards] (LLONG_MAX): Likewise.
70532         [C99-based standards] (ULLONG_MAX): Likewise.
70533         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70534         == 0.
70535         [ISO11] (max_align_t): Require type.
70536         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70538         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70539         from $CFLAGS, without defining away __attribute__ calls.
70540         (checknamespace): Use $CFLAGS_namespace.
70542         * conform/conformtest.pl (@keywords): Only include C99 keywords
70543         for standards based on C99 or C11.
70545         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70546         Disable tests.
70547         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70548         UNIX98]: Likewise.
70550         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70551         usability of symbols in #if.
70553         * conform/conformtest.pl: If macro or constant types start
70554         "promoted:", expect the symbol to be of the following type
70555         promoted by the integer promotions.
70557         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70558         in one place.  Also handle "macro-constant".
70560         * conform/conformtest.pl: Only accept expected macro values with
70561         "==".  Parse all "macro" lines in one place.
70562         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70564         * conform/conformtest.pl: Handle braced types on "constant" lines
70565         instead of handling "typed-constant".
70566         * conform/data/signal.h-data: Use "constant" instead of
70567         "typed-constant".
70569         * conform/conformtest.pl: Handle "optional-" at start of lines in
70570         one place rather than duplicating several cases.  Handle each
70571         format of "macro" line with initial "optional-".
70573         * conform/conformtest.pl: Only accept expected constant or
70574         optional-constant values with "==".  Parse all "constant" lines in
70575         one place.  Parse all "optional-constant" lines in one place.
70576         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70577         * conform/data/fmtmsg.h-data: Likewise.
70578         * conform/data/netinet/in.h-data: Likewise.
70579         * conform/data/tar.h-data: Likewise.
70580         * conform/data/limits.h-data: Use "==" form on "constant" and
70581         "optional-constant" lines.
70583         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70584         Use -std=c99 for XOPEN2K.
70585         (@knownproblems): Remove.
70586         (newtoken): Don't check %isknown.
70588         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70589         Do not expect macro.
70590         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70591         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70592         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70593         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70594         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70595         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70596         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70597         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70598         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70599         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70600         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70601         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70602         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70603         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70604         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70605         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70606         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70607         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70608         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70609         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70610         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70611         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70612         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70613         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70614         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70615         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70616         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70617         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70618         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70619         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70620         [XPG3] (acosh): Likewise.
70621         [XPG3] (asinh): Likewise.
70622         [XPG3] (atanh): Likewise.
70623         [XPG3] (cbrt): Likewise.
70624         [XPG3] (expm1): Likewise.
70625         [XPG3] (ilogb): Likewise.
70626         [XPG3] (log1p): Likewise.
70627         [XPG3] (logb): Likewise.
70628         [XPG3] (nextafter): Likewise.
70629         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70630         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70631         [XPG3] (remainder): Likewise.
70632         [XPG3] (rint): Likewise.
70633         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70634         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70635         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70636         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70637         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70638         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70639         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70640         [UNIX98 || XOPEN2K] (scalb): Expect.
70641         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70642         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70643         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70644         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70645         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70646         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70647         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70648         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70649         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70650         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70651         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70652         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70653         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70654         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70655         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70656         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70657         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70658         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70659         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70660         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70661         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70662         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70663         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70664         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70665         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70666         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70667         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70668         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70669         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70670         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70671         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70672         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70673         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70674         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70675         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70676         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70677         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70678         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70679         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70680         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70681         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70682         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70683         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70684         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70685         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70686         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70687         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70688         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70689         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70690         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70691         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70692         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70693         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70694         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70695         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70696         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70697         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70698         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70699         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70700         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70701         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70702         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70703         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70704         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70705         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70706         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70707         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70708         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70709         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70710         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70711         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70712         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70713         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70714         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70715         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70716         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70717         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70718         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70719         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70720         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70721         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70722         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70723         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70724         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70725         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70726         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70727         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70728         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70729         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70730         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70731         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70732         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70733         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70734         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70735         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70736         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70737         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70738         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70739         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70740         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70741         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70742         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70743         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70744         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70745         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70746         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70747         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70748         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70749         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70750         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70751         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70752         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70753         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70754         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70755         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70756         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70757         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70758         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70759         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70760         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70761         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70762         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70763         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70764         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70765         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70766         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70767         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70768         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70769         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70770         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70771         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70772         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70773         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70774         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70775         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70776         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70777         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70779         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70780         _XOPEN_SOURCE_EXTENDED for XPG4.
70782         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70784         * Makeconfig (localtime): Remove variable.
70785         (inst_localtime-file): Likewise.
70787 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70790         Update.
70791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70792         Update.
70793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70794         Update.
70795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70796         Update.
70797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
70798         Update.
70799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
70800         Update.
70801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70802         Update.
70803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
70804         Update.
70805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70806         Update.
70808 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70810         [BZ #2550]
70811         [BZ #2570]
70812         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
70813         comparisons to determine direction to adjust input.
70814         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
70815         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
70816         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
70817         Likewise.
70818         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
70819         Likewise.
70820         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
70821         Likewise.
70822         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
70823         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
70824         Likewise.
70825         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
70826         Likewise.
70827         * math/libm-test.inc (nexttoward_test): Add more tests.
70829 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70831         [BZ #14040]
70832         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
70833         in version GLIBC_2.1, not GLIBC_2.0.
70834         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
70835         Likewise.
70837 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
70839         [BZ #13942]
70840         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
70841         (1 - x) * (1 + x).
70842         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70843         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
70844         * math/libm-test.inc (acos_test): Add more tests.
70845         (asin_test): Likewise.
70846         * sysdeps/i386/fpu/libm-test-ulps: Update.
70847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70849         [BZ #14034]
70850         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
70851         of square root.
70852         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
70853         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70854         * math/libm-test.inc (acos_test_tonearest): New function.
70855         (acos_test_towardzero): Likewise.
70856         (acos_test_downward): Likewise.
70857         (acos_test_upward): Likewise.
70858         (asin_test_tonearest): Likewise.
70859         (asin_test_towardzero): Likewise.
70860         (asin_test_downward): Likewise.
70861         (asin_test_upward): Likewise.
70862         (main): Call the new functions.
70863         * sysdeps/i386/fpu/libm-test-ulps: Update.
70864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70866         [BZ #13884]
70867         [BZ #13924]
70868         * math/e_exp10.c: Include <float.h>.
70869         (__ieee754_exp10): Handle underflow here rather than multiplying
70870         large negative argument by M_LN10.
70871         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
70872         of __ieee754_expf.
70873         * math/e_exp10l.c: Include <float.h>.
70874         (__ieee754_exp10l): Handle underflow here rather than multiplying
70875         large negative argument by M_LN10l.
70876         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70877         spurious overflow exception on underflow.
70879 2012-04-29  Marek Polacek  <polacek@redhat.com>
70881         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
70882         (__fortify_function): New macro.
70883         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
70884         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
70885         __extern_always_inline.
70886         * libio/bits/stdio2.h: Likewise.
70887         * libio/bits/stdio.h: Likewise.
70888         * string/string.h: Likewise.
70889         * string/bits/string3.h: Likewise.
70890         * include/stdio.h: Likewise.
70891         * stdlib/bits/stdlib.h: Likewise.
70892         * stdlib/stdlib.h: Likewise.
70893         * rt/bits/mqueue2.h: Likewise.
70894         * rt/mqueue.h: Likewise.
70895         * posix/bits/unistd.h: Likewise.
70896         * posix/unistd.h: Likewise.
70897         * io/bits/poll2.h: Likewise.
70898         * io/bits/fcntl2.h: Likewise.
70899         * io/fcntl.h: Likewise.
70900         * io/sys/poll.h: Likewise.
70901         * misc/bits/syslog.h: Likewise.
70902         * misc/bits/syslog-ldbl.h: Likewise.
70903         * misc/sys/syslog.h: Likewise.
70904         * socket/bits/socket2.h: Likewise.
70905         * socket/sys/socket.h: Likewise.
70906         * debug/tst-chk1.c: Likewise.
70907         * wcsmbs/bits/wchar2.h: Likewise.
70908         * wcsmbs/bits/wchar-ldbl.h: Likewise.
70909         * wcsmbs/wchar.h: Likewise.
70911 2012-04-29  Andreas Jaeger  <aj@suse.de>
70913         * Makerules (tests): Remove enable-check-abi protection.
70914         (check-abi-warn): Remove.
70915         (check-abi-%): Remove check-abi-warn usage.
70917         * configure.in: Remove check-abi configure option.
70918         * configure: Regenerated.
70919         * config.make.in (enable-check-abi): Remove.
70921 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
70923         [BZ #14033]
70924         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
70925         double functions to double *_finite functions.
70927         [BZ #13941]
70928         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
70929         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
70930         LDBL_MIN_EXP.
70931         * stdio-common/Makefile (tests): Add tst-sprintf3.
70932         * stdio-common/tst-sprintf3.c: New file.
70934         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
70935         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
70937 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70939         * conform/conformtest.pl: Remove duplicate typed-constant
70940         handling.
70942 2012-04-28  David S. Miller  <davem@davemloft.net>
70944         * Makerules (%.abilist): Add vpath on sysdep_dirs.
70945         (check-abi-%): Remove AWK script prerequisite and explicit
70946         abilist directory.
70947         (check-abi): Rewrite to just diff the symlist with the abilist.
70948         (config-tls, config-abi-config): Delete, no longer used.
70949         (update-abi-%): Remove AWK script and explicit abilist directory.
70950         (update-abi): Rewrite to simply compare and conditionally copy the
70951         symlist and the sysdep abilist file.  Remove update-abi-config
70952         checks.
70953         * abilist/ld.abilist: Remove.
70954         * abilist/libBrokenLocale.abilist: Remove.
70955         * abilist/libanl.abilist: Remove.
70956         * abilist/libcrypt.abilist: Remove.
70957         * abilist/libdl.abilist: Remove.
70958         * abilist/librt.abilist: Remove.
70959         * abilist/libthread_db.abilist: Remove.
70960         * abilist/libutil.abilist: Remove.
70961         * scripts/extract-abilist.awk: Remove.
70962         * scripts/merge-abilist.awk: Remove.
70963         * sysdeps/generic/libcidn.abilist: New file.
70964         * sysdeps/generic/libnss_compat.abilist: New file.
70965         * sysdeps/generic/libnss_db.abilist: New file.
70966         * sysdeps/generic/libnss_dns.abilist: New file.
70967         * sysdeps/generic/libnss_files.abilist: New file.
70968         * sysdeps/generic/libnss_hesiod.abilist: New file.
70969         * sysdeps/generic/libnss_nis.abilist: New file.
70970         * sysdeps/generic/libnss_nisplus.abilist: New file.
70971         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
70972         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
70973         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
70974         file.
70975         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
70976         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70977         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70978         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70979         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70980         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70981         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70982         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70983         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70984         file.
70985         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70986         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70987         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70988         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70989         file.
70990         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70991         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70992         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70993         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70994         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70995         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70996         file.
70997         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70998         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70999         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71000         file.
71001         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71003         New file.
71004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71005         New file.
71006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71007         New file.
71008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71009         New file.
71010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71011         New file.
71012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71013         New file.
71014         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71015         New file.
71016         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71017         New file.
71018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71019         New file.
71020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71021         New file.
71022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71023         New file.
71024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71025         New file.
71026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71027         New file.
71028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71029         file.
71030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71031         New file.
71032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71033         New file.
71034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71035         file.
71036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71037         New file.
71038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71039         New file.
71040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71041         file.
71042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71043         New file.
71044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71045         New file.
71046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71047         New file.
71048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71049         New file.
71050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71051         New file.
71052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71053         New file.
71054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71056         file.
71057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71058         New file.
71059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71060         file.
71061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71062         file.
71063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71064         file.
71065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71066         file.
71067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71068         file.
71069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71070         New file.
71071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71072         file.
71073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71074         file.
71075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71076         New file.
71077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71078         file.
71079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71081         file.
71082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71083         New file.
71084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71085         file.
71086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71087         file.
71088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71089         file.
71090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71091         file.
71092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71093         file.
71094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71095         New file.
71096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71097         file.
71098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71099         file.
71100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71101         New file.
71102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71103         file.
71104         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71105         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71106         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71107         file.
71108         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71109         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71110         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71111         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71112         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71113         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71114         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71115         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71116         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71117         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71120         file.
71121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71122         New file.
71123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71124         file.
71125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71126         file.
71127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71128         file.
71129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71130         file.
71131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71132         file.
71133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71134         New file.
71135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71136         New file.
71137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71138         file.
71139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71140         New file.
71141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71142         file.
71143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71145         file.
71146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71147         New file.
71148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71149         file.
71150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71151         file.
71152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71153         file.
71154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71155         file.
71156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71157         file.
71158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71159         New file.
71160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71161         New file.
71162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71163         file.
71164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71165         New file.
71166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71167         file.
71169 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71171         * conform/conformtest.pl: Fix typo in handling typed-constant from
71172         allow-header.
71174 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71176         * README: Cut down references to pre-2.6 Linux kernels and
71177         Linuxthreads.  Update lists of configurations in libc and ports
71178         and sort alphabetically.  Say "or newer" with Linux kernel version
71179         requirements.
71181         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71183 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71185         [BZ #887]
71186         * math/libm-test.inc (logb_test_downward): New test to expose
71187         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71188         rounding mode.
71190 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71192         [BZ #14027]
71193         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71194         to be done.
71195         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71196         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71198 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71200         * sysdeps/unix/i386/brk.S: Remove file.
71201         * sysdeps/unix/i386/dl-brk.S: Likewise.
71202         * sysdeps/unix/i386/pipe.S: Likewise.
71203         * sysdeps/unix/i386/sigreturn.S: Likewise.
71204         * sysdeps/unix/i386/syscall.S: Likewise.
71205         * sysdeps/unix/i386/vfork.S: Likewise.
71206         * sysdeps/unix/i386/wait.S: Likewise.
71208         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71209         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71211         * configure.in (arm*-none*): Do not allow without
71212         --enable-hacker-mode.
71213         (netbsd*): Remove case setting base_os.
71214         (386bsd*): Likewise.
71215         (freebsd*): Likewise.
71216         (bsdi*): Likewise.
71217         (osf*): Likewise.
71218         (sunos*): Likewise.
71219         (ultrix*): Likewise.
71220         (newsos*): Likewise.
71221         (dynix*): Likewise.
71222         (*bsd*): Likewise.
71223         (sysv*): Likewise.
71224         (isc*): Likewise.
71225         (esix*): Likewise.
71226         (sco*): Likewise.
71227         (minix*): Likewise.
71228         (irix4*): Likewise.
71229         (irix6*): Likewise.
71230         (solaris[2-9]*): Likewise.
71231         (none): Likewise.
71232         * configure: Regenerated.
71234 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71236         [BZ #11521]
71237         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71238         overflow or cancellation in calculating denominator.
71239         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71240         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71241         down expression to avoid unexpected rounding in newer GCCs.
71242         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71244 2012-04-26  David S. Miller  <davem@davemloft.net>
71246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71247         long-double compat symbols.
71248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71262 2012-04-25  David S. Miller  <davem@davemloft.net>
71264         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71265         HWCAP_* values only after the memory barriers have been defined.
71266         (atomic_full_barrier): Define.
71267         (atomic_read_barrier): Define.
71268         (atomic_write_barrier): Define.
71270 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71272         * shlib-versions: Add libgcc_s version information.
71273         * sysdeps/generic/libgcc_s.h: Remove.
71274         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71275         libgcc_s.h.
71276         * sysdeps/gnu/unwind-resume.c: Likewise.
71277         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71279 2012-04-25  David S. Miller  <davem@davemloft.net>
71281         * sysdeps/unix/sparc/brk.S: Delete.
71282         * sysdeps/unix/sparc/dl-brk.S: Delete.
71283         * sysdeps/unix/sparc/pipe.S: Delete.
71284         * sysdeps/unix/sparc/sysdep.S: Delete.
71285         * sysdeps/unix/sparc/sysdep.h: Delete.
71286         * sysdeps/unix/sparc/vfork.S: Delete.
71287         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71288         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71289         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71290         (ret_ERRVAL, r0, r1, MOVE): Define.
71291         (JUMPTARGET): Remove.
71292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71293         sysdeps/unix/sparc/sysdep.h
71294         (ENTRY, END): Remove.
71295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71297 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71299         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71300         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71301         -DIS_IN_build.
71303         * timezone/README: Update upstream location and email address for
71304         tzcode and tzdata.
71305         * timezone/zdump.c: Update from tzcode 2012b.
71306         * timezone/zic.c: Likewise.
71308         * configure.in (libc_cv_as_needed): Remove test.
71309         * configure: Regenerated.
71310         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71311         conditional definition.
71312         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71313         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71314         * config.make.in (have-as-needed): Remove variable.
71316 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71317             Paul Pluzhnikov  <ppluzhnikov@google.com>
71319         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71320         strings correctly.
71322 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71324         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71325         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71326         * sysdeps/sh/strlen.S: Likewise.
71328 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71330         * sysdeps/unix/fork.S: Remove file.
71331         * sysdeps/unix/i386/fork.S: Likewise.
71332         * sysdeps/unix/sparc/fork.S: Likewise.
71334         * sysdeps/unix/system.c: Remove file.
71335         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71337         * sysdeps/unix/getegid.S: Remove file.
71338         * sysdeps/unix/geteuid.S: Likewise.
71340 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71342         * scripts/check-localplt.awk: New file.
71343         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71344         of diff.
71345         * scripts/data/localplt-generic.data: Add a comment.
71347         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71348         NODE when __dir_mkfile failed.
71349         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71350         Reported by Ludovic Courtès <ludo@gnu.org>.
71352 2012-04-24  Andreas Jaeger  <aj@suse.de>
71354         * Makerules (common-clean): Also remove gen-as-const-headers
71355         files.
71357 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71359         * Makerules (native-compile): Do not change working directory for
71360         build.  Use $(OUTPUT_OPTION) in command.
71361         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71363 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71365         [BZ #13886]
71366         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71367         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71368         * math/libm-test.inc (floor_test): Add more tests.
71369         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71371 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71373         * sysdeps/unix/getdents.c: Remove file.
71374         * sysdeps/unix/sysv/getdents.c: Likewise.
71375         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71377         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71378         sysdeps/unix/mman/syscalls.list.
71379         (mmap): Likewise.
71380         (mprotect): Likewise.
71381         (msync): Likewise.
71382         (munmap): Likewise.
71383         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71384         * sysdeps/unix/mman/syscalls.list: Remove.
71385         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71387         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71388         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71389         * configure: Regenerated.
71390         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71391         $(libgcc_s_suffix).
71392         * config.make.in (libgcc_s_suffix): Remove variable.
71394 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71396         * sysdeps/unix/sysv/gethostname.c: Move to ...
71397         * sysdeps/posix/gethostname.c: ... here.
71399         * sysdeps/unix/execve.S: Remove file.
71401         * sysdeps/unix/_exit.S: Remove file.
71403 2012-04-23  Andreas Jaeger  <aj@suse.de>
71405         [BZ #13739]
71406         * manual/Makefile: Remove make dist support, there's no
71407         need for a stand-alone documentation tar ball.
71408         (TEXI2DVI): Define always, it's not in Makeconfig.
71409         (dist): Removed.
71410         (tar-it): Removed.
71411         (edition): Removed.
71412         (glibc-doc-$(edition).tar): Removed
71413         (%.Z): Removed.
71414         (%.gz): Removed.
71415         (%.uu): Removed.
71416         (ETAGS): Remove, it's in Makeconfig.
71417         (move-if-change): Remove, it's in Makeconfig.
71419 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71421         [BZ #13970]
71422         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71423         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71424         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71425         (strtod_l, strtof_l, strtold_l): Remove __wur.
71426         It is not necessarily an error to ignore strtol's return value.
71427         One can reliably look at the stored endptr to decide whether
71428         the number had valid syntax.
71430 2012-04-21  Andreas Jaeger  <aj@suse.de>
71432         [BZ #13739]
71433         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71435 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71437         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71438         * sysdeps/unix/sysv/Versions: Remove file.
71440 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71442         [BZ #13927]
71443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71445 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71447         [BZ #7064]
71448         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71449         version from __vm86.
71451 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71453         * sysdeps/unix/common/lxstat.c: Remove file.
71454         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71456         * sysdeps/unix/sysv/Makefile: Remove file.
71458         * sysdeps/unix/sysv/direct.h: Remove file.
71460         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71461         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71462         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71463         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71464         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71465         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71466         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71468         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71470         * sysdeps/unix/xmknod.c: Remove file.
71471         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71473         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71475         * sysdeps/unix/sysv/i386/time.S: Remove file.
71477         * sysdeps/unix/fxstat.c: Remove file.
71478         * sysdeps/unix/xstat.c: Likewise.
71479         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71481         * sysdeps/unix/sysv/sigaction.c: Remove file.
71483         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71484         (sysdep_headers): Remove variable.
71485         [termio.h not in sysdep_headers] (generated): Likewise.
71486         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71487         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71488         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71489         * sysdeps/unix/sysv/tcflow.c: Likewise.
71490         * sysdeps/unix/sysv/tcflush.c: Likewise.
71491         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71492         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71493         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71494         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71495         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71497         * sysdeps/unix/siglist.c: Remove file.
71499         * sysdeps/unix/getppid.S: Remove file.
71501         * sysdeps/unix/mkdir.c: Remove file.
71502         * sysdeps/unix/rmdir.c: Likewise.
71504 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71506         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71507         ERR_MAX value.
71508         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71509         errlist-compat value.
71511 2012-04-18  David S. Miller  <davem@davemloft.net>
71513         * sysdeps/generic/memcopy.h (reg_char): Delete.
71514         * debug/strcat_chk.c: Use char, not reg_char.
71515         * debug/strcpy_chk.c: Likewise.
71516         * debug/strncat_chk.c: Likewise.
71517         * debug/strncpy_chk.c: Likewise.
71518         * string/memchr.c: Likewise.
71519         * string/memrchr.c: Likewise.
71520         * string/rawmemchr.c: Likewise.
71521         * string/strcat.c: Likewise.
71522         * string/strchr.c: Likewise.
71523         * string/strchrnul.c: Likewise.
71524         * string/strcmp.c: Likewise.
71525         * string/strcpy.c: Likewise.
71526         * string/strncat.c: Likewise.
71527         * string/strncmp.c: Likewise.
71528         * string/strncpy.c: Likewise.
71530 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71532         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71533         __builtin_memcopy is called when src and dest ranges are known to not
71534         overlap.
71536 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71538         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71539         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71540         fwd_align_merge macro call.
71541         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71542         bwd_align_merge macro call.
71543         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71545 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71547         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71548         bwd_align_merge macros.
71549         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71550         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71551         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71553 2012-04-18  David S. Miller  <davem@davemloft.net>
71555         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71557 2012-04-18  Andreas Jaeger  <aj@suse.de>
71559         [BZ# 6794]
71560         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71561         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71562         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71564         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71565         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71566         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71568         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71569         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71570         Adjust for changed ldbl-128 files.
71572         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71573         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71574         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71576 2012-04-17  David S. Miller  <davem@davemloft.net>
71578         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71580 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71582         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71583         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71584         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71585         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71586         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71587         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71589 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71591         [BZ #6794]
71592         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71593         * math/libm-test.inc: Add ilogb errno and exception tests.
71594         * math/w_ilogb.c: New file: ilogb wrapper.
71595         * math/w_ilogbf.c: New file: ilogbf wrapper.
71596         * math/w_ilogbl.c: New file: ilogbl wrapper.
71597         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71598         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71599         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71600         exception being thrown with 0.0 as argument.
71601         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71602         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71603         exception being thrown with 0.0 as argument.
71604         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71605         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71606         exception being thrown with 0.0 as argument.
71607         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71608         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71609         exception being thrown with 0.0 as argument.
71610         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71611         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71612         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71613         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71614         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71615         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71616         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71617         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71618         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71620 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71622         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71623         with altivec.
71625 2012-04-16  Marek Polacek  <polacek@redhat.com>
71627         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71629 2012-04-16  Marek Polacek  <polacek@redhat.com>
71631         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71632         operands of fdivp instruction.
71634 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71636         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71637         * elf/tst-auditmod3b.c: Likewise.
71638         * elf/tst-auditmod4b.c: Likewise.
71639         * elf/tst-auditmod5b.c: Likewise.
71640         * elf/tst-auditmod6b.c: Likewise.
71641         * elf/tst-auditmod6c.c: Likewise.
71642         * elf/tst-auditmod7b.c: Likewise.
71643         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71644         * sysdeps/x86_64/preconfigure.in: Likewise.
71645         * sysdeps/x86_64/preconfigure: Regenerated.
71647 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71649         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71650         __ILP32__.
71652 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71654         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71655         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71657 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71659         [BZ #13973]
71660         * locale/iso-639.def: Fix gl language name. Spotted by
71661         Yaron Shahrabani.
71663 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71665         [BZ #2074]
71666         * libio/libio.h (__io_write_fn): Update comment.
71668 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71670         [BZ #2074]
71671         * stdio.texi (Hook Functions): The user provided writer function
71672         is not allowed to return -1.
71674 2012-04-11  David S. Miller  <davem@davemloft.net>
71676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71678 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71680         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71681         Add a leading slash to rtkaio.
71683 2012-04-11  Jim Meyering  <meyering@redhat.com>
71685         [BZ #11959]
71686         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71687         It is not necessarily an error to ignore fwrite's return
71688         value.  One can reliably use ferror to test for errors after
71689         the fact.
71691 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71693         * bits/types.h (__snseconds_t): New type.
71694         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71696         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71697         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71698         (__SNSECONDS_T_TYPE): Likewise.
71699         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71700         (__SNSECONDS_T_TYPE): Likewise.
71701         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71702         (__SNSECONDS_T_TYPE): Likewise.
71704 2012-04-10  Andreas Jaeger  <aj@suse.de>
71706         [BZ #2636]
71707         * manual/time.texi (Processor Time): Return type of times is
71708         elapsed real time since an arbitrary point in the past.
71709         (CPU Time): Move CLK_TCK from here...
71710         (Processor Time): ...to here.  Correct description.
71711         * manual/conf.texi (Constants for Sysconf): Correct description of
71712         _SC_CLK_TCK.
71714 2012-04-10  David S. Miller  <davem@davemloft.net>
71716         [BZ #13967]
71717         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71718         where the is a gap between DT_REL(A) and DT_JMPREL.
71720 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71722         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71723         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71724         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71726 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71728         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71729         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71730         (dl_main): Handle --inhibit-cache.
71731         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71732         _dl_inhibit_cache.
71733         * elf/dl-load.c (_dl_map_object): Use it.
71734         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71736 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71738         [BZ #13872]
71739         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71740         (__ieee754_powl): Saturate large exponents rather than testing for
71741         overflow of y*log2(x).
71742         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71743         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71744         exceptions.
71746         [BZ #11521]
71747         * math/s_ctan.c: Include <float.h>.
71748         (__ctan): Avoid internal overflow or cancellation in calculating
71749         denominator.
71750         * math/s_ctanf.c: Likewise.
71751         * math/s_ctanl.c: Likewise.
71752         * math/s_ctanh.c: Likewise.
71753         * math/s_ctanhf.c: Likewise.
71754         * math/s_ctanhl.c: Likewise.
71755         * math/libm-test.inc (ctan_test): Add more tests.
71756         (ctanh_test): Likewise.
71757         * sysdeps/i386/fpu/libm-test-ulps: Update.
71758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71760 2012-04-09  Andreas Jaeger  <aj@suse.de>
71762         [BZ #6894]
71763         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71764         is an optional BSD extension.
71766         [BZ #10254]
71767         * manual/stdio.texi (Opening Streams): Document additional fopen
71768         parameters.
71770 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71772         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71773         %eax without telling the compiler.
71775 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71777         [BZ # 13963]
71778         * manual/install.texi: Use sourceware.org.
71780 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71782         [BZ #13873]
71783         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71784         (__ieee754_pow): Generate overflow and underflow using huge*huge
71785         and tiny*tiny rather than just returning constant infinity or zero
71786         for large exponents.
71787         * math/libm-test.inc (pow_test): Require overflow exceptions for
71788         applicable cases of large exponents.
71790         [BZ #706]
71791         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71792         (__ieee754_pow): Use iterative multiplication algorithm only for
71793         integer exponents with absolute value below 1024.  Check for odd
71794         integer exponents when using algorithm for real exponents.
71795         * math/libm-test.inc (pow_test): Add more tests.
71796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71798 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
71800         [BZ #13705]
71801         * math/libm-test.inc (exp_test): Do not allow overflow exception
71802         on underflow test.
71804 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
71806         [BZ #13705]
71807         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
71808         instead of __kernel_standard_f.
71810 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
71812         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
71813         * sysdeps/x86_64/memset_chk.S: Likewise.
71815 2012-04-08  Andreas Jaeger  <aj@suse.de>
71817         [BZ #10153]
71818         * manual/startup.texi (Environment Access): Describe return value
71819         for putenv and setenv.
71821         [BZ #6895]
71822         * manual/filesys.texi (Directory Entries): Add description for
71823         DT_LNK.
71825         [BZ #6890]
71826         * manual/filesys.texi (Directory Entries): Clarify that it's file
71827         system not operating system in the description of DT_UNKNOWN.
71829         [BZ #6578]
71830         * manual/syslog.texi (closelog): Fix reference, it's openlog.
71832 2012-04-08  Stephen Compall  <s11@member.fsf.org>
71834         [BZ #6649]
71835         * manual/llio.texi (Opening and Closing Files): Add cross
71836         reference to explain mode argument.
71838 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
71840         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
71841         * sysdeps/x86_64/memset_chk.S: Likewise.
71843 2012-04-07  David S. Miller  <davem@davemloft.net>
71845         * elf/elf.h (R_SPARC_WDISP10): Define.
71846         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
71847         R_SPARC_SIZE32.
71848         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
71849         R_SPARC_SIZE64 and R_SPARC_H34.
71851 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
71853         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
71854         conditions and remove no longer applicable assertion.
71856 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71858         * bits/byteswap.h: Include <features.h>.
71859         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71860         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71862 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71864         * bits/byteswap.h (__bswap_16): Removed.
71865         Include <bits/byteswap-16.h> to get __bswap_16.
71866         * sysdeps/i386/bits/byteswap.h: Likewise.
71867         * sysdeps/s390/bits/byteswap.h: Likewise.
71868         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71869         * bits/byteswap-16.h: New file.
71870         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71871         * sysdeps/s390/bits/byteswap-16.h: Likewise.
71872         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
71873         * string/Makefile (headers): Add bits/byteswap-16.h.
71875 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71877         [BZ #13895]
71878         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
71879         extra indirection.
71880         * nss/Makefile (tests-static, tests): Add tst-nss-static.
71881         * nss/tst-nss-static.c: New.
71883 2012-04-06  Robert Millan  <rmh@gnu.org>
71885         [BZ #6486]
71886         * manual/llio.texi (File Position Primitive): lseek
71887         refers to WHENCE when it really means OFFSET.
71889 2012-04-06  Andreas Jaeger  <aj@suse.de>
71891         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
71892         strncmp declarations.
71894         * abilist/libc.abilist: Add __poll and __ppoll.
71896 2012-04-05  David S. Miller  <davem@davemloft.net>
71898         * scripts/check-local-headers.sh: Accept a host triplet in the
71899         path matched by the exclude regexp.
71901         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
71902         definition.
71903         * sysdeps/powerpc/powerpc32/dl-machine.h
71904         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
71905         * sysdeps/s390/s390-32/dl-machine.h
71906         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71907         * sysdeps/sparc/sparc32/dl-machine.h
71908         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71909         * sysdeps/sparc/sparc64/dl-machine.h
71910         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71912         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
71913         lazy binding.
71914         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
71915         undefined symbol errors.
71917         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
71918         DT_NEEDED entries.
71920 2012-04-05  Michael Matz  <matz@suse.de>
71922         [BZ #13592]
71923         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
71925 2012-04-05  Andreas Jaeger  <aj@suse.de>
71927         [BZ #13908]
71928         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
71929         comment.
71931 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71933         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
71934         which ROUND is no valid rounding mode.
71936 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71938         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
71939         read again.
71940         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
71942 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71944         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
71945         an exception using FPU order intentionally.
71947 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71949         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
71950         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
71951         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
71952         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
71954 2012-04-05  Simon Josefsson  <simon@josefsson.org>
71956         [BZ #12340]
71957         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
71958         EINVAL when BUFLEN is too smal.
71960 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
71962         [BZ #13553]
71963         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
71964         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
71966 2012-04-03  Andreas Jaeger  <aj@suse.de>
71968         [BZ #13938]
71969         * manual/setjmp.texi (System V contexts): Fix sentence.
71971         [BZ #13926]
71972         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
71973         New macro for this case.
71974         [!__GNUC__] (__bswap_64): New inline function for this case.
71975         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71976         * bits/byteswap.h: Likewise.
71977         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71978         ull, guard with __GLIBC_HAVE_LONG_LONG.
71980         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71981         __GLIBC_HAVE_LONG_LONG.
71983         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71984         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71986 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71988         [BZ #13691]
71989         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71990         inptr and inend, rather than using last_ch.
71992 2012-04-02  David S. Miller  <davem@davemloft.net>
71994         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71995         * stdio-common/printf-parse.h (read_int): Change return type to
71996         'int', return -1 on INT_MAX overflow.
71997         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71998         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71999         overflows INT_MAX.  Check for overflow of in-format-string precision
72000         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72001         SIZE_MAX not INT_MAX for integer overflow test.
72002         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72003         skip the construct in the format string but do not record anything.
72004         * stdio-common/bug22.c: Adjust to test both width/prevision
72005         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72006         explicitly for proper errno values.
72008 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72010         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72011         CHAR_MAX.
72012         * string/test-strcmp.c [! WIDE]: Likewise.
72013         * time/tst-mktime2.c: Likewise for INT_MAX.
72014         * string/test-string.h: #include <sys/param.h> for MIN.
72016         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72017         * sysdeps/i386/init-first.c (init): Likewise.
72018         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72019         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72020         * sysdeps/sh/init-first.c (init): Likewise.
72022 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72024         * po/ru.po: Update from translation team.
72025         * po/vi.po: Likewise.
72027 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72029         * resolv/nss_dns/dns-host.c: Merge copyright years.
72031 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72033         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72034         Optimize memcpy with prefetch if
72035         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72036         src, dst pointers have unequal 16 byte alignments.
72038 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72040         [BZ #13928]
72041         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72042         from a CNAME entry and return the minimum ttl for the query.
72043         (gaih_getanswer_slice): Likewise.
72045 2012-03-30  Jeff Law  <law@redhat.com>
72047         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72048         due to long keys.
72049         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72050         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72052         * resolv/nss_dns/dns-host.c: Update copyright year.
72054 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72056         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72057         requests to save a system call.  Fix check that all bytes are sent.
72059         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72060         comments for sendmmsg.
72062 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72064         [BZ #13691]
72065         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72066         with only 1 character between 0x0041 and 0x01b0.
72067         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72068         * wcsmbs/tst-mbsnrtowcs.c: New file.
72070 2012-03-29  David S. Miller  <davem@davemloft.net>
72072         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72073         small copies by hand.
72075 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72077         [BZ #13761]
72078         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72079         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72080         group memberships.
72082 2012-03-28  David S. Miller  <davem@davemloft.net>
72084         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72085         that branches into memcpy.
72086         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72087         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72089         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72090         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72091         bits.
72092         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72093         implementation too.
72094         * sysdeps/sparc/mempcpy.S: New file.
72096         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72097         the IFUNC routine in the libc case.
72098         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72100         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72101         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72102         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72103         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72104         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72105         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72106         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72107         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72109         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72110         loop to 256 bytes instead of 64 bytes and fix test signedness.
72112         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72113         * sysdeps/sparc/sparc32/Makefile: rather than here...
72114         * sysdeps/sparc/sparc64/Makefile: and here.
72116 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72118         * malloc/mallocbug.c: Avoid warnings about unused variables.
72120 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72122         [BZ #13760]
72123         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72124         in the right place. Discard and retry query if response is
72125         larger than input buffer size.
72127 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72129         [BZ #369]
72130         [BZ #2678]
72131         [BZ #3866]
72132         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72133         x for large integer exponent.
72134         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72135         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72136         sign of result as needed afterwards.
72137         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72138         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72139         result for underflowing pow the same as for overflow.
72140         (__kernel_standard_l): Handle powl overflow and underflow here
72141         rather than calling __kernel_standard.
72142         * math/libm-test.inc (pow_test): Add more tests.
72144         [BZ #3868]
72145         [BZ #13879]
72146         [BZ #13910]
72147         [BZ #13911]
72148         [BZ #13912]
72149         [BZ #13913]
72150         [BZ #13915]
72151         [BZ #13916]
72152         [BZ #13917]
72153         [BZ #13918]
72154         [BZ #13919]
72155         [BZ #13920]
72156         [BZ #13921]
72157         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72158         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72159         (__kernel_standard_l): New function.
72160         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72161         __kernel_standard.
72162         * math/w_acosl.c (__acosl): Likewise.
72163         * math/w_asinl.c (__asinl): Likewise.
72164         * math/w_atan2l.c (__atan2l): Likewise.
72165         * math/w_atanhl.c (__atanhl): Likewise.
72166         * math/w_coshl.c (__coshl): Likewise.
72167         * math/w_exp10l.c (__exp10l): Likewise.
72168         * math/w_exp2l.c (__exp2l): Likewise.
72169         * math/w_fmodl.c (__fmodl): Likewise.
72170         * math/w_hypotl.c (__hypotl): Likewise.
72171         * math/w_j0l.c (__j0l, __y0l): Likewise.
72172         * math/w_j1l.c (__j1l, __y1l): Likewise.
72173         * math/w_jnl.c (__jnl, __ynl): Likewise.
72174         * math/w_lgammal.c (__lgammal): Likewise.
72175         * math/w_log10l.c (__log10l): Likewise.
72176         * math/w_log2l.c (__log2l): Likewise.
72177         * math/w_logl.c (__logl): Likewise.
72178         * math/w_powl.c (__powl): Likewise.
72179         * math/w_remainderl.c (__remainderl): Likewise.
72180         * math/w_scalbl.c (sysv_scalbl): Likewise.
72181         * math/w_sinhl.c (__sinhl): Likewise.
72182         * math/w_sqrtl.c (__sqrtl): Likewise.
72183         * math/w_tgammal.c (__tgammal): Likewise.
72184         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72185         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72186         * math/libm-test.inc (acos_test): Add more tests.
72187         (acosh_test): Likewise.
72188         (asin_test): Likewise.
72189         (atanh_test): Likewise.
72190         (exp_test): Likewise.
72191         (exp10_test): Likewise.
72192         (exp2_test): Likewise.
72193         (expm1_test): Likewise.
72194         (lgamma_test): Likewise.
72195         (log_test): Likewise.
72196         (log10_test): Likewise.
72197         (log1p_test): Likewise.
72198         (log2_test): Likewise.
72199         (pow_test): Do not allow some spurious overflow exceptions.
72200         (sqrt_test): Add more tests.
72201         (tgamma_test): Likewise.
72202         (y0_test): Likewise.
72203         (y1_test): Likewise.
72204         (yn_test): Likewise.
72206 2012-03-27  Anton Blanchard  <anton@samba.org>
72208         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72209         MAP_HUGETLB.
72210         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72211         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72212         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72214 2012-03-27  David S. Miller  <davem@davemloft.net>
72216         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72218         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72219         have-as-vis3 check.
72221 2012-03-27  Andreas Jaeger  <aj@suse.de>
72223         * sysdeps/x86_64/elf/configure.in: Moved to ...
72224         * sysdeps/x86_64/configure.in: ... here.
72225         * sysdeps/x86_64/elf/start.S: Moved to ...
72226         * sysdeps/x86_64/start.S: ... here.
72227         * sysdeps/x86_64/elf/configure: Delete.
72229         * sysdeps/x86_64/configure.in: Merge contents from
72230         sysdeps/i386/configure.in (without i686 check).
72232         * sysdeps/i386/elf/Versions: Merge into ...
72233         * sysdeps/i386/Versions: ... this.
72234         * sysdeps/i386/elf/Versions: Delete file.
72235         * sysdeps/i386/elf/start.S: Moved to ...
72236         * sysdeps/i386/start.S: ...here.
72237         * sysdeps/i386/elf/configure.in: Merge into...
72238         * sysdeps/i386/configure.in: ...here.
72239         * sysdeps/i386/elf/configure.in: Delete file.
72240         * sysdeps/i386/elf/configure: Delete file.
72242         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72243         * debug/backtracesyms.c: ... here.
72244         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72245         * debug/backtracesymsfd.c: ... here.
72246         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72247         * sysdeps/generic/ifunc-sel.h: ... here.
72249         * sysdeps/unix/i386/start.c: Delete file.
72250         * sysdeps/unix/sparc/start.c: Delete file.
72251         * sysdeps/unix/start.c: Delete file.
72253         * sysdeps/sh/elf/configure.in: Moved to ...
72254         * sysdeps/sh/configure.in: ... here.
72255         * sysdeps/sh/elf/start.S: Moved to ...
72256         * sysdeps/sh/start.S: ... here.
72257         * sysdeps/sh/elf/configure: Delete file.
72259         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72260         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72261         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72262         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72263         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72264         * sysdeps/powerpc/powerpc64/start.S: here.
72265         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72266         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72267         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72268         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72269         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72271         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72272         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72273         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72274         * sysdeps/powerpc/powerpc32/start.S: ... here.
72275         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72276         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72277         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72279         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72280         * sysdeps/powerpc/ifunc-sel.h: ... here.
72281         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72282         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72284         * sysdeps/sparc/elf/configure.in: Moved to ...
72285         * sysdeps/sparc/configure.in: ... here.
72286         * sysdeps/sparc/elf/configure: Delete file.
72287         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72288         * sysdeps/sparc/sparc32/start.S: ... here.
72289         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72290         * sysdeps/sparc/sparc64/start.S: ... here.
72291         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72292         * sysdeps/sparc/sparc32/Makefile: ... this.
72293         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72294         * sysdeps/sparc/sparc64/Makefile: ... this.
72296         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72297         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72298         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72299         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72300         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72301         * sysdeps/s390/s390-32/setjmp.S: ... here.
72302         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72303         * sysdeps/s390/s390-32/configure.in: ... here.
72304         * sysdeps/s390/s390-32/elf/configure: Delete file.
72305         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72306         * sysdeps/s390/s390-32/start.S: ... here.
72308         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72309         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72310         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72311         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72312         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72313         * sysdeps/s390/s390-64/setjmp.S: ... here.
72314         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72315         * sysdeps/s390/s390-64/configure.in: ... here
72316         * sysdeps/s390/s390-64/elf/configure: Delete file.
72317         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72318         * sysdeps/s390/s390-64/start.S: ... here.
72319         * sysdeps/s390/s390-64/elf/configure: Delete.
72321         * configure.in: Remove support for elf directories in sysdeps.
72323         * configure: Regenerated.
72324         * sysdeps/i386/configure: Regenerated.
72325         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72326         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72327         * sysdeps/s390/s390-32/configure: Regenerated.
72328         * sysdeps/s390/s390-64/configure: Regenerated.
72329         * sysdeps/sh/configure: Regenerated.
72330         * sysdeps/sparc/configure: Regenerated.
72331         * sysdeps/x86_64/configure: Regenerated.
72333 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72337         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72338         denormal result into account.
72340 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72342         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72343         Reported by Allan McRae <allan@archlinux.org>.
72345 2012-03-23  Jeff Law  <law@redhat.com>
72347         * nss/getnssent.c (__nss_getent): Fix typo.
72349 2012-03-23  David S. Miller  <davem@davemloft.net>
72351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72353 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72355         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72356         to pad to uint64_t for each field.
72357         (dl_tls_index): Replace unsigned long with uint64_t.
72359 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72360         Paul Pluzhnikov  <ppluzhnikov@google.com>
72362         [BZ #6528]
72363         * grp/Makefile (otherlibs): Don't set it.
72364         * inet/Makefile (otherlibs): Likewise.
72365         * login/Makefile (otherlibs): Likewise.
72366         * nscd/Makefile (otherlibs): Likewise.
72367         * posix/Makefile (otherlibs): Likewise.
72368         * pwd/Makefile (otherlibs): Likewise.
72369         * rt/Makefile (otherlibs): Likewise.
72370         * sunrpc/Makefile (otherlibs): Likewise.
72371         * nss/Makefile (otherlibs): Likewise.
72372         Add libnss_files to routines and static-only-routines.
72373         ($(objpfx)getent): Remove rule.
72374         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72375         static-only-routines.
72377 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72379         [BZ #13892]
72380         * math/s_cexp.c: Include <float.h>.
72381         (__cexp): Handle exp result overflowing not necessarily
72382         overflowing both real and imaginary parts of result.
72383         * math/s_cexpf.c: Likewise.
72384         * math/s_cexpl.c: Likewise.
72385         * math/libm-test.inc (cexp_test): Add more tests.
72386         * sysdeps/i386/fpu/libm-test-ulps: Update.
72387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72389 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72391         * include/link.h (ELFW): New macro.
72392         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72393         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72395 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72397         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72398         with uint64_t.
72400 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72402         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72403         declaration.
72404         (struct La_x32_retval): Likewise.
72406 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72408         * sysdeps/x86_64/preconfigure.in: New file.
72409         * sysdeps/x86_64/preconfigure: New generated file.
72411 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72413         [BZ #13824]
72414         * math/e_exp2l.c: Include <float.h>.
72415         (__ieee754_exp2l): Handle overflow and underflow cases
72416         separately.  Only pass fractional part of argument to
72417         __ieee754_expl.
72418         * math/libm-test.inc (exp2_test): Add more tests.
72420         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72421         negating x to take absolute value.
72422         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72423         Likewise.
72424         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72425         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72426         Likewise.
72427         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72428         computing low part if x was negated.
72429         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72431 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72433         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72434         la_x32_gnu_pltexit.
72435         (pltexit): Cast int_retval to ptrdiff_t.
72436         * elf/tst-auditmod3b.c: Likewise.
72437         * elf/tst-auditmod4b.c: Likewise.
72438         * elf/tst-auditmod5b.c: Likewise.
72439         * elf/tst-auditmod6b.c: Likewise.
72440         * elf/tst-auditmod6c.c: Likewise.
72441         * elf/tst-auditmod7b.c: Likewise.
72443         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72444         and x32_gnu_pltexit.
72446         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72447         __ELF_NATIVE_CLASS.
72448         (La_x32_regs): New macro.
72449         (La_x32_retval): Likewise.
72450         (la_x32_gnu_pltenter): New function prototype.
72451         (la_x32_gnu_pltexit): Likewise.
72453 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72455         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72456         exponent.
72458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72460         * configure.in (libc_cv_cc_nofma): Check for option to disable
72461         generation of FMA instructions.
72462         * configure: Regenerate.
72463         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72464         * sysdeps/ieee754/dbl-64/Makefile: New file.
72465         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72466         Remove brandred-fma4.
72467         (CFLAGS-brandred-fma4.c): Remove.
72468         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72469         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72470         define.
72471         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72472         define.
72474 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72476         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72477         LLONG_MAX != LONG_MAX.
72478         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72479         (_fitoa_word): Likewise.
72480         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72481         LLONG_MAX != LONG_MAX.
72482         * stdio-common/_itowa.h: Include <_itoa.h>.
72483         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72484         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72485         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72486         only if not defined.
72487         (_ITOA_WORD_TYPE): Likewise.
72488         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72489         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72491 2012-03-21  David S. Miller  <davem@davemloft.net>
72493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72495 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72497         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72498         of x86_64 when setting libc_cv_slibdir, libdir and
72499         libc_cv_localedir.
72500         * sysdeps/unix/sysv/linux/configure: Regenerated.
72502 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72504         * manual/lang.texi (Old Varargs): Remove section.
72505         (How Variadic): Update menu.
72506         (va_start): Do not mention varargs.h.
72508 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72509             Joseph Myers  <joseph@codesourcery.com>
72511         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72512         link test.
72513         * configure: Regenerated.
72515 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72517         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72518         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72519         conformtest.pl
72521 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72523         * NOTES: Remove.
72524         * Makefile (files-for-dist): Remove NOTES.
72525         (NOTES): Remove rule.
72526         * README: Don't refer to NOTES.
72527         * manual/creature.texi: Don't include macros.texi.
72528         * manual/intro.texi (creature.texi): Remove comment referring to
72529         NOTES.
72531         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72532         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72533         * configure: Regenerated.
72534         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72535         LIBC_TRY_CC_OPTION.
72536         (libc_cv_as_i686): Likewise.
72537         (libc_cv_cc_avx): Likewise.
72538         (libc_cv_cc_sse2avx): Likewise.
72539         (libc_cv_cc_fma4): Likewise.
72540         (libc_cv_cc_novzeroupper): Likewise.
72541         * sysdeps/i386/configure: Regenerated.
72543         [BZ #13883]
72544         * sysdeps/i386/fpu/s_cexp.S: Remove.
72545         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72546         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72547         * math/libm-test.inc (cexp_test): Add more tests.
72548         * sysdeps/i386/fpu/libm-test-ulps: Update.
72549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72551 2012-03-21  Allan McRae  <allan@archlinux.org>
72553         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72555 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72557         [BZ #13871]
72558         * math/w_exp2.c: Do not include <float.h>.
72559         (o_threshold, u_threshold): Remove.
72560         (__exp2): Calculate result before checking finiteness and calling
72561         __kernel_standard.
72562         * math/w_exp2f.c: Likewise.
72563         * math/w_exp2l.c: Likewise.
72564         * math/libm-test.inc (exp2_test): Require overflow exception for
72565         1e6 input.
72567         [BZ #3866]
72568         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72569         range of signed 64-bit integers before using fistpll.  Remove
72570         checks for whether integers fit in mantissa bits.
72571         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72572         the range of signed 32-bit integers before using fistpl.  Remove
72573         checks for whether integers fit in mantissa bits.
72574         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72575         (__ieee754_powl): Test for y outside the range of signed 64-bit
72576         integers before using fistpll.  Reduce 64-bit values to 63-bit
72577         ones as needed.
72578         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72579         divide-by-zero is raised for zero to large negative powers.
72580         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72581         (__ieee754_powl): Test for y outside the range of signed 64-bit
72582         integers before using fistpll.  Reduce 64-bit values to 63-bit
72583         ones as needed.
72584         * math/libm-test.inc (pow_test): Add more tests.
72586 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72588         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72589         <stdio-common/_itoa.h>.
72590         * debug/segfault.c: Likewise.
72591         * elf/dl-cache.c: Likewise.
72592         * elf/dl-minimal.c: Likewise.
72593         * elf/dl-misc.c: Likewise.
72594         * elf/dl-sysdep.c: Likewise.
72595         * elf/dl-version.c: Likewise.
72596         * elf/rtld.c: Likewise.
72597         * hurd/hurdsock.c: Likewise.
72598         * hurd/lookup-retry.c: Likewise.
72599         * malloc/malloc.c: Likewise.
72600         * malloc/mtrace.c: Likewise.
72601         * nscd/nscd_getgr_r.c: Likewise.
72602         * nscd/nscd_getpw_r.c: Likewise.
72603         * nscd/nscd_getserv_r.c: Likewise.
72604         * posix/getopt_init.c: Likewise.
72605         * posix/wordexp.c: Likewise.
72606         * stdio-common/_itoa.c: Likewise.
72607         * stdio-common/printf_fphex.c: Likewise.
72608         * stdio-common/vfprintf.c: Likewise.
72609         * string/_strerror.c: Likewise.
72610         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72611         * sysdeps/i386/i686/hp-timing.h: Likewise.
72612         * sysdeps/mach/_strerror.c: Likewise.
72613         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72614         * sysdeps/mach/hurd/sethostid.c: Likewise.
72615         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72616         * sysdeps/mach/xpg-strerror.c: Likewise.
72617         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72618         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72619         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72620         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72621         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72622         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72623         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72624         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72625         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72626         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72627         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72628         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72629         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72630         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72631         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72632         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72633         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72634         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72635         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72636         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72637         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72639         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72641         * stdio-common/_itoa.h: Moved to ...
72642         * sysdeps/generic/_itoa.h: Here.
72644         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72646         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72647         instead of "_itoa.h" and "_itowa.h".
72648         * stdio-common/vfprintf.: Likewise.
72650 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72652         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72653         <bits/wordsize.h>.
72654         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72655         (__signbit): Likwise.
72656         (llrintf): Likwise.
72657         (llrint): Likwise.
72659 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72661         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72662         __WORDSIZE != 64.
72664 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72666         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72667         OVERFLOW_EXCEPTION_OK.
72668         * math/libm-test.inc ("Philosophy"): Update comment about
72669         exception testing.
72670         (OVERFLOW_EXCEPTION): Define.
72671         (OVERFLOW_EXCEPTION_OK): Likewise.
72672         (INVALID_EXCEPTION_OK): Renumber.
72673         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72674         (IGNORE_ZERO_INF_SIGN): Likewise.
72675         (test_exceptions): Handle FE_OVERFLOW.
72676         (exp10_test): Expect overflow exceptions.
72677         (exp2_test): Likewise.
72678         (expm1_test): Likewise.
72679         (nextafter_test): Likewise.
72680         (pow_test): Likewise.
72681         (scalbn_test): Likewise.
72682         (scalbln_test): Likewise.
72684 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72686         * sysdeps/x86_64/bits/atomic.h
72687         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72688         64bit integer.
72689         (atomic_exchange_acq): Likewise.
72690         (__arch_exchange_and_add_body): Likewise.
72691         (__arch_add_body): Likewise.
72692         (atomic_add_negative): Likewise.
72693         (atomic_add_zero): Likewise.
72695 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72697         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72698         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72702         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72703         Check __x86_64__ instead of __WORDSIZE.
72705 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72707         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72709 2012-03-19  David S. Miller  <davem@davemloft.net>
72711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72713         * sysdeps/sparc/fpu/fenv_private.h: New file.
72714         * sysdeps/sparc/fpu/math_private.h: Use it.
72715         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72716         Remove.
72717         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72718         (libc_feholdexcept_setroundl): Remove.
72719         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72720         Remove.
72721         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72722         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72724 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72726         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72727         int64_t instead of long int.
72728         (INSERT_WORDS64): Likwise.
72730 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72732         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72733         _Unwind_GetCFA return to _Unwind_Ptr first.
72735 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72737         [BZ #13629]
72738         * math/s_clog.c: Include <float.h>.
72739         (__clog): Scale large or subnormal inputs.
72740         * math/s_clogf.c: Likewise.
72741         * math/s_clogl.c: Likewise.
72742         * math/s_clog10.c: Include <float.h>.
72743         (M_LOG10_2): Define.
72744         (__clog10): Scale large or subnormal inputs.
72745         * math/s_clog10f.c: Likewise.
72746         * math/s_clog10l.c: Likewise.
72747         * math/libm-test.inc (clog_test): Add more tests.
72748         (clog10_test): Likewise.
72749         * sysdeps/i386/fpu/libm-test-ulps: Update.
72750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72752         [BZ #11451]
72753         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72754         x and y.
72755         * math/libm-test.inc (atan2_test): Add another test.
72757         * Makerules (common-objdir-compile): Remove.
72758         * sysdeps/unix/Makefile (config-generated): Do not add
72759         $(unix-generated) to variable.
72760         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72761         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72762         Remove rule.
72763         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72764         Likewise.
72765         [generic bits/local_lim.h] (before-compile): Do not append to
72766         variable.
72767         [generic bits/local_lim.h] (common-generated): Likewise.
72768         [generic sys/param.h] (before-compile): Do not append to variable.
72769         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72770         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72771         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72772         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72773         include.
72774         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72775         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72776         [generic sys/param.h] ($(addprefix
72777         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72778         [generic sys/param.h] (common-generated): Do not append to
72779         variable.
72780         [generic sys/param.h] (sysdep_headers): Likewise.
72781         [generic bits/errno.h] (before-compile): Do not append to
72782         variable.
72783         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72784         rule.
72785         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72786         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72787         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72788         [generic bits/errno.h] (common-generated): Do not append to
72789         variable.
72790         [generic bits/ioctls.h] (before-compile): Do not append to
72791         variable.
72792         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72793         rule.
72794         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72795         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72796         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72797         rule.
72798         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
72799         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
72800         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
72801         [generic bits/ioctls.h] (common-generated): Do not append to
72802         variable.
72803         [generic sys/syscall.h] (syscall.h): Remove variable.
72804         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
72805         rule.
72806         [generic sys/syscall.h] (before-compile): Do not append to
72807         variable.
72808         [generic sys/syscall.h] (common-generated): Likewise.
72809         * sysdeps/unix/errnos-tmpl.c: Remove file.
72810         * sysdeps/unix/errnos.awk: Likewise.
72811         * sysdeps/unix/ioctls-tmpl.c: Likewise.
72812         * sysdeps/unix/ioctls.awk: Likewise.
72813         * sysdeps/unix/mk-local_lim.c: Likewise.
72814         * sysdeps/unix/snarf-ioctls: Likewise.
72816 2012-03-19  Richard Henderson  <rth@twiddle.net>
72818         * sysdeps/i386/fpu/fenv_private.h: New file.
72819         * sysdeps/i386/fpu/math_private.h: Use it.
72820         (math_opt_barrier, math_force_eval): Remove.
72821         (libc_feholdexcept_setround_53bit): Remove.
72822         (libc_feupdateenv_53bit): Remove.
72823         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72824         (math_opt_barrier, math_force_eval): Remove.
72825         (libc_feholdexcept): Remove.
72826         (libc_feholdexcept_setround): Remove.
72827         (libc_fetestexcept, libc_fesetenv): Remove.
72828         (libc_feupdateenv_test): Remove.
72829         (libc_feupdateenv, libc_feholdsetround): Remove.
72830         (libc_feresetround): Remove.
72832         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
72833         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
72835         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
72836         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
72837         (libc_feupdateenv_testl): New.
72838         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
72839         (libc_feupdateenv_testf): New.
72840         (libc_feupdateenv): Use libc_feupdateenv_test.
72841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
72842         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
72844         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
72845         (libc_feholdsetroundf, libc_feholdsetroundl): New.
72846         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
72847         (libc_feresetround_noex): New.
72848         (libc_feresetround_noexf): New.
72849         (libc_feresetround_noexl): New.
72850         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
72851         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
72852         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
72853         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
72854         SET_RESTORE_ROUND.
72855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
72856         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
72857         (__cos): Likewise.
72858         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
72859         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
72860         SET_RESTORE_ROUND_NOEX.
72861         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
72862         SET_RESTORE_ROUND_NOEXF.
72863         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
72864         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
72865         (libc_feholdsetroundf): New.
72866         (libc_feresetround, libc_feresetroundf): New.
72868         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
72869         (libc_feholdexcept_setround_53bit): Convert from macro to function.
72870         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
72872         * sysdeps/generic/math_private.h: Include <fenv.h>.
72873         (default_libc_feholdexcept): New.
72874         (default_libc_feholdexcept_setround): New.
72875         (default_libc_fesetenv, default_libc_feupdateenv): New.
72876         (libc_feholdexcept): Only define if undefined.
72877         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
72878         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
72879         (libc_feholdexcept_setroundl): Likewise.
72880         (libc_feholdexcept_setround_53bit): Likewise.
72881         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
72882         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
72883         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
72884         (libc_feupdateenv_53bit): Likewise.
72885         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
72886         (libc_feholdexcept): Convert from macro to inline function.
72887         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
72888         (libc_fesetenv, libc_feupdateenv): Likewise.
72890         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
72891         not previously defined.
72892         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
72893         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
72894         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
72895         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
72896         * sysdeps/ieee754/flt-32/math_private.h: New file.
72897         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
72898         math_private.h below SET_FLOAT_WORD.
72899         (__isnan, __isinf_ns, __finite): Remove.
72900         (__isnanf, __isinf_nsf, __finitef): Remove.
72902 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
72904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72906 2012-03-17  David S. Miller  <davem@davemloft.net>
72908         [BZ #6471]
72909         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
72910         for 2.16.
72912 2012-03-16  David S. Miller  <davem@davemloft.net>
72914         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
72915         warnings.
72917         [BZ #6471]
72918         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
72919         properly.
72920         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
72921         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
72922         sysdep_routines when subdir is sysvipc.
72923         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
72924         __getshmlba helper.
72926         * sysdeps/sparc/fpu/libm-test/ulps: Update.
72928 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72930         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
72931         [__LP64__].
72933 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72935         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
72936         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72937         (__lround): Renamed to ...
72938         (__llround): This.  Replace long int with long long int.
72939         Define lround functions as aliases of llround functions.
72940         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
72942 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72944         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
72945         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
72946         adresses to uintptr_t.  Replace "long int" and "unsigned long
72947         int" with "greg_t" on va_arg.
72949 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72951         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
72952         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
72954         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
72955         Move e_machine check before EI_CLASS check.  Handle x32
72956         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
72957         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
72958         SKIP_EM_IA_64 and include
72959         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
72961         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
72962         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
72963         (add_system_dir): New macro.
72965         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
72966         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
72968 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72970         [BZ #2551]
72971         [BZ #2552]
72972         [BZ #2553]
72973         [BZ #2554]
72974         [BZ #2562]
72975         [BZ #2563]
72976         [BZ #2565]
72977         [BZ #2566]
72978         [BZ #2576]
72979         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72980         (y0): Likewise.
72981         * math/w_j0f.c (j0f): Likewise.
72982         (y0f): Likewise.
72983         * math/w_j0l.c (__j0l): Likewise.
72984         (__y0l): Likewise.
72985         * math/w_j1.c (j1): Likewise.
72986         (y1): Likewise.
72987         * math/w_j1f.c (j1f): Likewise.
72988         (y1f): Likewise.
72989         * math/w_j1l.c (__j1l): Likewise.
72990         (__y1l): Likewise.
72991         * math/w_jn.c (jn): Likewise.
72992         (yn): Likewise.
72993         * math/w_jnf.c (jnf): Likewise.
72994         (ynf): Likewise.
72995         * math/w_jnl.c (__jnl): Likewise.
72996         (__ynl): Likewise.
72997         * math/libm-test.inc (j0_test): Add more tests.
72998         (j1_test): Likewise.
72999         (jn_test): Likewise.  Add trailing semicolon to existing test.
73000         (y0_test): Likewise.
73001         (y1_test): Likewise.
73002         * sysdeps/i386/fpu/libm-test-ulps: Update.
73003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73005         [BZ #13851]
73006         [BZ #13854]
73007         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73008         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73009         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73010         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73011         (__tanl): Set errno for infinite argument.
73012         * sysdeps/i386/fpu/mptan.c: Remove.
73013         * sysdeps/i386/fpu/s_tan.S: Likewise.
73014         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73015         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73016         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73017         * math/libm-test.inc (tan_test): Add more tests and enable more
73018         tests for double and long double.
73019         * sysdeps/i386/fpu/libm-test-ulps: Update.
73020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73022 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73024         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73025         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73027 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73029         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73030         * configure.in: Use it for both main tree and add-ons.
73031         * configure: Regenerated.
73033 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73035         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73037 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73039         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73040         in comment.
73042         [BZ #13851]
73043         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73044         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73045         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73046         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73047         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73048         infinite argument.
73049         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73050         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73051         != 0 for prec == 2.
73052         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73053         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73054         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73055         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73056         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73057         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73058         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73059         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73060         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73061         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73062         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73063         * math/libm-test.inc (cos_test): Add more tests and enable more
73064         tests for long double.
73065         (sin_test): Likewise.
73066         (sincos_test): Likewise.
73067         * sysdeps/i386/fpu/libm-test-ulps: Update.
73068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73070 2012-03-16  David S. Miller  <davem@davemloft.net>
73072         * sysdeps/sparc/fpu/math_private.h: New file.
73074 2012-03-15  David S. Miller  <davem@davemloft.net>
73076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73077         file.
73078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73080         file.
73081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73083         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73084         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73085         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73086         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73087         sysdep routines.
73088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73090         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73091         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73093         * sysdeps/sparc/sparc-ifunc.h: New file.
73094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73095         sparc-ifunc.h
73096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73098         Likewise.
73099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73100         Likewise.
73101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73105         Likewise.
73106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73111         Likewise.
73112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73113         Likewise.
73114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73118         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73119         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73120         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73121         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73128         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73132         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73133         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73134         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73135         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73136         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73137         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73139 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73141         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73142         scaling.
73143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73145 2012-03-15  Andreas Jaeger  <aj@suse.de>
73147         [BZ #13852]
73148         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73149         ieee754/flt-32 implementation for sin, cos and sincos.
73150         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73151         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73152         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73153         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73154         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73155         ieee754/flt-32 implementation for tan.
73157         * math/libm-test.inc (cos_test): Enable some large input tests for
73158         float as well
73159         (sin_test): Likewise.
73160         (sincos_test): Likewise.
73161         (tan_test): Add tests for large input.
73163         * sysdeps/i386/fpu/libm-test-ulps: Update.
73165 2012-03-15  Andreas Jaeger  <aj@suse.de>
73167         [BZ #13658]
73168         * math/libm-test.inc (cos_test): Add more test cases.
73169         (sin_test): Likewise.
73170         (sincos_test): Likewise.
73172 2012-03-15  Andreas Jaeger  <aj@suse.de>
73174         [BZ #13837]
73175         * math/libm-test.inc (cos_test): Add a test case for large input
73176         value.
73177         (sin_test): Likewise.
73178         (sincos_test): Likewise.
73180 2012-03-15  Andreas Jaeger  <aj@suse.de>
73181             Joseph Myers  <joseph@codesourcery.com>
73183         [BZ #13658]
73184         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73185         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73186         * sysdeps/i386/fpu/branred.c: Likewise.
73187         * sysdeps/i386/fpu/dosincos.c: Likewise.
73188         * sysdeps/i386/fpu/mpa.c: Likewise.
73189         * sysdeps/i386/fpu/s_cos.S: Likewise.
73190         * sysdeps/i386/fpu/s_sin.S: Likewise.
73191         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73192         * sysdeps/i386/fpu/sincos32.c: Likewise.
73194         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73195         Define.
73196         (libc_feupdateenv_53bit): Define.
73197         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73198         Define.
73199         (libc_feupdateenv_53bit): Define.
73201         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73202         53 bit (without extend i386 double precision).
73204         * math/libm-test.inc (sincos_test): Add tests for large input.
73205         (sin): Likewise.
73206         (cos): Likewise.
73208         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73210 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73214 2012-03-15  David S. Miller  <davem@davemloft.net>
73216         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73217         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73218         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73219         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73232         file.
73233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73235         file.
73236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73238         file.
73239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73241         file.
73242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73244         fmin/fmax sysdep routines.
73245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73247 2012-03-14  David S. Miller  <davem@davemloft.net>
73249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73252         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73253         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73254         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73255         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73256         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73261         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73262         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73263         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73264         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73269         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73270         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73271         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73272         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73273         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73274         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73275         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73276         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73278         routines.
73279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73280         file.
73281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73283         file.
73284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73286         file.
73287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73289         file.
73290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73292         file.
73293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73295         file.
73296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73297         file.
73298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73299         file.
73300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73301         file.
73302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73303         New file.
73304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73305         file.
73306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73307         file.
73308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73310         file.
73311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73313         file.
73314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73316         file.
73317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73319         VIS3 routines.
73321         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73322         New file.
73324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73326         * sysdeps/sparc/configure.in: New file.
73327         * sysdeps/sparc/configure: Generate.
73328         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73329         * configure: Regenerate.
73330         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73331         * config.make.in (have-as-vis3): New.
73332         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73333         available use -Av9d instead of -Av9a.
73334         * sysdeps/sparc/sparc64/Makefile: Likewise.
73335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73337         New file.
73338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73339         file.
73340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73341         New file.
73342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73343         file.
73344         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73345         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73346         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73347         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73348         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73350         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73351         fzeros/fnegs to load 0x80000000 into a float register instead of
73352         using the stack.
73353         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73355 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73357         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73358         bits/syscall.h.
73359         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73360         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73361         ($(inst_includedir)/bits/syscall.h): Remove rule.
73362         ($(objpfx)bits/syscall.d): Include instead of
73363         $(objpfx)syscall-list.d.
73364         (generated): Change syscall-list.h and syscall-list.d to
73365         bits/syscall.h and bits/syscall.d.
73367 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73369         [BZ #13846]
73370         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73372 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73374         [BZ #13841]
73375         * math/s_csqrt.c: Include <float.h>.
73376         (__csqrt): Scale large or subnormal inputs.
73377         * math/s_csqrtf.c: Likewise.
73378         * math/s_csqrtl.c: Likewise.
73379         * math/libm-test.inc (csqrt_test): Add more tests.
73380         * sysdeps/i386/fpu/libm-test-ulps: Update.
73381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73383         [BZ #13840]
73384         * math/libm-test.inc (hypot_test): Add more tests.
73386 2012-03-13  David S. Miller  <davem@davemloft.net>
73388         [BZ #13840]
73389         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73390         double-precision for the calculation instead of scaling.
73392 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73394         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73395         manipulate bits before adding and subtracting TWO52[sx].
73396         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73397         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73398         Likewise.
73399         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73401 2012-03-13  David S. Miller  <davem@davemloft.net>
73403         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73404         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73405         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73406         rtld-global-offsets.h
73407         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73409         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73410         large parameters.
73412         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73414         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73415         'err' in the ifdef scope in which it is actually used.
73417         * nss/nss_db/db-init.c: Include string.h
73419 2012-03-12  David S. Miller  <davem@davemloft.net>
73421         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73422         masking out of the most significant byte of random value used.
73423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73424         Fix coding style in previous change.
73426         * sysdeps/unix/sysv/linux/kernel-features.h
73427         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73428         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73429         expression.
73430         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73431         later.
73433 2012-03-11  David S. Miller  <davem@davemloft.net>
73435         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73436         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73437         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73438         for 'resultvar' otherwise things get truncated on 64-bit.
73440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73441         Fix masking out of the most significant byte of random value used.
73443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73445 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73449 2012-03-09  David S. Miller  <davem@davemloft.net>
73451         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73452         variables with appropriate CPP guards.
73453         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73454         from the frame pointer, not the stack pointer.  Correct layout
73455         comments.  Fix test on resulting framesize and the management of
73456         the outregs buffer for pltexit.  Preserve floating point return
73457         values across _dl_call_pltexit call.
73458         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73459         framesize and the management of the outregs buffer for pltexit.
73460         Preserve floating point return values across _dl_call_pltexit
73461         call.
73462         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73463         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73464         (la_sparc64_gnu_pltexit): New functions.
73465         (print_exit): Fix format string for return register value.
73467 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73469         * sunrpc/Makefile (others): Add rpcgen.
73470         ($(objpfx)rpcgen): Remove special build rule and dependency on
73471         libc.
73472         * sunrpc/rpcgen.c: New file.
73474 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73476         [BZ #13673]
73477         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73478         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73479         * sysdeps/i386/crti.S: Likewise.
73480         * sysdeps/i386/crtn.S: Likewise.
73481         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73482         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73483         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73484         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73485         * sysdeps/sh/crti.S: Likewise.
73486         * sysdeps/sh/crtn.S: Likewise.
73487         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73489         [BZ #13673]
73490         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73491         with URL.
73492         * locale/programs/locfile-kw.gperf: Likewise.
73493         * locale/programs/charmap-kw.h: Regenerated.
73494         * locale/programs/locfile-kw.h: Likewise.
73496         [BZ #13673]
73497         * intl/plural.y: Replace FSF snail mail address with URL.
73498         * intl/plural.c: Regenerated.
73500 2012-03-09  Richard Henderson  <rth@twiddle.net>
73502         * include/math_private.h: Remove file.
73503         * math/math_private.h: Move file ...
73504         * sysdeps/generic/math_private.h: ... here.
73506         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73507         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73508         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73510         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73511         and <math_private.h>.
73512         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73513         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73514         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73515         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73516         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73517         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73518         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73519         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73520         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73521         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73522         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73523         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73524         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73525         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73526         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73527         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73528         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73529         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73530         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73531         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73532         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73533         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73534         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73535         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73536         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73537         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73538         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73539         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73540         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73541         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73542         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73543         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73544         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73545         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73546         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73547         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73548         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73549         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73550         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73551         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73552         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73553         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73554         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73555         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73556         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73557         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73558         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73559         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73560         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73561         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73562         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73563         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73564         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73565         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73566         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73567         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73568         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73569         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73570         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73571         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73572         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73573         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73575         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73576         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73577         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73578         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73579         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73580         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73581         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73582         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73583         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73584         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73585         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73586         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73587         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73588         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73589         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73590         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73591         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73592         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73593         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73594         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73595         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73596         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73597         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73598         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73599         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73600         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73601         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73602         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73603         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73604         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73605         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73606         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73607         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73608         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73609         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73610         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73611         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73612         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73613         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73614         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73615         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73616         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73617         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73618         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73619         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73620         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73621         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73622         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73623         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73624         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73625         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73626         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73627         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73628         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73629         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73630         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73631         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73632         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73633         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73634         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73635         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73636         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73637         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73638         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73639         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73640         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73641         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73642         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73643         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73644         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73645         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73646         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73647         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73648         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73649         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73650         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73651         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73652         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73653         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73654         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73655         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73656         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73657         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73658         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73659         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73660         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73661         * sysdeps/ieee754/k_standard.c: Likewise.
73662         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73663         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73664         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73665         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73666         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73667         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73668         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73669         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73670         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73671         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73672         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73673         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73674         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73675         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73676         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73677         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73678         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73679         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73680         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73681         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73682         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73683         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73684         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73685         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73686         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73687         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73688         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73689         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73690         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73691         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73692         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73693         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73694         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73695         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73696         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73697         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73698         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73699         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73700         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73701         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73702         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73703         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73704         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73705         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73706         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73707         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73708         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73709         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73710         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73711         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73712         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73713         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73714         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73715         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73716         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73717         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73718         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73719         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73720         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73721         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73722         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73723         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73724         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73725         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73727         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73728         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73729         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73730         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73731         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73732         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73733         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73734         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73735         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73736         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73737         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73738         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73739         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73740         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73741         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73742         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73743         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73744         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73745         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73746         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73747         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73748         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73749         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73750         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73751         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73752         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73753         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73754         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73755         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73756         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73757         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73758         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73759         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73760         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73761         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73762         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73763         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73764         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73765         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73766         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73767         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73768         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73769         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73770         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73771         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73772         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73773         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73774         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73775         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73776         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73777         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73778         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73779         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73780         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73781         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73782         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73783         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73784         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73785         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73786         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73787         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73788         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73789         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73790         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73791         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73792         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73793         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73794         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73795         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73796         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73797         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73798         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
73799         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
73800         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73801         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
73802         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
73803         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73804         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
73805         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
73806         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73807         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73808         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73809         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73810         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73811         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
73812         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73813         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73814         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73815         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73816         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
73817         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
73818         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73819         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73820         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73821         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
73822         * sysdeps/ieee754/s_lib_version.c: Likewise.
73823         * sysdeps/ieee754/s_matherr.c: Likewise.
73824         * sysdeps/ieee754/s_signgam.c: Likewise.
73825         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73826         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73827         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
73828         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
73829         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
73830         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73831         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
73832         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
73833         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
73834         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
73835         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
73836         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
73837         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73838         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73839         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
73840         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73841         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73842         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73843         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73844         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73845         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73847 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73849         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
73850         * sunrpc/rpc_main.c: Likewise.
73851         * sunrpc/rpc_svcout.c: Likewise.
73853 2012-03-09  David S. Miller  <davem@davemloft.net>
73855         * include/math_private.h: New file.
73857 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73859         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
73860         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
73861         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
73862         from <bits/socket_type.h>.
73863         (enum __socket_type): Don't define here.
73864         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
73865         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73866         bits/socket_type.h.
73868         [BZ #13566]
73869         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
73870         checking __USE_GNU.
73872         * Makerules ($(inst_includedir)/%.h): New rule.
73873         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
73874         (install-others): Remove variable setting.
73875         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
73877 2012-03-08  Richard Henderson  <rth@twiddle.net>
73879         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
73880         from macro to inline function; merge with the
73881         !__LIBC_INTERNAL_MATH_INLINES version.
73882         (__ieee754_sqrtf): Likewise.
73884         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
73885         to inline function.
73886         (__rintf, __floor, __floorf): Likewise.
73888         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
73889         macro to inline function.
73890         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
73892         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
73893         not <math/math_private.h>.
73895 2012-03-08  David S. Miller  <davem@davemloft.net>
73897         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
73898         copyright year.
73899         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
73901 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
73903         * resolv/gai_misc.c (handle_requests): Fix struct timespec
73904         normalization.
73905         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
73906         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
73908 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
73910         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
73911         be defined individually, they must be defined as a block.  Define
73912         S for printing a string instead of hidint the different by using a
73913         macro for adding the 'l'.
73914         * stdio-common/tst-fphex-wide.c: Adjust.
73916 2012-03-07  Marek Polacek  <polacek@redhat.com>
73918         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73920 2012-03-08  Marek Polacek  <polacek@redhat.com>
73922         [BZ #13806]
73923         * stdio-common/Makefile (tests): Add tst-fphex-wide.
73924         * stdio-common/tst-fphex.c: Define a few macros to make the
73925         test reusable.  Use them.
73926         * stdio-common/tst-fphex-wide.c: New file.
73928 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
73930         [BZ #6911]
73931         * manual/macros.texi (gnusystems): New macro.
73932         (nongnusystems): Likewise.
73933         (gnulinuxhurdsystems): Likewise.
73934         (gnuhurdsystems): Likewise..
73935         (gnulinuxsystems): Likewise.
73936         * manual/charset.texi: Use new macros or @theglibc{} to refer to
73937         variants of the GNU system, not "GNU system".
73938         * manual/conf.texi: Likewise.
73939         * manual/errno.texi: Likewise.  Update example of errno macro
73940         expansion.
73941         * manual/filesys.texi: Likewise.
73942         (getumask): Document as specific to GNU/Hurd.
73943         * manual/install.texi: Likewise.  Reword some references to
73944         GNU/Linux.
73945         * manual/intro.texi: Likewise.
73946         * manual/io.texi: Likewise.
73947         (File Name Portability): Detail which constraints are inapplicable
73948         to all GNU systems and which are only inapplicable to GNU/Hurd.
73949         * manual/job.texi: Likewise.
73950         * manual/llio.texi: Likewise.
73951         (O_NOCTTY): Document as present on GNU/Linux.
73952         * manual/maint.texi: Likewise.
73953         * manual/memory.texi: Likewise.
73954         * manual/pattern.texi: Likewise.
73955         * manual/pipe.texi: Likewise.
73956         * manual/process.texi: Likewise.
73957         * manual/resource.texi: Likewise.
73958         (RUSAGE_CHILDREN): Remove statement about specifying a particular
73959         child on GNU/Hurd.
73960         * manual/setjmp.texi: Likewise.
73961         * manual/signal.texi: Likewise.
73962         * manual/startup.texi: Likewise.
73963         * manual/stdio.texi: Likewise.
73964         * manual/terminal.texi: Likewise.
73965         (ONLCR): Document as POSIX.
73966         (OXTABS): Document availability on GNU/Linux as XTABS.
73967         (ONOEOT): Document availability separately from other bits.
73968         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
73969         * manual/time.texi: Likewise.
73970         * manual/users.texi: Likewise.
73971         * INSTALL: Regenerated.
73972         * sysdeps/gnu/errlist.c: Regenerated.
73974         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
73975         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
73976         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
73977         puts.
73978         * configure: Regenerated.
73980 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
73982         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73983         default includes instead of AC_HEADER_CHECK.
73984         * sysdeps/i386/configure: Regenerated.
73986         [BZ #10716]
73987         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73988         * math/s_cacoshf.c (__cacoshf): Likewise.
73989         * math/s_cacoshl.c (__cacoshl): Likewise.
73990         * math/s_casinh.c (__casinh): Set signs of result from argument.
73991         * math/s_casinhf.c (__casinhf): Likewise.
73992         * math/s_casinhl.c (__casinhl): Likewise.
73993         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73994         (casinh_test): Add more tests.
73995         * sysdeps/i386/fpu/libm-test-ulps: Update.
73996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73998 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74000         * po/zh_TW.po: Update from translation team.
74002         * login/Makefile (distribute): Remove variable.
74003         * catgets/Makefile: Likewise.
74004         * mach/Makefile: Likewise.
74005         * malloc/Makefile: Likewise.
74006         * misc/Makefile: Likewise.
74007         * iconv/Makefile: Likewise.
74008         * nscd/Makefile: Likewise.
74009         * hurd/Makefile: Likewise.
74010         * manual/Makefile: Likewise.
74011         * locale/Makefile: Likewise.
74012         * intl/Makefile: Likewise.
74013         * conform/Makefile: Likewise.
74014         * nss/Makefile: Likewise.
74015         * time/Makefile: Likewise.
74016         * soft-fp/Makefile: Likewise.
74017         * dirent/Makefile: Likewise.
74018         * gmon/Makefile: Likewise.
74019         * po/Makefile: Likewise.
74020         * rt/Makefile: Likewise.
74021         * socket/Makefile: Likewise.
74022         * math/Makefile: Likewise.
74023         * signal/Makefile: Likewise.
74024         * debug/Makefile: Likewise.
74025         * elf/Makefile: Likewise.
74026         * timezone/Makefile: Likewise.
74027         * stdlib/Makefile: Likewise.
74028         * iconvdata/Makefile: Likewise.
74029         * sunrpc/Makefile: Likewise.
74030         * io/Makefile: Likewise.
74031         * argp/Makefile: Likewise.
74032         * inet/Makefile: Likewise.
74033         * hesiod/Makefile: Likewise.
74034         * grp/Makefile: Likewise.
74035         * csu/Makefile: Likewise.
74036         * wctype/Makefile: Likewise.
74037         * crypt/Makefile: Likewise.
74038         * libio/Makefile: Likewise.
74039         * string/Makefile: Likewise.
74040         * nis/Makefile: Likewise.
74041         * resolv/Makefile: Likewise.
74042         * stdio-common/Makefile: Likewise.
74043         * wcsmbs/Makefile: Likewise.
74044         * dlfcn/Makefile: Likewise.
74045         * posix/Makefile: Likewise.
74047         [BZ #6959]
74048         * timezone/Makefile: Don't install timezone files, just the programs
74049         and scripts.
74051 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74053         * nss/databases.def: Add missing gshadow entry.
74055         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74057 2012-03-06  Marek Polacek  <polacek@redhat.com>
74059         [BZ #13726]
74060         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74061         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74062         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74063         * stdio-common/tst-long-dbl-fphex.c: New file.
74065 2012-03-06  David S. Miller  <davem@davemloft.net>
74067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74068         (set_obp_int): New function.
74069         (get_obp_int): New function.
74070         (__get_clockfreq_via_dev_openprom): Likewise.
74071         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74072         Avoid unused variable warnings on 'val' and use builtin_expect.
74073         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74074         __builtin_expect.
74075         (INLINE_CLONE_SYSCALL): Likewise.
74077 2012-03-05  David S. Miller  <davem@davemloft.net>
74079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74081 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74085         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74086         only for |x| >= 40.
74087         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74089 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74091         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74092         Replace gettimeofday with __vdso_gettimeofday.
74094         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74095         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74096         __vdso_clock_gettime and __vdso_getcpu.
74098         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74099         time with __vdso_time.
74101 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74103         * manual/lang.texi (size_t): Note types to which size_t may be
74104         equivalent with the GNU C Library, but do not describe when
74105         differences between them are significant.
74107 2012-03-05  Andreas Jaeger  <aj@suse.de>
74109         * sysdeps/i386/fpu/libm-test-ulps: Update.
74111 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74113         [BZ #3976]
74114         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74115         (__ieee754_pow): Save and restore rounding mode and use
74116         round-to-nearest for main computations.
74117         * math/libm-test.inc (pow_test_tonearest): New function.
74118         (pow_test_towardzero): Likewise.
74119         (pow_test_downward): Likewise.
74120         (pow_test_upward): Likewise.
74121         (main): Call the new functions.
74122         * sysdeps/i386/fpu/libm-test-ulps: Update.
74123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74125         [BZ #3976]
74126         * math/libm-test.inc (cosh_test_tonearest): New function.
74127         (cosh_test_towardzero): Likewise.
74128         (cosh_test_downward): Likewise.
74129         (cosh_test_upward): Likewise.
74130         (sinh_test_tonearest): Likewise.
74131         (sinh_test_towardzero): Likewise.
74132         (sinh_test_downward): Likewise.
74133         (sinh_test_upward): Likewise.
74134         (main): Call the new functions.
74135         * sysdeps/i386/fpu/libm-test-ulps: Update.
74136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74138 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74140         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74141         default stack guard is set in last bytes.
74142         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74144 2012-03-05  Kees Cook  <keescook@chromium.org>
74146         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74148         [BZ #13656]
74149         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74150         possibly allocate from heap instead of stack.
74151         * stdio-common/bug-vfprintf-nargs.c: New file.
74152         * stdio-common/Makefile (tests): Add nargs overflow test.
74154 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74158 2012-03-03  Marek Polacek  <polacek@redhat.com>
74160         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74161         * math/math_private.h: Likewise.
74162         * stdlib/tst-strtod.c: Likewise.
74163         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74164         * sysdeps/x86_64/bits/atomic.h: Likewise.
74166 2012-03-02  David S. Miller  <davem@davemloft.net>
74168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74172         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74173         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74174         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74175         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74177 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74179         [BZ #13792]
74180         * manual/examples/README: New file, says the example source files
74181         can be used under GPL>=2.
74182         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74183         line containing just "*/".
74184         * manual/examples/add.c: Add copyright header (GPL>=2).
74185         * manual/examples/argp-ex1.c: Likewise.
74186         * manual/examples/argp-ex2.c: Likewise.
74187         * manual/examples/argp-ex3.c: Likewise.
74188         * manual/examples/argp-ex4.c: Likewise.
74189         * manual/examples/atexit.c: Likewise.
74190         * manual/examples/db.c: Likewise.
74191         * manual/examples/dir.c: Likewise.
74192         * manual/examples/dir2.c: Likewise.
74193         * manual/examples/execinfo.c: Likewise.
74194         * manual/examples/filecli.c: Likewise.
74195         * manual/examples/filesrv.c: Likewise.
74196         * manual/examples/fmtmsgexpl.c: Likewise.
74197         * manual/examples/genpass.c: Likewise.
74198         * manual/examples/inetcli.c: Likewise.
74199         * manual/examples/inetsrv.c: Likewise.
74200         * manual/examples/isockad.c: Likewise.
74201         * manual/examples/longopt.c: Likewise.
74202         * manual/examples/memopen.c: Likewise.
74203         * manual/examples/memstrm.c: Likewise.
74204         * manual/examples/mkfsock.c: Likewise.
74205         * manual/examples/mkisock.c: Likewise.
74206         * manual/examples/mygetpass.c: Likewise.
74207         * manual/examples/pipe.c: Likewise.
74208         * manual/examples/popen.c: Likewise.
74209         * manual/examples/rprintf.c: Likewise.
74210         * manual/examples/search.c: Likewise.
74211         * manual/examples/select.c: Likewise.
74212         * manual/examples/setjmp.c: Likewise.
74213         * manual/examples/sigh1.c: Likewise.
74214         * manual/examples/sigusr.c: Likewise.
74215         * manual/examples/stpcpy.c: Likewise.
74216         * manual/examples/strdupa.c: Likewise.
74217         * manual/examples/strftim.c: Likewise.
74218         * manual/examples/strncat.c: Likewise.
74219         * manual/examples/subopt.c: Likewise.
74220         * manual/examples/swapcontext.c: Likewise.
74221         * manual/examples/termios.c: Likewise.
74222         * manual/examples/testopt.c: Likewise.
74223         * manual/examples/testpass.c: Likewise.
74224         * manual/examples/timeval_subtract.c: Likewise.
74226         [BZ #13792]
74227         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74228         function to ...
74229         * manual/timeval_subtract.c.texi: ... here, new file.
74231 2012-03-02  David S. Miller  <davem@davemloft.net>
74233         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74235 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74237         [BZ #3976]
74238         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74239         (__sin): Save and restore rounding mode and use round-to-nearest
74240         for all computations.
74241         (__cos): Save and restore rounding mode and use round-to-nearest
74242         for all computations.
74243         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74244         <fenv.h>.
74245         (tan): Save and restore rounding mode and use round-to-nearest for
74246         all computations.
74247         * math/libm-test.inc (cos_test_tonearest): New function.
74248         (cos_test_towardzero): Likewise.
74249         (cos_test_downward): Likewise.
74250         (cos_test_upward): Likewise.
74251         (sin_test_tonearest): Likewise.
74252         (sin_test_towardzero): Likewise.
74253         (sin_test_downward): Likewise.
74254         (sin_test_upward): Likewise.
74255         (tan_test_tonearest): Likewise.
74256         (tan_test_towardzero): Likewise.
74257         (tan_test_downward): Likewise.
74258         (tan_test_upward): Likewise.
74259         (main): Call the new functions.
74260         * sysdeps/i386/fpu/libm-test-ulps: Update.
74261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74263         [BZ #10135]
74264         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74265         small n, then large n, before computing and testing k+n.
74266         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74267         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74268         Likewise.
74269         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74270         Likewise.
74271         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74272         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74273         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74274         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74275         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74276         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74277         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74278         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74279         * math/libm-test.inc (scalbn_test): Add more tests.
74280         (scalbln_test): Likewise.
74282         * manual/filesys.texi (mode_t): Describe constraints on size and
74283         signedness, not exact equivalence to a particular type.
74284         (ino_t): Likewise.
74285         (ino64_t): Likewise.
74286         (dev_t): Likewise.
74287         (nlink_t): Likewise.
74288         (blkcnt_t): Likewise.
74289         (blkcnt64_t): Likewise.
74290         * manual/llio.texi (off_t): Likewise.
74292         [BZ #3976]
74293         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74294         (__ieee754_exp): Save and restore rounding mode and use
74295         round-to-nearest for all computations.
74296         * math/libm-test.inc (exp_test_tonearest): New function.
74297         (exp_test_towardzero): Likewise.
74298         (exp_test_downward): Likewise.
74299         (exp_test_upward): Likewise.
74300         (main): Call the new functions.
74301         * sysdeps/i386/fpu/libm-test-ulps: Update.
74302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74304 2012-03-01  Chris Demetriou  <cgd@google.com>
74306         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74307         have predictable order.
74309 2012-03-01  David S. Miller  <davem@davemloft.net>
74311         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74313         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74314         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74315         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74316         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74318         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74319         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74320         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74322         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74323         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74324         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74325         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74326         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74330         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74331         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74332         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74334         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74335         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74336         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74337         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74338         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74339         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74340         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74341         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74342         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74343         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74344         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74345         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74346         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74347         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74348         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74349         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74350         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74351         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74352         * sysdeps/sparc/elf/configure: Regenerated.
74354 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74356         * configure.in (AS, LD): Require binutils 2.20 or later.
74357         * configure: Regenerated.
74358         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74359         as required minimum version.
74360         * INSTALL: Regenerated.
74362         [BZ #2541]
74363         [BZ #4108]
74364         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74365         before squaring exponent.
74366         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74367         bottom long double and 27 bits of top long double before squaring
74368         exponent.
74369         * math/libm-test.inc (erfc_test): Add more tests.
74370         * sysdeps/i386/fpu/libm-test-ulps: Update.
74371         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74374 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74376         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74377         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74378         containing bit-fields.
74379         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74380         * soft-fp/single.h (_FP_UNION_S): Likewise.
74381         * soft-fp/double.h (_FP_UNION_D): Likewise.
74383 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74385         [BZ #13786]
74386         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74387         not include ../strcmp.S.
74388         [USE_AS_STRNCASECMP_L]: Likewise.
74389         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74390         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74391         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74392         (__strncasecmp_l_ia32): Define as alias to
74393         __strncasecmp_l_nonascii.
74395         [BZ #5794]
74396         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74397         * sysdeps/i386/fpu/libm-test-ulps: Update.
74398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74400         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74403 2012-02-29  Jeff Law  <law@redhat.com>
74405         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74406         out of bounds read.
74408 2012-02-29  Marek Polacek  <polacek@redhat.com>
74410         [BZ #13706]
74411         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74412         * elf/Makefile: Add rules to run tst-unused-dep.out.
74414 2012-02-28  David S. Miller  <davem@davemloft.net>
74416         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74417         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74418         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74419         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74420         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74421         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74423 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74425         * math/libm-test.inc (llround_test): Move one test from
74426         lround_test.  Use TEST_f_L in moved test.
74427         (lround_test): Move misplaced test to llround_test.  Add testcase
74428         from bug 2561.
74430 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74432         * sysdeps/x86_64/fpu/e_expf.S: New file.
74433         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74435 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74437         [BZ #13637]
74438         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74439         of remain_len that may cause incomplete multi-byte character and
74440         false match.
74441         * posix/bug-regex33.c: New file.
74442         * posix/Makefile (tests): Add bug-regex33.
74444 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74446         * manual/macros.texi: New file.
74447         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74448         * manual/libc.texinfo: Include macros.texi.
74449         * manual/creatute.texi: Likewise.
74450         * manual/install.texi: Likewise.
74451         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74452         @glibcadj{} in references to the GNU C Library.
74453         * manual/charset.texi: Likewise.
74454         * manual/conf.texi: Likewise.
74455         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74456         when not using those macros.
74457         * manual/creature.texi: Likewise.
74458         * manual/crypt.texi: Likewise.
74459         * manual/errno.texi: Likewise.
74460         * manual/filesys.texi: Likewise.
74461         * manual/header.texi: Likewise.
74462         * manual/install.texi: Likewise.
74463         * manual/intro.texi: Likewise.
74464         * manual/io.texi: Likewise.
74465         * manual/job.texi: Likewise.
74466         * manual/lang.texi: Likewise.
74467         * manual/libc.texiinfo: Likewise.
74468         * manual/llio.texi: Likewise.
74469         * manual/locale.texi: Likewise.
74470         * manual/maint.texi: Likewise.
74471         * manual/math.texi: Likewise.
74472         * manual/memory.texi: Likewise.
74473         * manual/message.texi: Likewise.
74474         * manual/nss.texi: Likewise.
74475         * manual/pattern.texi: Likewise.
74476         * manual/process.texi: Likewise.
74477         * manual/resource.texi: Likewise.
74478         * manual/search.texi: Likewise.
74479         * manual/setjmp.texi: Likewise.
74480         * manual/signal.texi: Likewise.
74481         * manual/socket.texi: Likewise.
74482         * manual/startup.texi: Likewise.
74483         * manual/stdio.texi: Likewise.
74484         * manual/string.texi: Likewise.
74485         * manual/sysinfo.texi: Likewise.
74486         * manual/syslog.texi: Likewise.
74487         * manual/terminal.texi: Likewise.
74488         * manual/time.texi: Likewise.
74489         * manual/users.texi: Likewise.
74490         * INSTALL: Regenerated.
74491         * NOTES: Regenerated.
74492         * sysdeps/gnu/errlist.c: Regenerated.
74494 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74496         * include/dirent.h: Include <dirstream.h> before
74497         <dirent/dirent.h>.
74499 2012-02-28  David S. Miller  <davem@davemloft.net>
74501         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74502         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74503         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74504         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74506 2012-02-27  David S. Miller  <davem@davemloft.net>
74508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74510         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74511         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74514         frame pointer instead of stack pointer relative arg slot.
74515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74516         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74517         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74519 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74521         [BZ #3992]
74522         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74524 2012-02-27  David S. Miller  <davem@davemloft.net>
74526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74530         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74531         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74532         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74533         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74535 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74537         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74538         later.  Allow versions 5-9.
74539         * configure: Regenerated.
74540         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74541         required minimum version and 4.6 as recommended version.  Do not
74542         mention bugs in GCC 2.7 and 2.8.
74543         * INSTALL: Regenerated.
74545 2012-02-27  David S. Miller  <davem@davemloft.net>
74547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74551         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74552         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74553         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74554         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74556         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74557         manipulate bits before adding and subtracting TWO112[sx].
74558         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74560 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74562         [BZ #13775]
74563         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74564         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74565         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74566         being in POSIX, because they are in 1003.1-2008.
74568         * rt/tst-aio.c: Include <fcntl.h>.
74569         * rt/tst-aio7.c: Likewise.
74570         * rt/tst-aio64.c: Likewise.
74572         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74574 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74576         * manual/install.texi (--with-headers): Describe headers as
74577         interface headers, not private headers.
74578         (Specific advice for GNU/Linux systems): Describe use of headers
74579         from "make headers_install", not private headers from older
74580         kernels.
74581         * INSTALL: Regenerated.
74582         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74583         Change to 2.6.19.
74584         * sysdeps/unix/sysv/linux/configure: Regenerated.
74586         * manual/llio.texi (fclean): Remove documentation.
74588         * manual/Makefile (libc-texi-generated): New variable.  Include
74589         version.texi.
74590         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74591         $(libc-texi-generated), not duplicated list of files.
74592         (version.texi, stamp-version): New rules.
74593         (realclean): Remove $(libc-texi-generated), not individual files
74594         from that list.  Do not remove dir-add.texinfo.
74595         * manual/libc.texinfo: Comment out uses of edition numbers and
74596         references to printed manual.  Remove last-updated dates.
74597         (EDITION): Comment out.
74598         (ISBN): Likewise.
74599         (VERSION, UPDATED): Remove.
74600         (version.texi): Include.
74602 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74604         * sysdeps/posix/spawni.c: Include <signal.h>.
74605         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74606         * sysdeps/pthread/aio_fsync.c: Likewise.
74608 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74610         * conform/Makefile (tests): Run only when not cross-compiling and
74611         when fast-check is not defined.
74613         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74614         * conform/data/limits.h-data: Fixes for POSIX2008.
74615         * conform/run-conformtest.sh: Run all tests.
74616         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74617         headers.
74618         * include/bits/dlfcn.h: Likewise.
74619         * include/langinfo.h: Likewise.
74620         * include/monetary.h: Likewise.
74621         * include/sys/poll.h: Likewise.
74623         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74624         for __USE_GNU.
74625         * posix/spawn.h: Define __need_sigset_t.
74626         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74627         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74628         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74629         to get sigevent_t only.
74630         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74631         only for __USE_GNU.
74632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74633         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74634         process_vm_writev only for __USE_GNU.
74635         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74637         * conform/Makefile: For now ignore errors from run-conformtest.
74638         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74639         POSIX to avoid namespace pollution.  Don't prepend headers.
74640         * conform/data/aio.h-data: Fixes for POSIX testing.
74641         * conform/data/fcntl.h-data: Likewise.
74642         * conform/data/glob.h-data: Likewise.
74643         * conform/data/grp.h-data: Likewise.
74644         * conform/data/pthread.h-data: Likewise.
74645         * conform/data/pwd.h-data: Likewise.
74646         * conform/data/signal.h-data: Likewise.
74647         * conform/data/spawn.h-data: Likewise.
74648         * conform/data/stdio.h-data: Likewise.
74649         * conform/data/stdlib.h-data: Likewise.
74650         * conform/data/stropts.h-data: Likewise.
74651         * conform/data/sys/mman.h-data: Likewise.
74652         * conform/data/sys/stat.h-data: Likewise.
74653         * conform/data/sys/types.h-data: Likewise.
74654         * conform/data/sys/wait.h-data: Likewise.
74655         * conform/data/time.h-data: Likewise.
74656         * conform/data/unistd.h-data: Likewise.
74657         * conform/data/utime.h-data: Likewise.
74659         * io/sys/stat.h: fchmod was always in POSIX.
74660         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74661         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74662         * rt/aio.h: Define __need_timespec before including <time.h>.
74663         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74664         struct.  Add forward declaration of pthread_attr_t and use it in
74665         sigevent.
74666         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74667         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74668         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74669         always remove CLK_TCK definition.
74671 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74673         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74675 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74677         * conform/run-conformtest.sh: New file.
74678         * conform/Makefile: Run run-conformtest for tests.
74679         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74680         support.
74682         * conform/data/uchar.h-data: New file.
74683         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74684         * conform/data/arpa/inet.h-data: Likewise.
74685         * conform/data/assert.h-data: Likewise.
74686         * conform/data/complex.h-data: Likewise.
74687         * conform/data/cpio.h-data: Likewise.
74688         * conform/data/ctype.h-data: Likewise.
74689         * conform/data/dirent.h-data: Likewise.
74690         * conform/data/dlfcn.h-data: Likewise.
74691         * conform/data/errno.h-data: Likewise.
74692         * conform/data/fcntl.h-data: Likewise.
74693         * conform/data/float.h-data: Likewise.
74694         * conform/data/fmtmsg.h-data: Likewise.
74695         * conform/data/fnmatch.h-data: Likewise.
74696         * conform/data/ftw.h-data: Likewise.
74697         * conform/data/glob.h-data: Likewise.
74698         * conform/data/grp.h-data: Likewise.
74699         * conform/data/iconv.h-data: Likewise.
74700         * conform/data/inttypes.h-data: Likewise.
74701         * conform/data/langinfo.h-data: Likewise.
74702         * conform/data/libgen.h-data: Likewise.
74703         * conform/data/limits.h-data: Likewise.
74704         * conform/data/locale.h-data: Likewise.
74705         * conform/data/math.h-data: Likewise.
74706         * conform/data/monetary.h-data: Likewise.
74707         * conform/data/mqueue.h-data: Likewise.
74708         * conform/data/ndbm.h-data: Likewise.
74709         * conform/data/net/if.h-data: Likewise.
74710         * conform/data/netdb.h-data: Likewise.
74711         * conform/data/netinet/in.h-data: Likewise.
74712         * conform/data/nl_types.h-data: Likewise.
74713         * conform/data/poll.h-data: Likewise.
74714         * conform/data/pthread.h-data: Likewise.
74715         * conform/data/pwd.h-data: Likewise.
74716         * conform/data/regex.h-data: Likewise.
74717         * conform/data/sched.h-data: Likewise.
74718         * conform/data/search.h-data: Likewise.
74719         * conform/data/semaphore.h-data: Likewise.
74720         * conform/data/setjmp.h-data: Likewise.
74721         * conform/data/signal.h-data: Likewise.
74722         * conform/data/spawn.h-data: Likewise.
74723         * conform/data/stdarg.h-data: Likewise.
74724         * conform/data/stdio.h-data: Likewise.
74725         * conform/data/stdlib.h-data: Likewise.
74726         * conform/data/string.h-data: Likewise.
74727         * conform/data/strings.h-data: Likewise.
74728         * conform/data/stropts.h-data: Likewise.
74729         * conform/data/sys/ipc.h-data: Likewise.
74730         * conform/data/sys/mman.h-data: Likewise.
74731         * conform/data/sys/msg.h-data: Likewise.
74732         * conform/data/sys/resource.h-data: Likewise.
74733         * conform/data/sys/select.h-data: Likewise.
74734         * conform/data/sys/sem.h-data: Likewise.
74735         * conform/data/sys/shm.h-data: Likewise.
74736         * conform/data/sys/socket.h-data: Likewise.
74737         * conform/data/sys/stat.h-data: Likewise.
74738         * conform/data/sys/statvfs.h-data: Likewise.
74739         * conform/data/sys/time.h-data: Likewise.
74740         * conform/data/sys/timeb.h-data: Likewise.
74741         * conform/data/sys/times.h-data: Likewise.
74742         * conform/data/sys/types.h-data: Likewise.
74743         * conform/data/sys/uio.h-data: Likewise.
74744         * conform/data/sys/un.h-data: Likewise.
74745         * conform/data/sys/utsname.h-data: Likewise.
74746         * conform/data/sys/wait.h-data: Likewise.
74747         * conform/data/syslog.h-data: Likewise.
74748         * conform/data/tar.h-data: Likewise.
74749         * conform/data/termios.h-data: Likewise.
74750         * conform/data/utime.h-data: Likewise.
74751         * conform/data/utmpx.h-data: Likewise.
74752         * conform/data/varargs.h-data: Likewise.
74753         * conform/data/wchar.h-data: Likewise.
74754         * conform/data/wctype.h-data: Likewise.
74755         * conform/data/wordexp.h-data: Likewise.
74757         * include/stropts.h: New file.
74758         * include/uchar.h: New file.
74759         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74760         * include/assert.h: Likewise.
74761         * include/ctype.h: Likewise.
74762         * include/dirent.h: Likewise.
74763         * include/dlfcn.h: Likewise.
74764         * include/fcntl.h: Likewise.
74765         * include/fnmatch.h: Likewise.
74766         * include/glob.h: Likewise.
74767         * include/grp.h: Likewise.
74768         * include/libio.h: Likewise.
74769         * include/locale.h: Likewise.
74770         * include/math.h: Likewise.
74771         * include/net/if.h: Likewise.
74772         * include/netdb.h: Likewise.
74773         * include/netinet/in.h: Likewise.
74774         * include/pthread.h: Likewise.
74775         * include/pwd.h: Likewise.
74776         * include/regex.h: Likewise.
74777         * include/sched.h: Likewise.
74778         * include/search.h: Likewise.
74779         * include/setjmp.h: Likewise.
74780         * include/signal.h: Likewise.
74781         * include/stdio.h: Likewise.
74782         * include/stdlib.h: Likewise.
74783         * include/string.h: Likewise.
74784         * include/sys/cdefs.h: Likewise.
74785         * include/sys/mman.h: Likewise.
74786         * include/sys/msg.h: Likewise.
74787         * include/sys/resource.h: Likewise.
74788         * include/sys/select.h: Likewise.
74789         * include/sys/socket.h: Likewise.
74790         * include/sys/stat.h: Likewise.
74791         * include/sys/statvfs.h: Likewise.
74792         * include/sys/time.h: Likewise.
74793         * include/sys/times.h: Likewise.
74794         * include/sys/uio.h: Likewise.
74795         * include/sys/utsname.h: Likewise.
74796         * include/sys/wait.h: Likewise.
74797         * include/termios.h: Likewise.
74798         * include/time.h: Likewise.
74799         * include/ulimit.h: Likewise.
74800         * include/unistd.h: Likewise.
74801         * include/utime.h: Likewise.
74802         * include/wchar.h: Likewise.
74803         * include/wctype.h: Likewise.
74804         * include/wordexp.h: Likewise.
74806         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
74808         * time/time.h: TIME_UTC must be a macro.
74809         Make timespec_get available for ISO C11 only as well.
74811 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
74813         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
74814         Reported by Peng Haitao <penght@cn.fujitsu.com>.
74816 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74818         * configure.in: Use -o not -a in test for unsupported multi-arch.
74820 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74822         * manual/texinfo.tex: Update to version 2012-01-19.16.
74824 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74826         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
74828 2012-02-24  Roland McGrath  <roland@hack.frob.com>
74830         [BZ #13738]
74831         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
74832         * manual/fdl-1.3.texi: New file.
74833         * manual/fdl-1.1.texi: File removed.
74835         [BZ #13738]
74836         * manual/libc.texinfo (FDL_VERSION): New @set.
74837         Use it for mention of FDL in cover text.
74838         (Documentation License): Use it in @include file name.
74840 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74841             Roland McGrath  <roland@hack.frob.com>
74843         [BZ #5461]
74844         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
74845         (not LONG_LONG_MAX and LONG_LONG_MIN.
74846         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
74847         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
74848         name.
74849         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
74851 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74853         [BZ #2547]
74854         [BZ #11365]
74855         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
74856         manipulate bits before adding and subtracting TWO23[sx].
74857         * math/libm-test.inc (nearbyint_test): Add more tests.
74859 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74861         [BZ #2548]
74862         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
74863         bits before adding and subtracting TWO23[sx].
74864         * math/libm-test.inc (rint_test): Add more tests.
74865         (rint_test_tonearest): Likewise.
74866         (rint_test_towardzero): Likewise.
74867         (rint_test_downward): Likewise.
74868         (rint_test_upward: Likewise.
74870 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74872         [BZ #10110]
74873         * include/stdc-predef.h: New file.  Extracted from features.h.
74874         * include/features.h: Include stdc-predef.h.
74875         * Makefile (headers): Add stdc-predef.h.
74876         * CONFORMANCE (Compiler limitations): Update.
74878 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74880         * manual/libc.texinfo (VERSION, UPDATED): Revert.
74882 2012-02-21  David S. Miller  <davem@davemloft.net>
74884         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
74885         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74887 2012-02-20  David S. Miller  <davem@davemloft.net>
74889         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
74890         using a normal save/restore sequence, rather than allocating a
74891         dummy stack frame just to store a frame pointer and restore.
74892         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74894 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74896         * manual/install.texi: Fix stray word in line-wrapped comment.
74898 2012-02-20  David S. Miller  <davem@davemloft.net>
74900         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
74901         both binutils and gcc support GOTDATA.
74903         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
74904         "rd %pc" in the PIC register setup sequences.
74906         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
74907         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
74908         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74909         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
74910         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74911         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74912         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74913         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74914         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
74915         (SYSCALL_ERROR_HANDLER): Likewise.
74916         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74917         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74918         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
74919         (SYSCALL_ERROR_HANDLER): Likewise.
74921         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
74922         (HAVE_GCC_GOTDATA): New.
74923         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
74924         relocation support in both binutils and gcc.
74925         * sysdeps/sparc/elf/configure: Regenerate.
74927         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
74928         * sysdeps/sparc/sparc32/elf/configure: Delete.
74929         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
74930         * sysdeps/sparc/sparc64/elf/configure: Delete.
74931         * sysdeps/sparc/elf/configure.in: New file.
74932         * sysdeps/sparc/elf/configure: Generate.
74934         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
74935         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
74936         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74937         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
74938         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
74940 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74942         * manual/install.texi: Do not mention specific glibc version
74943         numbers.
74944         * manual/libc.texinfo (VERSION, UPDATED): Update.
74945         (@copying): Use @copyright{} and range of years.
74947 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74949         [BZ #13695]
74950         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
74951         [crti.S not in sysdirs] (generated): Do not append.
74952         [crti.S not in sysdirs] (omit-deps): Likewise.
74953         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
74954         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
74955         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
74956         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
74957         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
74958         Likewise.
74959         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
74960         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
74961         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
74962         * csu/defs.awk: Remove file.
74963         * sysdeps/generic/initfini.c: Likewise.
74964         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
74965         variable.
74966         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
74967         Likewise.
74969 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74971         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
74972         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
74973         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
74974         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
74975         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74976         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74977         <bits/epoll.h>.
74978         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74979         (__EPOLL_PACKED): Define to empty if not defined by
74980         <bits/epoll.h>.
74981         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74983         bits/epoll.h.
74985 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74987         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74988         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74989         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74990         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74991         <bits/timerfd.h>.
74992         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74994         bits/timerfd.h.
74996 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74998         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74999         in C locale.
75000         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75001         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75002         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75005 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75007         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75008         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75010 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75012         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75013         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75014         defined.
75015         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75016         Likewise.
75017         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75018         entry for 2.16.
75020 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75022         * math/w_acos.c: Use non-signaling floating-point comparisons.
75023         * math/w_acosf.c: Likewise.
75024         * math/w_acosh.c: Likewise.
75025         * math/w_acoshf.c: Likewise.
75026         * math/w_acoshl.c: Likewise.
75027         * math/w_acosl.c: Likewise.
75028         * math/w_asin.c: Likewise.
75029         * math/w_asinf.c: Likewise.
75030         * math/w_asinl.c: Likewise.
75031         * math/w_atanh.c: Likewise.
75032         * math/w_atanhf.c: Likewise.
75033         * math/w_atanhl.c: Likewise.
75034         * math/w_exp2.c: Likewise.
75035         * math/w_exp2f.c: Likewise.
75036         * math/w_exp2l.c: Likewise.
75037         * math/w_j0.c: Likewise.
75038         * math/w_j0f.c: Likewise.
75039         * math/w_j0l.c: Likewise.
75040         * math/w_j1.c: Likewise.
75041         * math/w_j1f.c: Likewise.
75042         * math/w_j1l.c: Likewise.
75043         * math/w_jn.c: Likewise.
75044         * math/w_jnf.c: Likewise.
75045         * math/w_log.c: Likewise.
75046         * math/w_log10.c: Likewise.
75047         * math/w_log10f.c: Likewise.
75048         * math/w_log10l.c: Likewise.
75049         * math/w_log2.c: Likewise.
75050         * math/w_log2f.c: Likewise.
75051         * math/w_log2l.c: Likewise.
75052         * math/w_logf.c: Likewise.
75053         * math/w_logl.c: Likewise.
75054         * math/w_sqrt.c: Likewise.
75055         * math/w_sqrtf.c: Likewise.
75056         * math/w_sqrtl.c: Likewise.
75057         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75058         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75059         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75060         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75061         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75063 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75065         [BZ #9739]
75066         * manual/string.texi (strnlen): Use correct parameter name in
75067         equivalent expression.
75069 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75071         [BZ #11174]
75072         * manual/users.texi (seteuid): Consistently use neweuid for
75073         argument name.
75075 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75077         [BZ #13704]
75078         * manual/nss.texi (Services in the NSS configuration): Correct
75079         list of services in example configuration file.
75081 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75083         [BZ #11322]
75084         * manual/arith.texi: Remove statements about negative zero
75085         behaving identically to zero.
75087 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75089         [BZ #5993]
75090         * manual/install.texi: Do not document upgrading from libc5.
75092 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75094         [BZ #4596]
75095         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75097 2012-02-18  David S. Miller  <davem@davemloft.net>
75099         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75100         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75101         %o7 across the call.
75102         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75103         instead.
75104         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75105         SETUP_PIC_REG_LEAF.
75106         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75107         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75108         * sysdeps/sparc/crtn.S: Likewise.
75110 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75112         * aout/Makefile: Remove.
75114 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75116         [BZ #13058]
75117         * manual/examples/argp-ex1.c (main): Format definition in GNU
75118         style.
75119         * manual/examples/argp-ex2.c (main): Likewise.
75120         * manual/examples/argp-ex3.c (main): Likewise.
75121         * manual/examples/argp-ex4.c (main): Likewise.
75122         * manual/examples/longopt.c (main): Use new-style prototype
75123         definition.
75124         * manual/examples/strncat.c (main): Specify return type and use
75125         (void) for arguments.
75126         * manual/examples/subopt.c (main): Use char **argv argument.
75128 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75130         [BZ #5077]
75131         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75132         rounding modes.
75134 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75136         [BZ #6907]
75137         * manual/string.texi (strchr): Change when strchrnul is
75138         recommended.
75140 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75142         [BZ #174]
75143         * manual/locale.texi (setlocale): Document LOCPATH.
75145 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75147         [BZ #10210]
75148         * manual/process.texi (execle): Move @dots{} before last argument.
75150 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75152         [BZ #12047]
75153         * manual/charset.texi (Generic Charset Conversion): Fix typo
75154         (LC_TYPE -> LC_CTYPE).
75156 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75158         [BZ #5805]
75159         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75160         (scalbnf): Likewise.
75161         (scalbnl): Likewise.
75162         (scalbln): Likewise.
75163         (scalblnf): Likewise.
75164         (scalblnl): Likewise.
75165         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75166         (vwarnx): Likewise.
75167         (verr): Likewise.
75168         (verrx): Likewise.
75169         * manual/filesys.texi (telldir): Use braces around return type.
75170         * manual/llio.texi (mmap): Add space after comma.
75171         (mmap64): Likewise.
75172         * manual/math.texi (jn): Use @var{} on parameter names.
75173         (jnf): Likewise.
75174         (jnl): Likewise.
75175         (yn): Likewise.
75176         (ynf): Likewise.
75177         (ynl): Likewise.
75178         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75179         line.
75180         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75181         "...".
75182         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75183         (sched_get_priority_max): Likewise.
75184         * manual/signal.texi (sigvec): Add space after comma.
75185         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75186         names.
75187         (if_indextoname): Likewise.
75188         (if_freenameindex): Likewise.
75189         (sendto): Use ',' instead of '.' in prototype.
75190         * manual/startup.texi (syscall): Use @dots{} instead of literal
75191         "...".
75192         * manual/stdio.texi (__fpending): Separate initial words of
75193         paragraph from @deftypefun line.
75194         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75195         "...".
75196         (vsyslog): Use @var{} on parameter names.
75197         * manual/terminal.texi (stty): Use @var{} on parameter names.
75198         * manual/users.texi (getutmp): Use @var{} on parameter names.
75199         (getutmpx): Likewise.
75201 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75203         [BZ #6884]
75204         * manual/stdio.texi (fopen): Fix typos in description of
75205         ",ccs=STRING".
75207 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75209         [BZ #4026]
75210         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75211         get clock_id definition.
75213 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75215         [BZ #4822]
75216         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75217         (madvise): Cast every argument to void on its own.
75219 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75221         [BZ #9902]
75222         * manual/startup.texi (Exit Status): Fix typo.
75224 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75226         [BZ #10140]
75227         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75228         * manual/examples/argp-ex2.c: Likewise.
75229         * manual/examples/argp-ex3.c: Likewise.
75231 2012-02-16  Richard Henderson  <rth@redhat.com>
75233         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75234         * sysdeps/s390/s390-32/initfini.c: Remove.
75235         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75236         * sysdeps/s390/s390-64/initfini.c: Remove.
75238 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75240         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75241         compiler output for sysdeps/generic/initfini.c.
75242         * sysdeps/sh/elf/initfini.c: Remove file.
75244 2012-02-16  David S. Miller  <davem@davemloft.net>
75246         [BZ #11494]
75247         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75249         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75250         * sysdeps/sparc/crti.S: New file.
75251         * sysdeps/sparc/crtn.S: New file.
75252         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75253         * sysdeps/sparc/sparc64/Makefile: Likewise.
75255 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75257         [BZ #3335]
75258         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75260 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75262         [BZ #4822]
75263         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75265         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75266         (write, read, close): Likewise.
75267         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75269 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75271         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75272         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75273         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75274         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75275         <bits/signalfd.h>.
75276         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75278         bits/signalfd.h.
75280 2012-02-14  Marek Polacek  <polacek@redhat.com>
75282         * sysdeps/x86_64/crti.S: New file.
75283         * sysdeps/x86_64/crtn.S: New file.
75284         * sysdeps/x86_64/elf/initfini.c: Remove file.
75286 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75288         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75289         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75290         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75291         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75292         <bits/inotify.h>.
75293         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75294         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75295         bits/inotify.h.
75297 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75299         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75300         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75301         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75302         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75303         <bits/eventfd.h>.
75304         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75306         bits/eventfd.h.
75308 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75310         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75311         __feraiseexcept instead of feraiseexcept.
75313         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75314         nanosleep invocations.
75315         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75316         strings, and add error checking for a nanosleep invocations.
75318 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75320         Replace FSF snail mail address with URLs, as per GNU coding standards.
75321         Most of the snail mail addresses were wrong anyway, and omitting
75322         them makes the source code easier to maintain.  Almost all of the
75323         changes are to license notices and to locale LC_IDENTIFICATION
75324         addresses, except for this one:
75325         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75326         not its snail mail address.
75328 2012-02-09  Richard Henderson  <rth@twiddle.net>
75330         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75331         of kernel-features.h.
75333         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75335 2012-02-08  Marek Polacek  <polacek@redhat.com>
75337         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75338         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75339         * sysdeps/gnu/_G_config.h: Likewise.
75340         * sysdeps/generic/_G_config.h: Likewise.
75342 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75344         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75345         tests.
75346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75348         * sysdeps/powerpc/powerpc32/crti.S: New file.
75349         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75350         * sysdeps/powerpc/powerpc64/crti.S: New file.
75351         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75353         * Makeconfig (have-initfini): Don't set.
75354         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75355         * configure.in (nopic_initfini): Don't substitute.
75356         * config.h.in (HAVE_INITFINI): Don't #undef.
75357         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75358         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75360 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75362         Support crti.S and crtn.S provided directly by architectures.
75363         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75364         [crti.S in sysdirs] (omit-deps): Likewise.
75365         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75366         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75367         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75368         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75369         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75370         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75371         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75372         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75373         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75374         compiler output for sysdeps/generic/initfini.c.
75375         * sysdeps/i386/elf/Makefile: Remove file.
75376         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75378 2012-02-07  Marek Polacek  <polacek@redhat.com>
75380         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75381         * sysdeps/gnu/_G_config.h: Likewise.
75382         * sysdeps/mach/hurd/_G_config.h: Likewise.
75384 2012-02-07  Marek Polacek  <polacek@redhat.com>
75386         * math/Makefile (tests): Add tst-CMPLX2.
75387         * math/tst-CMPLX2.c: New file.
75389 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75391         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75393         * math/libm-test.inc (jn_test): Add missing L suffix.
75395 2012-02-06  Marek Polacek  <polacek@redhat.com>
75397         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75398         * sysdeps/i386/fpu/e_powf.S: Likewise.
75399         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75400         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75401         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75402         * sysdeps/i386/fpu/e_pow.S: Likewise.
75403         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75404         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75405         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75406         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75407         * sysdeps/i386/fpu/e_log2.S: Likewise.
75408         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75409         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75410         * sysdeps/i386/fpu/e_powl.S: Likewise.
75411         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75412         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75413         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75414         * sysdeps/i386/fpu/e_logl.S: Likewise.
75415         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75416         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75417         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75418         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75419         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75420         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75421         * sysdeps/i386/fpu/e_log.S: Likewise.
75422         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75423         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75424         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75425         * sysdeps/i386/fpu/e_logf.S: Likewise.
75426         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75427         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75428         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75429         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75430         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75431         * sysdeps/i386/fpu/e_log10.S: Likewise.
75432         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75433         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75434         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75435         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75436         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75437         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75438         * sysdeps/i386/asm-syntax.h: Likewise.
75439         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75440         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75441         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75442         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75443         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75444         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75445         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75446         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75447         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75448         * sysdeps/powerpc/sysdep.h: Likewise.
75449         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75450         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75452 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75454         [BZ #411]
75455         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75457 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75459         * sysdeps/i386/sysdep.h: Include <features.h>.
75460         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75461         version.
75463 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75465         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75466         Define.
75467         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75468         LOAD_PIC_REG_STR.
75470 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75472         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75473         (SETUP_PIC_REG): Use GET_PC_THUNK.
75474         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75475         macro.
75477 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75479         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75480         for non-PIC compilation.
75481         (SETUP_PIC_REG): Add .p2align directive.
75482         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75483         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75484         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75485         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75486         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75487         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75488         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75489         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75490         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75491         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75492         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75493         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75494         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75495         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75496         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75497         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75498         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75499         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75500         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75501         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75502         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75503         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75504         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75505         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75506         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75508         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75509         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75510         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75511         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75512         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75513         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75514         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75515         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75516         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75517         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75518         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75519         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75520         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75521         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75522         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75524 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75526         * math/tst-CMPLX.c: Include <stdio.h>.
75528 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75530         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75531         float.
75532         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75533         * sysdeps/sparc/bits/mathdef.h: Likewise.
75535 2012-01-31  Marek Polacek  <polacek@redhat.com>
75537         * libio/libio.h: Don't define _PARAMS.
75538         * locale/programs/config.h: Don't define PARAMS.
75539         * stdlib/strtol_l.c: Likewise.
75540         (__strtol_l): Remove PARAMS from the prototype.
75542 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75544         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75545         names.  Just use the correct names.  Remove unnecessary wrapper
75546         functions.
75547         * malloc/arena.c: Likewise.
75548         * malloc/hooks.c: Likewise.
75550         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75551         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75552         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75554 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75556         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75557         into tail calls.
75558         (update_get_addr): New function.
75559         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75560         GET_ADDR_MODULE parameter.
75562 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75564         * crypt/cert.c: Remove __STDC__ conditionals.
75565         * crypt/crypt-entry.c: Likewise.
75566         * crypt/crypt_util.c: Likewise.
75567         * libio/filedoalloc.c: Likewise.
75568         * libio/fileops.c: Likewise.
75569         * libio/genops.c: Likewise.
75570         * libio/iofclose.c: Likewise.
75571         * libio/iofdopen.c: Likewise.
75572         * libio/iofopen.c: Likewise.
75573         * libio/iofopen64.c: Likewise.
75574         * libio/iogetdelim.c: Likewise.
75575         * libio/iopopen.c: Likewise.
75576         * libio/obprintf.c: Likewise.
75577         * libio/oldfileops.c: Likewise.
75578         * libio/oldiofclose.c: Likewise.
75579         * libio/oldiofdopen.c: Likewise.
75580         * libio/oldiofopen.c: Likewise.
75581         * libio/oldiopopen.c: Likewise.
75582         * libio/wfiledoalloc.c: Likewise.
75583         * libio/wgenops.c: Likewise.
75584         * locale/programs/xmalloc.c: Likewise.
75585         * misc/syslog.c: Likewise.
75586         * stdio-common/xbug.c: Likewise.
75587         * string/memchr.c: Likewise.
75588         * string/memcmp.c: Likewise.
75589         * string/memrchr.c: Likewise.
75590         * string/rawmemchr.c: Likewise.
75591         * sysdeps/posix/getcwd.c: Likewise.
75592         * time/strftime_l.c: Likewise.
75594 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75596         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75597         * config.make.in (config-cflags-sse2avx): Define.
75598         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75599         Fix typo.
75601 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75603         * scripts/config.guess: Update from upstream config git repository.
75604         * scripts/config.sub: Likewise.
75606 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75608         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75609         (EM_NUM): Update.
75610         (R_TILEPRO_*, R_TILEGX_*): New macros.
75612         * scripts/firstversions.awk: Fix bug in version range handling.
75614         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75616         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75618         * include/sys/epoll.h: New file.
75619         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75620         libc_hidden_def.
75622 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75624         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75625         Avoid unnecessary __WORDSIZE == 64 test.
75626         (fmaxf): Use VEX format if possible.
75627         (fmax): Likewise.
75628         (fminf): Likewise.
75629         (fmin): Likewise.
75631         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75632         * math/math_private.h: Remove libc_fegetround* and
75633         libc_fesetround*.
75634         * sysdeps/i386/configure.in: Check for -msse2avx.
75635         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75636         also if SSE2AVX is defined.
75637         Remove libc_fegetround* and libc_fesetround*.
75638         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75639         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75640         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75641         of HAS_YMM_USABLE.
75642         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75643         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75644         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75645         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75646         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75648         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75650 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75652         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75653         size is not set.
75654         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75656 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75658         [BZ #13618]
75659         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75660         relocation.
75661         * Makeconfig (libm): Define.
75662         * elf/Makefile: Add rules to build and run tst-relsort1.
75663         * elf/tst-relsort1.c: New file.
75664         * elf/tst-relsort1mod1.c: New file.
75665         * elf/tst-relsort1mod2.c: New file.
75667 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75669         * math/s_ldexp.c: Remove __STDC__ conditionals.
75670         * math/s_ldexpf.c: Likewise.
75671         * math/s_ldexpl.c: Likewise.
75672         * math/s_nextafter.c: Likewise.
75673         * math/s_nexttowardf.c: Likewise.
75674         * math/s_significand.c: Likewise.
75675         * math/s_significandf.c: Likewise.
75676         * math/s_significandl.c: Likewise.
75677         * math/w_jnl.c: Likewise.
75678         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75679         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75680         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75681         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75682         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75683         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75684         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75685         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75686         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75687         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75688         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75689         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75690         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75691         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75692         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75693         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75694         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75695         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75696         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75697         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75698         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75699         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75700         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75701         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75702         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75703         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75704         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75705         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75706         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75707         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75708         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75709         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75710         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75711         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75712         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75713         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75714         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75715         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75716         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75717         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75718         * sysdeps/ieee754/k_standard.c: Likewise.
75719         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75720         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75721         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75722         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75723         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75724         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75725         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75726         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75727         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75728         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75729         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75730         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75731         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75732         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75733         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75734         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75735         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75736         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75737         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75738         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75739         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75740         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75741         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75742         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75743         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75744         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75745         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75746         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75747         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75748         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75749         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75750         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75751         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75752         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75753         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75754         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75755         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75756         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75757         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75758         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75759         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75760         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75761         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75762         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75763         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75764         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75765         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75766         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75767         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75768         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75769         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75770         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75771         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75772         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75773         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75774         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75775         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75776         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75777         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75778         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75779         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75780         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75781         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75782         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75783         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75784         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75785         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75786         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75787         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75788         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75789         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75790         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75791         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75792         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75793         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75794         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75795         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75796         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75797         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75798         * sysdeps/ieee754/s_matherr.c: Likewise.
75799         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75800         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75801         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75802         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75804 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75806         * crypt/md5.h: Remove __STDC__ conditionals.
75807         * libio/libioP.h: Likewise.
75808         * locale/programs/config.h: Likewise.
75809         * sysdeps/generic/sysdep.h: Likewise.
75810         * sysdeps/i386/asm-syntax.h: Likewise.
75811         * sysdeps/s390/asm-syntax.h: Likewise.
75812         * sysdeps/unix/sysdep.h: Likewise.
75813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
75814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
75816 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75818         * libio/libio.h: Remove __STDC__ conditionals.
75819         * malloc/obstack.h: Likewise.
75820         * math/complex.h: Likewise.
75821         * math/math.h: Likewise.
75822         * sysdeps/generic/_G_config.h: Likewise.
75823         * sysdeps/gnu/_G_config.h: Likewise.
75824         * sysdeps/mach/hurd/_G_config.h: Likewise.
75825         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75826         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75827         * sysdeps/sparc/bits/mathdef.h: Likewise.
75829 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
75831         [BZ #13583]
75832         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
75833         Clean up HAS_* macros.
75834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
75835         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
75836         possible.
75837         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
75838         HAS_AVX.
75839         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75840         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75841         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75842         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75843         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75845 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
75847         * elf/tst-unique3.cc (gets): Remove declaration.
75848         * elf/tst-unique3lib.cc (gets): Likewise.
75849         * elf/tst-unique3lib2.cc (gets): Likewise.
75850         * elf/tst-unique4.cc (gets): Likewise.
75852 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
75854         * include/stdio.h: Add C++ protection.  Add gets declarations and
75855         definitions.
75856         * debug/tst-chk1.c: Don't declare gets here.
75857         * stdio-common/tst-gets.c: Likewise.
75859 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75861         * posix/glob: Remove directory.
75863 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75865         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
75867 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
75869         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
75870         of the non-standard EPFNOSUPPORT.
75872 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75874         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
75875         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
75876         ANYWHERE set to 1 only on KERN_NO_SPACE error.
75878 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
75880         * wcsmbs/uchar.h: Test __STDC_VERSION__.
75882 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
75884         * nscd/aicache.c (addhstaiX): Do not cache negative results of
75885         transient errors.
75886         * nscd/grpcache.c (cache_addgr): Likewise.
75887         * nscd/hstcache.c (cache_addhst): Likewise.
75888         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75889         * nscd/pwdcache.c (cache_addpw): Likewise.
75890         * nscd/servicescache.c (cache_addserv): Likewise.
75892 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
75894         * malloc/malloc.c: Various cleanups.
75895         * malloc/hooks.c: Likewise.
75897         * stdlib/Makefile (tests): Add bug-fmtmsg1.
75898         * stdlib/bug-fmtmsg1.c: New file.
75900         * stdlib/fmtmsg.c (init): Add missing unlock.
75901         Patch by Peng Haitao <penght@cn.fujitsu.com>.
75903 2012-01-12  Marek Polacek  <polacek@redhat.com>
75905         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
75906         and _GNU_SOURCE.
75908 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75910         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
75911         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
75912         macro to ensure uniqueness of label name.
75913         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75914         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75916 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
75918         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
75920         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
75921         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75922         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75923         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
75925 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
75927         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
75929         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
75930         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75931         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75933         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
75935         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
75936         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75937         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75938         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
75940         * math/bits/math-finite.h: Add ldexp support.
75942 2012-01-10  Marek Polacek  <polacek@redhat.com>
75944         * locale/programs/localedef.h (show_archive_content): Add noreturn
75945         attribute.
75947 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
75949         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
75951 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75953         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
75955         * io/Makefile (headers): Add bits/poll2.h.
75957 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
75959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
75960         typo #include statement.
75962 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75964         * include/sys/cdefs.h: Define __attribute_alloc_size.
75965         * catgets/gencat.c: Add alloc_size attribute and apply consistently
75966         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
75967         * elf/pldd.c: Likewise.
75968         * iconv/iconv_charmap.c: Likewise.
75969         * iconv/iconvconfig.c: Likewise.
75970         * iconv/strtab.c: Likewise.
75971         * locale/programs/locale.c: Likewise.
75972         * locale/programs/localedef.h: Likewise.
75973         * locale/programs/simple-hash.c: Likewise.
75974         * nscd/nscd.h: Likewise.
75975         * nss/makedb.c: Likewise.
75976         * sysdeps/generic/ldconfig.h: Likewise.
75977         * locale/programs/localedef.c: Remove xmalloc prototype.
75978         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75980 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75982         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75983         appropriate.
75985 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75987         * math/Makefile (tests): Add tst-CMPLX.
75988         * math/tst-CMPLX.c: New file.
75990         * math/complex.h (CMPLXL): Fix typo.
75992         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75993         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75994         GLIBC_2.16.
75995         * debug/tst-chk1.c: Add poll and ppoll tests.
75996         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75997         * include/sys/poll.h: Add hidden proto for ppoll.
75998         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75999         * sysdeps/mach/hurd/ppoll.c: Likewise.
76000         * io/ppoll.c: Likewise.
76001         * debug/poll_chk.c: New file.
76002         * debug/ppoll_chk.c: New file.
76003         * include/bits/poll2.h: New file.
76004         * io/bits/poll2.h: New file.
76006         [BZ #1350]
76007         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76009         * configure.in: static is always set to yes.  Remove.
76010         * config.make.in: Don't set build-static.
76011         * Makeconfig: Remove use of build-static.
76012         * dlfcn/Makefile: Likewise.
76013         * elf/Makefile: Likewise.
76014         * math/Makefile: Likewise.
76015         * misc/Makefile: Likewise.
76016         * nptl/Makefile: Likewise.
76017         * sysdeps/mach/hurd/Makefile: Likewise.
76019         * configure.in: PWD_P is not used anymore.
76020         * config.make.in: Remove PWD_P entry.
76022         * configure.in: Remove last remnants of RANLIB.
76023         No need to check for signed size_t anymore.
76024         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76025         and IA-64.
76026         Remove __builtin_expect test because we require at least gcc 3.4.
76027         * aclocal.m4: Likewise.
76029         * wcsmbs/mbrtoc16.c: Implement using towc function.
76030         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76031         * wcsmbs/wcsmbsload.c: Likewise.
76032         * iconv/gconv_simple.c: Likewise.
76033         * iconv/gconv_int.h: Likewise.
76034         * iconv/gconv_builtin.h: Likewise.
76035         * iconv/iconv_prog.c: Remove CHAR16 handling.
76037         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76039         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76041         * configure.in: Remove --with-elf and --enable-bounded options.
76042         Dont set base_machine for ia64.  More non-ELF conditions removed.
76043         Remove testing and setting of leading underscore information.
76044         * config.make.in (build-bounded): Set to no.
76045         * config.h.in: Remove NO_UNDERSCORES entry.
76046         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76047         them.
76048         * csu/start.c: Remove !NO_UNDERSCORE code.
76049         * locale/localeinfo.h: Likewise.
76050         * sysdeps/generic/machine-gmon.h: Likewise.
76051         * sysdeps/generic/sysdep.h: Likewise.
76052         * sysdeps/i386/sysdep.h: Likewise.
76053         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76054         * sysdeps/mach/sysdep.h: Likewise.
76055         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76056         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76057         * sysdeps/sh/sysdep.h: Likewise.
76058         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76059         * sysdeps/unix/i386/sysdep.S: Likewise.
76060         * sysdeps/unix/sparc/start.c: Likewise.
76061         * sysdeps/unix/sparc/sysdep.S: Likewise.
76062         * sysdeps/unix/sparc/sysdep.h: Likewise.
76063         * sysdeps/unix/start.c: Likewise.
76064         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76065         * sysdeps/x86_64/sysdep.h: Likewise.
76067 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76069         [BZ #13553]
76070         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76071         for non-gcc.
76072         * argp/argp-fmtstream.h: Use const instead __const.
76073         * argp/argp.h: Likewise.
76074         * assert/assert.h: Likewise.
76075         * bits/fenv.h: Likewise.
76076         * bits/sched.h: Likewise.
76077         * bits/sigset.h: Likewise.
76078         * bits/sigthread.h: Likewise.
76079         * catgets/nl_types.h: Likewise.
76080         * conform/data/pthread.h-data: Likewise.
76081         * crypt/crypt-private.h: Likewise.
76082         * crypt/crypt.h: Likewise.
76083         * crypt/crypt_util.c: Likewise.
76084         * ctype/ctype.h: Likewise.
76085         * debug/execinfo.h: Likewise.
76086         * debug/mbsnrtowcs_chk.c: Likewise.
76087         * debug/mbsrtowcs_chk.c: Likewise.
76088         * debug/wcsnrtombs_chk.c: Likewise.
76089         * debug/wcsrtombs_chk.c: Likewise.
76090         * debug/wcstombs_chk.c: Likewise.
76091         * dirent/dirent.h: Likewise.
76092         * dlfcn/dlfcn.h: Likewise.
76093         * elf/neededtest4.c: Likewise.
76094         * grp/grp.h: Likewise.
76095         * gshadow/gshadow.h: Likewise.
76096         * iconv/gconv.h: Likewise.
76097         * iconv/gconv_int.h: Likewise.
76098         * iconv/gconv_simple.c: Likewise.
76099         * iconv/iconv.h: Likewise.
76100         * iconv/loop.c: Likewise.
76101         * iconv/skeleton.c: Likewise.
76102         * include/aio.h: Likewise.
76103         * include/aliases.h: Likewise.
76104         * include/argz.h: Likewise.
76105         * include/arpa/inet.h: Likewise.
76106         * include/assert.h: Likewise.
76107         * include/dirent.h: Likewise.
76108         * include/dlfcn.h: Likewise.
76109         * include/execinfo.h: Likewise.
76110         * include/fcntl.h: Likewise.
76111         * include/fenv.h: Likewise.
76112         * include/glob.h: Likewise.
76113         * include/grp.h: Likewise.
76114         * include/libintl.h: Likewise.
76115         * include/mntent.h: Likewise.
76116         * include/netdb.h: Likewise.
76117         * include/pwd.h: Likewise.
76118         * include/rpc/netdb.h: Likewise.
76119         * include/sched.h: Likewise.
76120         * include/search.h: Likewise.
76121         * include/shadow.h: Likewise.
76122         * include/signal.h: Likewise.
76123         * include/stdio.h: Likewise.
76124         * include/stdlib.h: Likewise.
76125         * include/string.h: Likewise.
76126         * include/sys/socket.h: Likewise.
76127         * include/sys/stat.h: Likewise.
76128         * include/sys/statfs.h: Likewise.
76129         * include/sys/statvfs.h: Likewise.
76130         * include/sys/syslog.h: Likewise.
76131         * include/sys/time.h: Likewise.
76132         * include/sys/uio.h: Likewise.
76133         * include/time.h: Likewise.
76134         * include/unistd.h: Likewise.
76135         * include/utmp.h: Likewise.
76136         * include/wchar.h: Likewise.
76137         * include/wctype.h: Likewise.
76138         * inet/aliases.h: Likewise.
76139         * inet/arpa/inet.h: Likewise.
76140         * inet/netinet/ether.h: Likewise.
76141         * inet/netinet/in.h: Likewise.
76142         * intl/libintl.h: Likewise.
76143         * io/bits/fcntl2.h: Likewise.
76144         * io/fcntl.h: Likewise.
76145         * io/ftw.h: Likewise.
76146         * io/sys/poll.h: Likewise.
76147         * io/sys/stat.h: Likewise.
76148         * io/sys/statfs.h: Likewise.
76149         * io/sys/statvfs.h: Likewise.
76150         * io/utime.h: Likewise.
76151         * libio/bits/stdio.h: Likewise.
76152         * libio/bits/stdio2.h: Likewise.
76153         * libio/libio.h: Likewise.
76154         * libio/libioP.h: Likewise.
76155         * libio/stdio.h: Likewise.
76156         * locale/lc-ctype.c: Likewise.
76157         * locale/locale.h: Likewise.
76158         * login/utmp.h: Likewise.
76159         * malloc/arena.c: Likewise.
76160         * malloc/malloc.c: Likewise.
76161         * malloc/malloc.h: Likewise.
76162         * malloc/mcheck.c: Likewise.
76163         * malloc/mtrace.c: Likewise.
76164         * math/bits/mathcalls.h: Likewise.
76165         * math/fenv.h: Likewise.
76166         * math/math_private.h: Likewise.
76167         * misc/bits/error.h: Likewise.
76168         * misc/bits/syslog.h: Likewise.
76169         * misc/err.h: Likewise.
76170         * misc/error.h: Likewise.
76171         * misc/fstab.h: Likewise.
76172         * misc/mntent.h: Likewise.
76173         * misc/regexp.h: Likewise.
76174         * misc/search.h: Likewise.
76175         * misc/sgtty.h: Likewise.
76176         * misc/sys/mman.h: Likewise.
76177         * misc/sys/syslog.h: Likewise.
76178         * misc/sys/uio.h: Likewise.
76179         * misc/sys/xattr.h: Likewise.
76180         * misc/ttyent.h: Likewise.
76181         * nis/rpcsvc/ypclnt.h: Likewise.
76182         * nss/nss.h: Likewise.
76183         * posix/bits/unistd.h: Likewise.
76184         * posix/fnmatch.h: Likewise.
76185         * posix/glob.h: Likewise.
76186         * posix/sched.h: Likewise.
76187         * posix/spawn.h: Likewise.
76188         * posix/sys/wait.h: Likewise.
76189         * posix/unistd.h: Likewise.
76190         * posix/wordexp.h: Likewise.
76191         * pwd/pwd.h: Likewise.
76192         * resolv/netdb.h: Likewise.
76193         * resource/sys/resource.h: Likewise.
76194         * rt/aio.h: Likewise.
76195         * rt/bits/mqueue2.h: Likewise.
76196         * rt/mqueue.h: Likewise.
76197         * shadow/shadow.h: Likewise.
76198         * signal/signal.h: Likewise.
76199         * socket/send.c: Likewise.
76200         * socket/sendto.c: Likewise.
76201         * socket/sys/socket.h: Likewise.
76202         * stdio-common/printf.h: Likewise.
76203         * stdlib/bits/stdlib.h: Likewise.
76204         * stdlib/fmtmsg.h: Likewise.
76205         * stdlib/monetary.h: Likewise.
76206         * stdlib/stdlib.h: Likewise.
76207         * stdlib/ucontext.h: Likewise.
76208         * streams/stropts.h: Likewise.
76209         * string/argz.h: Likewise.
76210         * string/bits/string2.h: Likewise.
76211         * string/string.h: Likewise.
76212         * string/strings.h: Likewise.
76213         * sunrpc/rpc/auth.h: Likewise.
76214         * sunrpc/rpc/auth_des.h: Likewise.
76215         * sunrpc/rpc/clnt.h: Likewise.
76216         * sunrpc/rpc/netdb.h: Likewise.
76217         * sunrpc/rpc/pmap_clnt.h: Likewise.
76218         * sunrpc/rpc/xdr.h: Likewise.
76219         * sysdeps/generic/inttypes.h: Likewise.
76220         * sysdeps/generic/net/if.h: Likewise.
76221         * sysdeps/generic/sys/swap.h: Likewise.
76222         * sysdeps/gnu/net/if.h: Likewise.
76223         * sysdeps/gnu/utmpx.h: Likewise.
76224         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76225         * sysdeps/i386/i486/bits/string.h: Likewise.
76226         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76227         * sysdeps/s390/bits/string.h: Likewise.
76228         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76229         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76230         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76231         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76232         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76233         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76234         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76235         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76236         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76237         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76238         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76239         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76240         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76241         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76242         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76243         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76244         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76245         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76246         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76247         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76248         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76249         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76250         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76251         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76252         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76253         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76254         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76255         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76256         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76257         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76258         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76259         * sysvipc/sys/ipc.h: Likewise.
76260         * sysvipc/sys/msg.h: Likewise.
76261         * sysvipc/sys/sem.h: Likewise.
76262         * sysvipc/sys/shm.h: Likewise.
76263         * termios/termios.h: Likewise.
76264         * time/sys/time.h: Likewise.
76265         * time/time.h: Likewise.
76266         * wcsmbs/bits/wchar2.h: Likewise.
76267         * wcsmbs/uchar.h: Likewise.
76268         * wcsmbs/wchar.h: Likewise.
76269         * wctype/wctype.h: Likewise.
76271         [BZ #13551]
76272         * Makeconfig: Remove all but ELF support including AIX support.
76273         * Makerules: Likewise.
76274         * config.h.in: Likewise.
76275         * config.make.in: Likewise.
76276         * configure: Likewise.
76277         * configure.in: Likewise.
76278         * csu/Makefile: Likewise.
76279         * csu/version.c: Likewise.
76280         * debug/Makefile: Likewise.
76281         * dlfcn/Makefile: Likewise.
76282         * elf/Makefile: Likewise.
76283         * extra-lib.mk: Likewise.
76284         * iconv/Makefile: Likewise.
76285         * include/libc-symbols.h: Likewise.
76286         * include/shlib-compat.h: Likewise.
76287         * resolv/Makefile: Likewise.
76288         * resolv/res_libc.c: Likewise.
76289         * rt/Makefile: Likewise.
76290         * sysdeps/i386/asm-syntax.h: Likewise.
76291         * sysdeps/i386/sysdep.h: Likewise.
76292         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76293         * sysdeps/mach/sysdep.h: Likewise.
76294         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76295         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76296         * sysdeps/s390/asm-syntax.h: Likewise.
76297         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76298         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76299         * sysdeps/sh/sysdep.h: Likewise.
76300         * sysdeps/unix/sparc/sysdep.h: Likewise.
76301         * sysdeps/wordsize-32/divdi3.c: Likewise.
76302         * sysdeps/x86_64/sysdep.h: Likewise.
76304         * argp/Versions: Remove _argp_unlock_xxx.
76306         [BZ #13559]
76307         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76308         * abilist/libBrokenLocale.abilist: Likewise.
76309         * abilist/libanl.abilist: Likewise.
76310         * abilist/libc.abilist: Likewise.
76311         * abilist/libcrypt.abilist: Likewise.
76312         * abilist/libdl.abilist: Likewise.
76313         * abilist/libm.abilist: Likewise.
76314         * abilist/libnsl.abilist: Likewise.
76315         * abilist/libpthread.abilist: Likewise.
76316         * abilist/libresolv.abilist: Likewise.
76317         * abilist/librt.abilist: Likewise.
76318         * abilist/libthread_db.abilist: Likewise.
76319         * abilist/libutil.abilist: Likewise.
76320         * abilist/libnss_db.abilist: New file.
76322         * scripts/abilist.awk: Add support for indirect functions.
76324         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76326         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76328         * shlib-versions: Remove entries for ports architectures.
76330         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76331         files in ports.
76332         * elf/stackguard-macros.h: Remove support for IA-64.
76333         * elf/tst-auditmod1.c: Likewise.
76334         * sysdeps/generic/ldsodefs.h: Likewise.
76336         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76337         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76338         configure files.
76340         [BZ #13552]
76341         * configure.in: Remove --enable-omitfp support.
76342         * FAQ.in: Adjust.
76343         * config.make.in: Likewise.
76344         * Makeconfig: Likewise.
76345         * manual/install.texi: Likewise.
76347         In case anyone cares, the IA-64 architecture could move to ports.
76348         * sysdeps/ia64/*: Removed.
76349         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76350         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76352         [BZ #13555]
76353         * configure.in: Remove entries for unsupported architectures.
76355         [BZ #13533]
76356         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76357         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76358         routines.
76359         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76360         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76361         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76362         fall back to using wcrtomb.
76363         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76364         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76365         renaming.
76366         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76367         * wcsmbs/tst-c16c32-1.c: New file.
76369         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76370         local variable.
76372         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76374         * elf/tst-unique3.cc: Add explicit declaration of gets.
76375         * elf/tst-unique3lib.cc: Likewise.
76376         * elf/tst-unique3lib2.cc: Likewise.
76377         * elf/tst-unique4.cc: Likewise.
76379         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76381 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76383         [BZ #13566]
76384         * assert/assert.h (static_assert): Don't define for C++.
76385         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76386         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76388 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76390         * iconv/loop.c (single loop): Fix assertion in storing of
76391         remaining bytes.
76393         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76395 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76397         * posix/getconf.c: Update copyright year.
76398         * nss/getent.c: Likewise.
76399         * nss/makedb.c: Likewise.
76400         * iconv/iconvconfig.c: Likewise.
76401         * iconv/iconv_prog.c: Likewise.
76402         * elf/ldconfig.c: Likewise.
76403         * elf/pldd.c: Likewise.
76404         * elf/sotruss.ksh: Likewise.
76405         * catgets/gencat.c: Likewise.
76406         * csu/version.c: Likewise.
76407         * elf/ldd.bash.in: Likewise.
76408         * elf/sprof.c (print_version): Likewise.
76409         * locale/programs/locale.c: Likewise.
76410         * locale/programs/localedef.c: Likewise.
76411         * login/programs/pt_chown.c: Likewise.
76412         * nscd/nscd.c (print_version): Likewise.
76413         * debug/xtrace.sh: Likewise.
76414         * malloc/memusage.sh: Likewise.
76415         * malloc/mtrace.pl: Likewise.
76416         * debug/catchsegv.sh: Likewise.
76418 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76420         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76421         pure attribute.
76423 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76425         [BZ #13533]
76426         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76427         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76428         transformations.
76429         * iconv/gconv_int.h: Likewise.
76430         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76431         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76432         from libc for GLIBC_2.16.
76433         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76434         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76435         * wcsmbs/uchar.h: Really define mbstate_t.
76436         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76437         * wcsmbs/c16rtomb.c: New file.
76438         * wcsmbs/mbrtoc16.c: New file.
76439         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76440         for C/POSIX locale.
76441         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76442         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76444         * wcsmbs/wchar.h: Add missing __restrict.
76446 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76448         [BZ #13532]
76449         * time/Makefile (routines): Add timespec_get.
76450         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76451         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76452         timespec for ISO C11.
76453         * time/timespec_get.c: New file.
76454         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76455         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76457         [BZ #13531]
76458         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76459         * stdlib/stdlib.h: Declare aligned_alloc.
76460         * Versions.def: Add GLIBC_2.16 for libc.
76461         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76463         [BZ 13527]
76464         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76465         ISO C11.
76467         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76468         code.
76470         [BZ #13528]
76471         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76473         [BZ #13529]
76474         * assert/assert.h (static_assert): Define.
76476         * version.h: Update for 2.16 development version.
76478         [BZ #13526]
76479         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76480         _ISOC11_SOURCE.
76482         * version.h (RELEASE): Bump for 2.15 release.
76483         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76485         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76486         Patch by Marek Polacek <mpolacek@redhat.com>.
76488         * bits/byteswap.h: Protect long long constants with __extension__.
76489         * sysdeps/i386/bits/byteswap.h: Likewise.
76490         * sysdeps/ia64/bits/byteswap.h: Likewise.
76491         * sysdeps/s390/bits/byteswap.h: Likewise.
76492         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76494 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76496         [BZ #13540]
76497         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76498         destination buffer.
76499         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76501 2011-12-23  Marek Polacek  <polacek@redhat.com>
76503         * elf/dl-addr.c (determine_info): Add inline keyword.
76504         * elf/tst-auditmod4b.c (check_avx): Likewise.
76505         * elf/tst-auditmod6b.c (check_avx): Likewise.
76506         * elf/tst-auditmod6c.c (check_avx): Likewise.
76507         * elf/tst-auditmod7b.c (check_avx): Likewise.
76509 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76511         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76512         !__SSE_MATH__.
76514 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76516         [BZ #13540]
76517         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76518         processing for last bytes.
76520 2011-08-06  Bruno Haible  <bruno@clisp.org>
76522         [BZ #13061]
76523         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76524         U+0385, not to U+1FEE.
76526         [BZ #13062]
76527         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76528         entry for U+00A5 U+0301.
76530 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76532         [BZ #13166]
76533         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76534         buffer for the output is too small.
76536         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76537         optimization.
76539         [BZ #13185]
76540         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76541         SSE flags if possible.
76543 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76545         [BZ #13540]
76546         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76547         processing for last bytes.
76549 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76551         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76552         (syscall-list-default-options, syscall-list-default-condition)
76553         (syscall-list-includes): Define.
76554         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76555         list of ABIs and options and #if conditions for each ABI.  Do not
76556         handle common syscalls between ABIs specially.
76557         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76558         Remove.
76559         (syscall-list-variants, syscall-list-32bit-options)
76560         (syscall-list-32bit-condition, syscall-list-64bit-options)
76561         (syscall-list-64bit-condition): Define.
76562         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76563         (syscall-list-variants, syscall-list-32bit-options)
76564         (syscall-list-32bit-condition, syscall-list-64bit-options)
76565         (syscall-list-64bit-condition): Define.
76566         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76567         Remove.
76568         (syscall-list-variants, syscall-list-32bit-options)
76569         (syscall-list-32bit-condition, syscall-list-64bit-options)
76570         (syscall-list-64bit-condition): Define.
76571         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76572         Remove.
76573         (syscall-list-variants, syscall-list-32bit-options)
76574         (syscall-list-32bit-condition, syscall-list-64bit-options)
76575         (syscall-list-64bit-condition): Define.
76577 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76579         * locale/iso-639.def: Add brx entry.
76581         [BZ #13328]
76582         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76583         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76585         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76586         __feraiseexcept_renamed.
76588 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76590         [BZ #13538]
76591         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76592         EPOLLET with unsigned values.
76593         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76594         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76596         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76597         to large cancellation.
76598         * math/s_cacoshf.c: Likewise.
76599         * math/s_cacoshl.c: Likewise.
76601 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76603         [BZ #13305]
76604         [BZ #12786]
76605         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76606         * math/s_cacoshf.c: Likewise.
76607         * math/s_cacoshl.c: Likewise.
76609 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76611         [BZ #13439]
76612         * iconv/gconv.h: Define __GCONV_SWAP.
76613         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76614         * iconvdata/utf-16.c: Likewise.
76615         * iconvdata/utf-32.c: Likewise.
76617 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76619         [BZ #13524]
76620         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76621         numerator after shifting it by one limb.
76623 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76625         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76626         under [__USE_EXTERN_INLINES].
76628 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76630         [BZ #13446]
76631         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76633 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76635         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76636         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76637         optimized code.
76638         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76639         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76640         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76641         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76642         for strncasecmp/strncasecmp_l compilation.
76643         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76644         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76646 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76648         [BZ #13484]
76649         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76650         of __asm__.
76652 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76654         [BZ #13506]
76655         * time/tzfile.c (__tzfile_read): Check values from file header.
76657 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76659         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76660         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76661         * powerpc/powerpc32/dl-start.S: Likewise.
76662         * powerpc/powerpc32/elf/start.S: Likewise.
76663         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76664         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76665         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76666         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76667         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76668         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76669         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76670         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76671         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76672         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76673         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76674         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76675         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76676         * powerpc/powerpc32/memset.S: Likewise.
76677         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76678         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76679         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76680         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76681         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76682         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76683         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76684         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76685         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76686         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76687         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76688         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76689         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76691 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76693         * math/libm-test.inc: Added more nearbyint tests.
76694         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76695         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76696         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76697         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76699 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76701         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76702         FD_CLOEXEC.
76704 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76706         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76707         Add wcscpy-ssse3 wcscpy-c.
76708         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76709         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76710         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76711         * sysdeps/x86_64/wcschr.S: New file.
76712         * sysdeps/x86_64/wcsrchr.S: New file.
76713         * string/test-strcmp.c: Remove checking of wcscmp function for
76714         wrong alignments.
76715         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76716         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76717         wcsrchr-sse2 wcsrchr-c.
76718         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76719         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76720         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76721         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76722         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76723         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76724         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76725         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76726         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76727         * wcsmbc/wcschr.c (WCSCHR): New macro.
76729 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76731         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76732         * wcsmbs/test-wcsrchr.c: New file.
76733         * string/test-strrchr.c: Add wcsrchr support.
76734         (WIDE): New macro.
76735         * wcsmbs/test-wcscpy.c: New file.
76736         * string/test-strcpy.c: Add wcscpy support.
76737         (WIDE): New macro.
76739 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76741         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76742         the inner loop.
76744 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76746         [BZ #13472]
76747         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76749 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76751         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76752         Minor optimizations.
76754         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76755         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76756         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76758 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76760         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76761         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76762         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76763         for gcc to avoid warnings.
76764         * inet/Makefile (tests): Add tst-checks.
76765         * inet/tst-checks.c: New file.
76767         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76768         warning.
76770         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76771         __wmemcmp_sse2.
76773         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76774         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76776         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76778 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76780         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76781         problem.
76783         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76785 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76787         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76788         conditional on GCC version.
76789         (__arch_compare_and_exchange_val_8_acq)
76790         (__arch_compare_and_exchange_val_16_acq)
76791         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76792         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76793         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76795 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
76797         * sysdeps/sh/backtrace.c: New file.
76799 2011-12-02  Andreas Schwab  <schwab@redhat.com>
76801         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
76802         parenthesis.
76804 2011-12-01  Andreas Schwab  <schwab@redhat.com>
76806         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
76807         falling back to utime.
76809 2011-11-30  Andreas Schwab  <schwab@redhat.com>
76811         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
76812         expectations for float.
76814 2011-11-29  Andreas Schwab  <schwab@redhat.com>
76816         * locale/weight.h (findidx): Add parameter len.
76817         * locale/weightwc.h (findidx): Likewise.
76818         * posix/fnmatch_loop.c (FCT): Adjust caller.
76819         * posix/regcomp.c (build_equiv_class): Likewise.
76820         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
76821         * posix/regexec.c (check_node_accept_bytes): Likewise.
76822         * string/strcoll_l.c (STRCOLL): Likewise.
76823         * string/strxfrm_l.c (STRXFRM): Likewise.
76825 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
76827         * Makefile.in: Remove CVSOPT handling.
76828         * configure.in: Remove use of AC_REVISION.
76829         * iconvdata/Makefile (distribute): No need to filter out CVS.
76830         * scripts/list-sources.sh: Remove CVS, subversion and monotone
76831         handling.
76833 2011-11-16  Andreas Schwab  <schwab@redhat.com>
76835         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
76836         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
76837         [USE_AS_STRNCASECMP_L]: Likewise.
76838         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
76839         NO_TLS_DIRECT_SEG_REFS.
76840         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
76841         Fix argument offsets for non-PIC.
76842         [USE_AS_STRNCASECMP_L]: Likewise.
76843         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
76844         NO_TLS_DIRECT_SEG_REFS.
76846 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76848         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
76849         O_CLOEXEC.
76850         * locale/loadlocale.c (_nl_load_locale): Likewise.
76852 2011-11-15  Andreas Schwab  <schwab@redhat.com>
76854         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
76855         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
76856         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
76857         (SYSCALL_GETTIME): Set errno on error.
76859         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
76860         count references to noai6ai_cached.
76862 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76864         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
76866         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
76867         FD_CLOEXEC for /proc/self/maps.
76869         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
76870         FD_CLOEXEC for /proc/meminfo.
76872         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
76873         gai.conf.
76875         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
76876         FD_CLOEXEC for given file.
76878         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
76880         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
76881         FD_CLOEXEC for /etc/hosts.
76882         (_gethtent): Likewise.
76884         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
76886         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
76887         cancellation and set FD_CLOEXEC for /etc/netgroup.
76889         * nss/nss_files/files-key.c (search): Don't allow cancellation when
76890         reading /etc/publickey.
76892         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
76893         allow cancellation when reading /etc/group.
76895         * nss/nss_files/files-alias.c (internal_setent): Don't allow
76896         cancellation.
76897         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
76899         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
76900         when using data file.
76902         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
76904         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
76905         (write_nis_obj): Use "c" and "e" in fopen.
76907         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
76909         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
76911         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
76913         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
76915         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
76916         locale.alias.
76918         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
76920         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
76922         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
76924         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
76925         file parsing and set FD_CLOEXEC.
76927 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76929         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
76931 2011-11-14  Andreas Schwab  <schwab@redhat.com>
76933         * malloc/arena.c (arena_get2): Don't call reused_arena when
76934         _int_new_arena failed.
76936 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76938         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
76939         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
76940         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
76941         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76942         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76943         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
76944         to compile strcasecmp and strncasecmp.
76945         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
76946         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
76948         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
76950 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
76952         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
76953         locale-defines.sym to gen-as-const-headers.
76954         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
76955         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
76956         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
76957         to compile strcasecmp and strncasecmp.
76958         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
76959         strcasecmp_l and strncasecmp_l.
76960         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
76961         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
76962         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
76963         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
76964         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
76965         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
76966         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
76967         * sysdeps/i386/i686/multiarch/strncase.S: New file.
76968         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
76969         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
76970         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
76972 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
76974         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
76975         result of SYSDEP_GETTIME_CPU to retval.
76976         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76977         parameter list to macro.  Remove trailing semicolon.  Adjust users.
76979         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76980         variable.
76982         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76983         mantissa words.
76984         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76986         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76987         from unused variable.
76989         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76990         DWARF definitions.
76991         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76992         for assembling.
76994         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76995         over namespaces.
76997         * sunrpc/rpc_prot.c (rejected): Fix case value.
76999         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77000         unsigned long long int to avoid warnings in shift.
77002         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77003         of use of trans.
77004         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77005         variable tmp.
77007         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77008         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77009         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77011         * nis/nis_table.c (nis_list): Use variable of correct type for
77012         result of __follow_path call.
77014 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77016         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77017         of math functions ceil, trunc, floor, round, and sqrt, when
77018         avaliable on the platform.
77019         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77020         name clash.
77021         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77022         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77023         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77025 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77027         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77028         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77030 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77032         * include/unistd.h: Fix __readlink return type.
77033         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77035 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77037         * stdlib/ucontext.h: Undo last change for makecontext.
77039 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77041         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77043         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77044         * setjmp/setjmp.h: Mark functions as non-leaf.
77045         * setjmp/bits/setjmp2.h: Likewise.
77046         * stdlib/ucontext.h: Likewise.
77048 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77050         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77051         (reused_arena): Don't check arena limit.
77052         (arena_get2): Atomically check arena limit.
77054 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77056         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77057         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77060         instructions.
77062 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77064         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77065         handler when locking.
77067         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77068         Fix size of allocated buffer.
77070 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77072         [BZ #10103]
77073         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77074         declarations for long double functions.
77075         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77077         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77079 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77081         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77082         installed.
77084         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77085         is disabled.
77087 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77089         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77091 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77093         * include/alloca.h (stackinfo_alloca_round): Define.
77094         (extend_alloca): Use it.
77095         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77096         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77097         here.
77099         * scripts/check-local-headers.sh: Ignore libaudit.h.
77101         * nscd/Makefile (extra-objs): Make recursively expanded.
77103 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77105         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77106         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77108         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77109         * posix/tst-rfc3484-2.c: Likewise.
77110         * posix/tst-rfc3484-3.c: Likewise.
77112         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77113         process_vm_writev.
77114         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77115         process_vm_writev.
77116         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77117         process_vm_writev from libc using GLIBC_2.15 version.
77119         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77121 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77123         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77124         stack usage.
77126 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77128         [BZ #13367]
77129         * nss/getent.c (initgroups_keys): Show error message in case no group
77130         names are given.
77132         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77133         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77134         __bump_nl_timestamp.
77135         * nscd/connections (nscd_init): When host database is served open
77136         netlink socket and request notification about configuration changes.
77137         (main_loop_poll): Track netlink file descriptor and bump timestamp
77138         in case data becomes available.
77139         (main_loop_epoll): Likewise.
77140         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77141         (database_pers_head): Add extra_data fileds.
77142         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77143         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77144         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77145         Adjust caller.
77146         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77147         in6ai data, call __free_in6ai.
77148         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77149         Add -DHAVE_NETLINK.
77150         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77151         interface information.  Reuse previous data if netlink timestamp
77152         is not changed.
77153         (__bump_nl_timestamp): New function.
77154         (__free_in6ai): New function.
77156 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77158         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77159         close_not_cancel_no_status here.
77160         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77162 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77164         [BZ #13276]
77165         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77166         return value.
77168         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77169         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77170         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77172 2011-07-03  Andreas Jaeger  <aj@suse.de>
77174         [BZ #10709]
77175         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77176         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77177         * math/libm-test.inc (sin_test): Add test case.
77179 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77181         [BZ #13337]
77182         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77183         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77185         * elf/chroot_canon.c (chroot_canon): Cleanups.
77187         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77189         [BZ #13335]
77190         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77191         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77193         * string/test-strchr.c: Make usable for strchrnul testing.
77194         * string/test-strchrnul.c: New file.
77195         * string/Makefile (strop-tests): Add strchrnul.
77197         * po/it.po: Update from translation team.
77198         * po/es.po: Likewise.
77200 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77202         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77203         the three constants needed as parameters.  Drop the others.
77204         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77205         __m128i_strloadu_tolower.
77206         Create and initialize variable zero and use it in all the places
77207         where _mm_setzero_si128 was used.
77209         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77210         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77211         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77212         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77213         anymore.
77214         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77215         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77216         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77217         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77218         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77219         __mpranred, __mptan.
77220         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77221         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77222         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77223         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77224         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77225         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77226         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77227         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77228         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77230 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77232         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77233         redefine if SHARED.
77234         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77236         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77237         wide char related routines to wcsmbs subdir.
77239 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77241         [BZ #13344]
77242         * misc/sys/cdefs.h (__THROWNL): Define.
77243         * posix/unistd.h: Use __THREADNL instead of __THREAD
77244         for memory synchronization functions.
77246 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77248         [BZ #13349]
77249         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77250         doesn't exist.
77251         * manual/stdio.texi (Obstack Streams): Node removed.
77253 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77255         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77256         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77257         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77259         * math/math_private.h (math_force_eval): Allow non-addressable
77260         arguments.
77261         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77263 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77265         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77266         file is not needed.
77268         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77269         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77270         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77271         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77272         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77273         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77274         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77275         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77276         Add AVX variants.
77277         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77278         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77279         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77280         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77281         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77282         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77283         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77284         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77285         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77286         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77287         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77288         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77289         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77290         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77291         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77292         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77293         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77294         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77295         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77297         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77298         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77300         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77301         place.  Use VEX encoding when compiling for AVX.
77303 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77305         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77306         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77308         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77310 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77312         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77313         useless if() expression.
77314         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77315         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77316         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77317         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77318         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77319         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77320         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77321         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77322         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77323         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77324         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77325         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77326         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77327         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77328         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77329         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77330         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77331         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77332         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77334         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77336 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77338         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77339         condition.
77340         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77342 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77344         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77345         .text section.  Avoid duplicate constants.
77346         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77347         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77348         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77349         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77350         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77351         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77352         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77353         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77354         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77355         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77356         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77357         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77358         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77359         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77360         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77361         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77362         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77363         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77364         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77365         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77366         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77367         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77368         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77369         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77370         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77371         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77372         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77373         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77374         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77375         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77376         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77377         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77378         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77379         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77380         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77381         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77382         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77383         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77384         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77385         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77386         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77387         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77388         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77389         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77390         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77392 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77394         * sysdeps/x86_64/dla.h: Move to ...
77395         * sysdeps/x86_64/fpu/dla.h: ...here.
77396         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77397         situations.  Use __builtin_fma only for gcc 4.6 and up.
77399         * config.make.in: Add have-mfma4 entry.
77400         * configure.in: Substitute libc_cv_cc_fma4.
77401         * math/Makefile (dbl-only-routines): Add sincostab.
77402         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77403         Use __sincostab not sincos.
77404         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77405         name is a macro.
77406         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77409         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77410         using __copysign.
77411         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77412         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77413         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77414         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77415         and __inv.
77416         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77417         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77418         __copysign.
77419         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77420         define aliases when function name is a macro.
77421         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77422         sysdeps/ieee754/dbl-64/sincos.tbl.
77423         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77424         fma4-enabled routines.
77425         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77426         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77427         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77428         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77429         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77430         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77431         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77432         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77433         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77434         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77435         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77436         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77437         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77438         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77439         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77440         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77441         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77442         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77443         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77444         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77445         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77446         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77447         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77448         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77449         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77450         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77451         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77452         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77453         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77454         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77456         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77457         rename.
77458         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77459         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77464         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77465         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77467 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77469         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77471 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77473         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77475         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77476         prediction.
77477         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77479         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77480         Remove unused variable magic_bits.
77481         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77483         * string/strnlen.c: Define and use STRNLEN macro.
77484         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77485         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77486         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77487         * wcsmbs/wcslen.c: Define and use WCSLEN.
77488         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77489         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77490         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77491         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77492         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77493         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77494         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77496 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77499         strnlen-sse2-no-bsf.
77500         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77501         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77502         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77503         Add strnlen support.
77504         (USE_AS_STRNLEN): New macro.
77505         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77506         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77507         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77508         * sysdeps/x86_64/wcslen.S: New file.
77510 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77512         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77513         XMM-moves are used for copying on small sizes.
77515 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77517         * wcsmbs/Makefile (strop-tests): Add wcschr.
77518         * wcsmbs/test-wcschr.c: New file.
77519         * string/test-strchr.c: Update.
77520         Add wcschr support.
77521         (WIDE): New macro.
77523 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77525         * wcsmbs/Makefile (strop-tests): Add wcslen.
77526         * wcsmbs/test-wcslen.c: New file.
77527         * string/test-strlen.c: Update.
77528         Add wcslen support.
77529         (WIDE): New macro.
77531 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77533         * po/it.po: Update from translation team.
77535 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77537         * sysdeps/x86_64/wcscmp.S: Update.
77538         Fix wrong comparison semantics.
77539         wcscmp shall use signed comparison not unsigned.
77540         Don't use substraction to avoid overflow bug.
77541         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77542         * wcsmbc/wcscmp.c: Likewise.
77543         * string/test-strcmp.c: Likewise.
77544         Add new tests to check cases with negative values.
77546 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77548         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77549         * sysdeps/x86_64/dla.h: ...here.  New file.
77550         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77551         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77554         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77555         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77557         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77558         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77560 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77562         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77563         __ynl_finite aliases.
77565 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77569         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77570         define DLA_FMA.
77571         [DLA_FMA] (EMULV): Use DLA_FMA.
77572         [DLA_FMA] (MUL12): Use EMULV.
77573         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77574         that are not needed.
77575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77579         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77580         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77581         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77583 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77585         * math/s_nan.c: Undef __nan.
77586         * math/s_nanf.c: Undef __nanf.
77587         * math/s_nanl.c: Undef __nanl.
77588         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77589         "math_private.h".
77591 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77593         * math/s_catan.c: Add branch predictions.
77594         * math/s_catanf.c: Likewise.
77595         * math/s_catanh.c: Likewise.
77596         * math/s_catanhf.c: Likewise.
77597         * math/s_catanhl.c: Likewise.
77598         * math/s_catanl.c: Likewise.
77599         * math/s_cexp.c: Likewise.
77600         * math/s_cexpf.c: Likewise.
77601         * math/s_cexpl.c: Likewise.
77602         * math/s_clog.c: Likewise.
77603         * math/s_clog10.c: Likewise.
77604         * math/s_clog10f.c: Likewise.
77605         * math/s_clog10l.c: Likewise.
77606         * math/s_clogf.c: Likewise.
77607         * math/s_clogl.c: Likewise.
77608         * math/s_csqrt.c: Likewise.
77609         * math/s_csqrtf.c: Likewise.
77610         * math/s_csqrtl.c: Likewise.
77611         * math/s_ctanf.c: Likewise.
77612         * math/s_ctanh.c: Likewise.
77613         * math/s_ctanhf.c: Likewise.
77614         * math/s_ctanhl.c: Likewise.
77615         * math/s_ctanl.c: Likewise.
77617         * math/math_private.h: Define __nan, __nanf, __nanl.
77618         * math/s_cacosh.c: Include <math_private.h>.
77619         * math/s_cacoshl.c: Likewise.
77620         * math/s_casinh.c: Likewise.
77621         * math/s_casinhf.c: Likewise.
77622         * math/s_casinhl.c: Likewise.
77623         * math/s_ccos.c: Rely entire on ccosh.
77624         * math/s_ccosf.c: Rely entire on ccoshf.
77625         * math/s_ccosl.c: Rely entirely on ccoshl.
77626         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77627         Remove tests for FE_INVALID.
77628         * math/s_ccoshf.c: Likewise.
77629         * math/s_ccoshl.c: Likewise.
77630         * math/s_csin.c: Likewise.
77631         * math/s_csinf.c: Likewise.
77632         * math/s_csinh.c Likewise.
77633         * math/s_csinhf.c: Likewise.
77634         * math/s_csinhl.c: Likewise.
77635         * math/s_csinl.c: Likewise.
77636         * math/s_ctan.c: Likewise.
77637         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77638         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77639         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77641 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77644         compilation problems.
77646         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77647         __builtin_expect.
77649 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77651         * sysdeps/i386/configure.in: Test for -mfma4 option.
77652         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77653         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77654         COMMON_CPUID_INDEX_80000001.
77655         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77656         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77657         use it if FMA3 is not supported.
77658         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77660         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77661         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77663 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77665         [BZ #12892]
77666         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77667         it would create a cycle with a link time dependency.
77669 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77671         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77672         instruction.
77673         * string/Makefile (strop-tests): Add rawmemchr.
77674         * string/test-rawmemchr.c: New file.
77676         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77677         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77678         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77679         when compiling str{,n}casecmp and when AVX is available.  Hook up
77680         new optimized code in initializers.
77682 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77684         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77685         __feraiseexcept instead of feraiseexcept.
77687 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77689         * math/math_private.h: Define defaults for libc_fetestexcept and
77690         libc_feupdateenv.
77691         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77692         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77693         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77694         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77695         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77696         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77697         libc_fetestexcept and libc_feupdateenv.
77699         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77700         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77701         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77702         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77703         libc_feholdexcept_setround.
77705         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77706         Add s_nearbyint-c and s_nearbyintf-c.
77707         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77708         nearbyintf inlines.
77709         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77710         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77711         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77712         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77714         * math/math_private.h: Define defaults for libc_fegetround,
77715         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77716         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77717         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77718         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77719         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77720         standard functions.
77721         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77722         Remove comments and hacks for old compiler versions.
77723         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77724         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77725         libc_feholdexceptl.
77727 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77729         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77730         (__feraiseexcept_renamed): Add __NTH.
77731         (feraiseexcept): Add __NTH.  Rename local variables to fix
77732         namespace violations.
77734 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77736         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77738         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77740         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77741         recently added interfaces.
77742         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77744         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77745         about macro parameter expansion.
77747         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77748         __NO_MATH_INLINES is defined.  Cleanups.
77750         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77751         and __floorf is target has SSE4.1.
77752         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77753         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77754         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77755         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77757         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77758         name.
77759         (floorf): Likewise.
77761         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77763 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77765         * misc/sys/cdefs.h: Fix last change.
77767         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77768         database lookup.
77770 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77772         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77774         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77775         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77776         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77777         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77778         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77779         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77780         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77781         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77782         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77783         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77784         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77785         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77786         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77787         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77788         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77789         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77790         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77791         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77792         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77793         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77794         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77795         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77797         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
77798         ceil, ceilf, floor, floorf.
77800         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
77801         Perform IRELATIVE relocations last.
77803         * elf/do-rel.h: Add another parameter nrelative, replacing the
77804         local variable with the same name.  Change name of the function
77805         to end in Rel or Rela (uppercase).
77806         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
77807         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
77808         elf_dynamic_do_##reloc function.
77810 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77812         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
77813         is sufficient, at least on modern CPUs.
77815         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
77817         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
77818         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
77820         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
77821         __expl_finite.
77822         * math/bits/math-finite.h: Add entries for exp.
77823         * math/e_expl.c: Add __*_finite alias.
77824         * sysdeps/i386/fpu/e_exp.S: Likewise.
77825         * sysdeps/i386/fpu/e_expf.S: Likewise.
77826         * sysdeps/i386/fpu/e_expl.c: Likewise.
77827         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77828         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77829         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
77830         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
77831         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
77832         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77833         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77835         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
77836         is sufficient, at least on modern CPUs.
77838         * ctype/ctype-info.c (__ctype_init): Define.
77839         * include/ctype.h (__ctype_init): Declare.
77840         (__ctype_b_loc): The variable is always initialized.
77841         (__ctype_toupper_loc): Likewise.
77842         (__ctype_tolower_loc): Likewise.
77843         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
77844         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
77846 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
77848         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
77850         * configure.in: Also look in $cxxmachine/include for C++ system
77851         headers.
77853 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77855         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
77856         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
77857         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
77858         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
77859         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
77860         (USE_AS_WMEMCMP): New macro.
77861         Fixing indents.
77862         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
77863         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
77864         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
77865         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
77866         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77867         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
77868         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
77869         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
77870         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
77871         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
77872         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
77873         (USE_AS_WMEMCMP): New macro.
77874         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
77875         * sysdeps/string/test-memcmp.c: Update.
77876         Fix simple_wmemcmp.
77877         Add new tests.
77878         * wcsmbs/wmemcmp.c: Update.
77879         (WMEMCMP): New macro.
77880         Fix overflow bug.
77882 2011-10-12  Andreas Jaeger  <aj@suse.de>
77884         [BZ #13268]
77885         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
77887 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77889         * libio/iofwide.c (do_length): Avoid warning.
77891         * ctype/ctype.h (__isctype_f): Add missing __THROW.
77893 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
77895         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
77897         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
77898         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
77899         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
77900         * sysdeps/i386/i686/fpu/e_log.S: New file.
77901         * sysdeps/i386/i686/fpu/e_logf.S: New file.
77902         * sysdeps/i386/i686/fpu/e_logl.S: New file.
77904         * ctype/ctype.h: Add support for inlined isXXX functions when
77905         compiling C++ code.
77907 2011-10-14  Andreas Schwab  <schwab@redhat.com>
77909         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77911         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
77913 2011-10-13  Roland McGrath  <roland@hack.frob.com>
77915         [BZ #13291]
77916         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
77918 2011-10-13  Andreas Schwab  <schwab@redhat.com>
77920         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
77921         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
77922         feraiseexcept.
77924         * sysdeps/x86_64/memrchr.S: Check for zero size.
77926         * string/stratcliff.c: Add memrchr tests.
77928 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77930         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77931         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
77932         rawmemchr-sse2 rawmemchr-sse2-bsf.
77933         * sysdeps/i386/i686/multiarch/memchr.S: New file.
77934         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
77935         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
77936         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
77937         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
77938         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
77939         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
77940         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
77941         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
77942         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
77943         * string/memrchr.c (MEMRCHR): New macro.
77945 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
77947         Add integration with gcc's -ffinite-math-only and optimize wrapper
77948         functions in libm.
77949         * Versions.def: Define GLIBC_2.15 version for libm.
77950         * math/Makefile (headers): Add bits/math-finite.h.
77951         * math/bits/math-finite.h: New file.
77952         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
77953         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
77954         * math/e_acoshl.c: Add __*_finite alias.
77955         * math/e_acosl.c: Likewise.
77956         * math/e_asinl.c: Likewise.
77957         * math/e_atan2l.c: Likewise.
77958         * math/e_atanhl.c: Likewise.
77959         * math/e_coshl.c: Likewise.
77960         * math/e_exp10.c: Likewise.
77961         * math/e_exp10f.c: Likewise.
77962         * math/e_exp10l.c: Likewise.
77963         * math/e_exp2l.c: Likewise.
77964         * math/e_fmodl.c: Likewise.
77965         * math/e_gammal_r.c: Likewise.
77966         * math/e_hypotl.c: Likewise.
77967         * math/e_j0l.c: Likewise.
77968         * math/e_j1l.c: Likewise.
77969         * math/e_jnl.c: Likewise.
77970         * math/e_lgammal_r.c: Likewise.
77971         * math/e_log10l.c: Likewise.
77972         * math/e_log2l.c: Likewise.
77973         * math/e_logl.c: Likewise.
77974         * math/e_powl.c: Likewise.
77975         * math/e_sinhl.c: Likewise.
77976         * math/e_sqrtl.c: Likewise.
77977         * math/e_scalb.c: Completely rewritten and optimized.
77978         * math/e_scalbf.c: Likewise.
77979         * math/e_scalbl.c: Likewise.
77980         * math/w_acos.c: Likewise.
77981         * math/w_acosf.c: Likewise.
77982         * math/w_acosl.c: Likewise.
77983         * math/w_acosh.c: Likewise.
77984         * math/w_acoshf.c: Likewise.
77985         * math/w_acoshl.c: Likewise.
77986         * math/w_asin.c: Likewise.
77987         * math/w_asinf.c: Likewise.
77988         * math/w_asinl.c: Likewise.
77989         * math/w_atan2.c: Likewise.
77990         * math/w_atan2f.c: Likewise.
77991         * math/w_atan2l.c: Likewise.
77992         * math/w_atanh.c: Likewise.
77993         * math/w_atanhf.c: Likewise.
77994         * math/w_atanhl.c: Likewise.
77995         * math/w_exp10.c: Likewise.
77996         * math/w_exp10f.c: Likewise.
77997         * math/w_exp10l.c: Likewise.
77998         * math/w_fmod.c: Likewise.
77999         * math/w_fmodf.c: Likewise.
78000         * math/w_fmodl.c: Likewise.
78001         * math/w_j0.c: Likewise.
78002         * math/w_j0f.c: Likewise.
78003         * math/w_j0l.c: Likewise.
78004         * math/w_j1.c: Likewise.
78005         * math/w_j1f.c: Likewise.
78006         * math/w_j1l.c: Likewise.
78007         * math/w_jn.c: Likewise.
78008         * math/w_jnf.c: Likewise.
78009         * math/w_log.c: Likewise.
78010         * math/w_logf.c: Likewise.
78011         * math/w_logl.c: Likewise.
78012         * math/w_log10.c: Likewise.
78013         * math/w_log10f.c: Likewise.
78014         * math/w_log10l.c: Likewise.
78015         * math/w_log2.c: Likewise.
78016         * math/w_log2f.c: Likewise.
78017         * math/w_log2l.c: Likewise.
78018         * math/w_pow.c: Likewise.
78019         * math/w_powf.c: Likewise.
78020         * math/w_powl.c: Likewise.
78021         * math/w_remainder.c: Likewise.
78022         * math/w_remainderf.c: Likewise.
78023         * math/w_remainderl.c: Likewise.
78024         * math/w_scalb.c: Likewise.
78025         * math/w_scalbf.c: Likewise.
78026         * math/w_scalbl.c: Likewise.
78027         * math/w_sqrt.c: Likewise.
78028         * math/w_sqrtf.c: Likewise.
78029         * math/w_sqrtl.c: Likewise.
78030         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78031         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78032         used.
78033         * math/math_private.h: Declare __kernel_standard_f.
78034         * math/w_cosh.c: Remove cruft and optimize a bit.
78035         * math/w_coshf.c: Likewise.
78036         * math/w_coshl.c: Likewise.
78037         * math/w_exp2.c: Likewise.
78038         * math/w_exp2f.c: Likewise.
78039         * math/w_exp2l.c: Likewise.
78040         * math/w_hypot.c: Likewise.
78041         * math/w_hypotf.c: Likewise.
78042         * math/w_hypotl.c: Likewise.
78043         * math/w_lgamma.c: Likewise.
78044         * math/w_lgamma_r.c: Likewise.
78045         * math/w_lgammaf.c: Likewise.
78046         * math/w_lgammaf_r.c: Likewise.
78047         * math/w_lgammal.c: Likewise.
78048         * math/w_lgammal_r.c: Likewise.
78049         * math/w_sinh.c: Likewise.
78050         * math/w_sinhf.c: Likewise.
78051         * math/w_sinhl.c: Likewise.
78052         * math/w_tgamma.c: Likewise.
78053         * math/w_tgammaf.c: Likewise.
78054         * math/w_tgammal.c: Likewise.
78055         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78056         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78057         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78058         Minor optimizations.  Pretty printing.  Remove cruft.
78059         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78060         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78061         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78062         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78063         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78064         * sysdeps/i386/fpu/e_asin.S: Likewise.
78065         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78066         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78067         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78068         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78069         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78070         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78071         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78072         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78073         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78074         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78075         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78076         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78077         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78078         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78079         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78080         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78081         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78082         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78083         * sysdeps/i386/fpu/e_log.S: Likewise.
78084         * sysdeps/i386/fpu/e_log10.S: Likewise.
78085         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78086         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78087         * sysdeps/i386/fpu/e_log2.S: Likewise.
78088         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78089         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78090         * sysdeps/i386/fpu/e_logf.S: Likewise.
78091         * sysdeps/i386/fpu/e_logl.S: Likewise.
78092         * sysdeps/i386/fpu/e_pow.S: Likewise.
78093         * sysdeps/i386/fpu/e_powf.S: Likewise.
78094         * sysdeps/i386/fpu/e_powl.S: Likewise.
78095         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78096         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78097         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78098         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78099         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78100         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78101         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78102         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78103         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78104         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78105         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78106         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78107         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78108         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78109         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78110         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78111         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78112         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78113         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78114         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78115         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78116         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78117         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78118         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78119         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78120         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78121         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78122         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78123         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78124         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78125         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78126         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78127         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78128         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78129         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78130         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78131         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78132         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78133         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78134         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78135         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78136         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78137         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78138         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78139         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78140         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78141         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78142         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78143         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78144         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78145         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78146         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78147         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78148         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78149         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78150         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78151         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78152         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78153         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78154         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78155         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78156         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78157         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78158         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78159         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78160         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78161         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78162         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78163         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78164         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78165         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78166         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78167         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78168         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78169         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78170         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78171         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78172         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78173         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78174         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78175         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78176         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78177         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78178         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78179         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78180         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78181         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78182         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78183         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78184         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78185         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78186         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78187         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78188         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78189         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78190         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78191         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78192         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78193         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78194         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78195         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78196         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78197         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78198         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78199         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78200         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78201         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78202         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78203         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78204         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78205         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78206         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78207         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78208         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78209         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78210         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78211         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78212         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78213         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78214         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78215         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78216         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78217         (__isnanf): Likewise.
78218         (__isinf_ns): Likewise.
78219         (__isinf_nsf): Likewise.
78220         (__finite): Likewise.
78221         (__finitef): Likewise.
78222         (__ieee754_sqrt): Define as macro.
78223         (__ieee754_sqrtf): Define as macro.
78224         (__ieee754_sqrtl): Define as macro.
78225         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78226         inlined copy.
78227         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78228         __FINITE_MATH_ONLY__ consistent.
78229         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78231 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78233         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78234         of rawmemchr.
78236         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78238 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78240         * po/ja.po: Update from translation team.
78242 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78244         * locale/programs/locarchive.c (prepare_address_space): New function.
78245         (create_archive, enlarge_archive, open_archive): Use it.
78247         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78248         inside [SHARED], where it is used.
78250         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78252         * nss/getent.c (netgroup_keys): Remove unused variable.
78253         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78255 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78257         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78258         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78259         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78260         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78261         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78262         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78263         * math/Makefile (libm-calls): Add s_isinf_ns.
78264         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78265         * math/multc3.c: Likewise.
78266         * math/s_casin.c: Likewise.
78267         * math/s_casinf.c: Likewise.
78268         * math/s_casinl.c: Likewise.
78269         * math/s_ccos.c: Likewise.
78270         * math/s_ccosf.c: Likewise.
78271         * math/s_ccosl.c: Likewise.
78272         * math/s_ctan.c: Likewise.
78273         * math/s_ctanf.c: Likewise.
78274         * math/s_ctanh.c: Likewise.
78275         * math/s_ctanhf.c: Likewise.
78276         * math/s_ctanhl.c: Likewise.
78277         * math/s_ctanl.c: Likewise.
78278         * math/w_fmod.c: Likewise.
78279         * math/w_fmodf.c: Likewise.
78280         * math/w_fmodl.c: Likewise.
78281         * math/w_remainder.c: Likewise.
78282         * math/w_remainderf.c: Likewise.
78283         * math/w_remainderl.c: Likewise.
78284         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78285         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78286         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78287         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78288         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78289         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78290         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78291         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78293         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78294         of the number.
78295         * stdio-common/printf_fphex.c: Likewise.
78296         * stdio-common/printf_size.c: Likewise.
78298         * math/e_exp10.c: Include math_private.h using <...> not "...".
78299         * math/e_exp10f.c: Likewise.
78300         * math/e_exp10l.c: Likewise.
78301         * math/e_exp2l.c: Likewise.
78302         * math/e_j0l.c: Likewise.
78303         * math/e_j1l.c: Likewise.
78304         * math/e_jnl.c: Likewise.
78305         * math/e_lgammal_r.c: Likewise.
78306         * math/e_rem_pio2l.c: Likewise.
78307         * math/e_scalb.c: Likewise.
78308         * math/e_scalbf.c: Likewise.
78309         * math/e_scalbl.c: Likewise.
78310         * math/k_cosl.c: Likewise.
78311         * math/k_sinl.c: Likewise.
78312         * math/k_tanl.c: Likewise.
78313         * math/s_cacoshf.c: Likewise.
78314         * math/s_catan.c: Likewise.
78315         * math/s_catanf.c: Likewise.
78316         * math/s_catanh.c: Likewise.
78317         * math/s_catanhf.c: Likewise.
78318         * math/s_catanhl.c: Likewise.
78319         * math/s_catanl.c: Likewise.
78320         * math/s_ccosh.c: Likewise.
78321         * math/s_ccoshf.c: Likewise.
78322         * math/s_ccoshl.c: Likewise.
78323         * math/s_cexp.c: Likewise.
78324         * math/s_cexpf.c: Likewise.
78325         * math/s_cexpl.c: Likewise.
78326         * math/s_clog.c: Likewise.
78327         * math/s_clog10.c: Likewise.
78328         * math/s_clog10f.c: Likewise.
78329         * math/s_clog10l.c: Likewise.
78330         * math/s_clogf.c: Likewise.
78331         * math/s_clogl.c: Likewise.
78332         * math/s_csin.c: Likewise.
78333         * math/s_csinf.c: Likewise.
78334         * math/s_csinh.c: Likewise.
78335         * math/s_csinhf.c: Likewise.
78336         * math/s_csinhl.c: Likewise.
78337         * math/s_csinl.c: Likewise.
78338         * math/s_csqrt.c: Likewise.
78339         * math/s_csqrtf.c: Likewise.
78340         * math/s_csqrtl.c: Likewise.
78341         * math/s_ctan.c: Likewise.
78342         * math/s_ctanf.c: Likewise.
78343         * math/s_ctanh.c: Likewise.
78344         * math/s_ctanhf.c: Likewise.
78345         * math/s_ctanhl.c: Likewise.
78346         * math/s_ctanl.c: Likewise.
78347         * math/s_ldexp.c: Likewise.
78348         * math/s_ldexpf.c: Likewise.
78349         * math/s_ldexpl.c: Likewise.
78350         * math/s_significand.c: Likewise.
78351         * math/s_significandf.c: Likewise.
78352         * math/s_significandl.c: Likewise.
78353         * math/w_acos.c: Likewise.
78354         * math/w_acosf.c: Likewise.
78355         * math/w_acosh.c: Likewise.
78356         * math/w_acoshf.c: Likewise.
78357         * math/w_acoshl.c: Likewise.
78358         * math/w_acosl.c: Likewise.
78359         * math/w_asin.c: Likewise.
78360         * math/w_asinf.c: Likewise.
78361         * math/w_asinl.c: Likewise.
78362         * math/w_atan2.c: Likewise.
78363         * math/w_atan2f.c: Likewise.
78364         * math/w_atan2l.c: Likewise.
78365         * math/w_atanh.c: Likewise.
78366         * math/w_atanhf.c: Likewise.
78367         * math/w_atanhl.c: Likewise.
78368         * math/w_cosh.c: Likewise.
78369         * math/w_coshf.c: Likewise.
78370         * math/w_coshl.c: Likewise.
78371         * math/w_dremf.c: Likewise.
78372         * math/w_exp10.c: Likewise.
78373         * math/w_exp10f.c: Likewise.
78374         * math/w_exp10l.c: Likewise.
78375         * math/w_exp2.c: Likewise.
78376         * math/w_exp2f.c: Likewise.
78377         * math/w_fmod.c: Likewise.
78378         * math/w_fmodf.c: Likewise.
78379         * math/w_fmodl.c: Likewise.
78380         * math/w_hypot.c: Likewise.
78381         * math/w_hypotf.c: Likewise.
78382         * math/w_hypotl.c: Likewise.
78383         * math/w_j0.c: Likewise.
78384         * math/w_j0f.c: Likewise.
78385         * math/w_j0l.c: Likewise.
78386         * math/w_j1.c: Likewise.
78387         * math/w_j1f.c: Likewise.
78388         * math/w_j1l.c: Likewise.
78389         * math/w_jn.c: Likewise.
78390         * math/w_jnf.c: Likewise.
78391         * math/w_jnl.c: Likewise.
78392         * math/w_lgamma.c: Likewise.
78393         * math/w_lgamma_r.c: Likewise.
78394         * math/w_lgammaf.c: Likewise.
78395         * math/w_lgammaf_r.c: Likewise.
78396         * math/w_lgammal.c: Likewise.
78397         * math/w_lgammal_r.c: Likewise.
78398         * math/w_log.c: Likewise.
78399         * math/w_log10.c: Likewise.
78400         * math/w_log10f.c: Likewise.
78401         * math/w_log10l.c: Likewise.
78402         * math/w_log2.c: Likewise.
78403         * math/w_log2f.c: Likewise.
78404         * math/w_log2l.c: Likewise.
78405         * math/w_logf.c: Likewise.
78406         * math/w_logl.c: Likewise.
78407         * math/w_pow.c: Likewise.
78408         * math/w_powf.c: Likewise.
78409         * math/w_powl.c: Likewise.
78410         * math/w_remainder.c: Likewise.
78411         * math/w_remainderf.c: Likewise.
78412         * math/w_remainderl.c: Likewise.
78413         * math/w_scalb.c: Likewise.
78414         * math/w_scalbf.c: Likewise.
78415         * math/w_scalbl.c: Likewise.
78416         * math/w_sinh.c: Likewise.
78417         * math/w_sinhf.c: Likewise.
78418         * math/w_sinhl.c: Likewise.
78419         * math/w_sqrt.c: Likewise.
78420         * math/w_sqrtf.c: Likewise.
78421         * math/w_sqrtl.c: Likewise.
78422         * math/w_tgamma.c: Likewise.
78423         * math/w_tgammaf.c: Likewise.
78424         * math/w_tgammal.c: Likewise.
78426         * po/ja.po: Update from translation team.
78428 2011-09-29  Andreas Jaeger  <aj@suse.de>
78430         [BZ #13179]
78431         * sunrpc/netname.c (netname2host): Fix logic.
78433         [BZ #6779]
78434         [BZ #6783]
78435         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78436         correctly.
78437         * math/w_remainder.c (__remainder): Likewise.
78438         * math/w_remainderf.c (__remainderf): Likewise.
78439         * math/libm-test.inc (remainder_test): Add test cases.
78441 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78443         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78444         sdiv_qrnnd.
78446 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78448         * string/test-memcmp.c: Avoid unncessary #defines.
78449         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78451 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78453         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78454         Use new sse2 version for core i3 - i7 as it's faster
78455         than sse42 version.
78456         (bit_Prefer_PMINUB_for_stringop): New.
78457         * sysdeps/x86_64/rawmemchr.S: Update.
78458         Replace with faster SSE2 version.
78459         * sysdeps/x86_64/memrchr.S: New file.
78460         * sysdeps/x86_64/memchr.S: Update.
78461         Replace with faster SSE2 version.
78463 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78465         * elf/dl-load.c (lose): Add cast to avoid warning.
78467 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78469         * po/ca.po: Update from translation team.
78471         * inet/getnetgrent_r.c: Hook up nscd.
78472         * nscd/Makefile (routines): Add nscd_netgroup.
78473         (nscd-modules): Add netgroupcache.
78474         (CFLAGS-netgroupcache.c): Define.
78475         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78476         (cache_search): Add const to second parameter.
78477         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78478         INNETGR.
78479         (dbs): Add netgrdb entry.
78480         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78481         (verify_persistent_db): Handle netgrdb.
78482         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78483         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78484         GETFDNETGR.
78485         (netgroup_response_header): Define.
78486         (innetgroup_response_header): Define.
78487         (datahead): Add netgroup_response_header and innetgroup_response_header
78488         elements.
78489         * nscd/nscd.conf: Add entries for netgroup cache.
78490         * nscd/nscd.h (dbtype): Add netgrdb.
78491         (_PATH_NSCD_NETGROUP_DB): Define.
78492         (netgroup_iov_disabled): Declare.
78493         (xmalloc, xcalloc, xrealloc): Move declarations here.
78494         (cache_search): Adjust prototype.
78495         Add netgroup-related prototypes.
78496         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78497         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78498         (__nscd_innetgr): Declare.
78499         * nscd/selinux.c (perms): Use access_vector_t as element type and
78500         add netgroup-related initializers.
78501         * nscd/netgroupcache.c: New file.
78502         * nscd/nscd_netgroup.c: New file.
78503         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78504         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78505         For four parameters use innetgr.
78506         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78507         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78508         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78509         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78511         * nscd/connections.c (register_traced_file): Don't register file
78512         for disabled databases.
78514 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78516         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78518         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78519         from tree and freeing node.
78521 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78523         * nss/nsswitch.c (__nss_database_lookup): Handle
78524         nss_parse_service_list out of memory case.
78526 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78528         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78529         out of memory case.
78531 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78533         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78534         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78535         pass it down.
78536         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78537         elf_machine_rela, elf_machine_lazy_rel.
78538         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78539         (ELF_DYNAMIC_DO_REL): Likewise.
78540         (ELF_DYNAMIC_DO_RELA): Likewise.
78541         (ELF_DYNAMIC_RELOCATE): Likewise.
78542         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78543         to ELF_DYNAMIC_DO_REL.
78544         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78545         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78546         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78547         elf_machine_rela.
78548         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78549         skip_ifunc, don't call ifunc function if non-zero.
78550         (elf_machine_rela): Likewise.
78551         (elf_machine_lazy_rel): Likewise.
78552         (elf_machine_lazy_rela): Likewise.
78553         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78554         (elf_machine_lazy_rel): Likewise.
78555         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78556         Likewise.
78557         (elf_machine_lazy_rel): Likewise.
78558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78559         Likewise.
78560         (elf_machine_lazy_rel): Likewise.
78561         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78562         (elf_machine_lazy_rel): Likewise.
78563         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78564         (elf_machine_lazy_rel): Likewise.
78565         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78566         (elf_machine_lazy_rel): Likewise.
78567         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78568         (elf_machine_lazy_rel): Likewise.
78569         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78570         (elf_machine_lazy_rel): Likewise.
78571         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78572         (elf_machine_lazy_rel): Likewise.
78574 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78576         * nss/nss_files/files-init.c (_nss_files_init): Use static
78577         initialization for all the *_traced_file variables.
78579 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78581         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78583 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78585         [BZ #13226]
78586         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78588 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78590         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78591         Reread the line before reparsing it.
78593 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78595         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78597 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78598             Maxim Kuvyrkov  <maxim@codesourcery.com>
78599             Joseph Myers  <joseph@codesourcery.com>
78601         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78602         if needed for __stack_chk_guard.
78604 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78606         * sysdeps/posix/spawni.c (script_execute): Always define it.
78607         It will be optimized away if unused.
78608         (maybe_script_execute): New function.
78609         (__spawni): Call it.
78611         * Makerules: Don't include tls.make.
78612         (config-tls): Always set to thread.
78613         * tls.make.c: File removed.
78615 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78617         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78618         * config.make.in (CPPFLAGS-config): New substituted variable.
78620 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78622         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78624         [BZ #13192]
78625         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78626         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78628 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78630         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78631         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78632         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78633         (CALL_FAIL): Likewise.
78634         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78635         (CALL_FAIL): Macro removed.
78636         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78638 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78640         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78641         for __FINITE_MATH_ONLY__ == 1.
78643 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78645         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78646         __ieee754_sqrt instead of sqrt.
78647         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78648         __ieee754_sqrtf instead of sqrtf.
78649         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78650         __floorf instead of floorf.
78651         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78652         __floorf, __truncf instead of floorf, truncf.
78654 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78656         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78658         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78659         __extern_always_inline.
78660         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78661         32-bit.
78663 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78665         * elf/rtld.c (dl_main): Also relocate in dependency order when
78666         doing symbol dependency testing.
78668 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78670         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78671         Always define `refsym'.
78673 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78675         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78676         (__FD_ELT): Renamed from __FDELT.
78677         * misc/bits/select2.h (__FD_ELT): Likewise.
78678         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78679         __FD_MASK instead of __FDELT, __FDMASK.
78680         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78681         Likewise.
78682         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78683         Likewise.
78685         * elf/Makefile (gen-ldd): Fix pattern.
78687         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78688         (init_tls): Likewise.
78690 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78692         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78694 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78696         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78697         `struct cmsghdr *' instead of `void *'.
78698         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78699         Likewise.
78701 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78703         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78704         if non-absolute.
78705         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78706         ldd_rewrite_script.
78708 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78710         * configure.in: Remove --with-tls option.
78711         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78712         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78713         out in case it is missing.
78714         * sysdeps/ia64/elf/configure.in: Likewise.
78715         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78716         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78717         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78718         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78719         * sysdeps/sh/elf/configure.in: Likewise.
78720         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78721         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78722         * sysdeps/x86_64/elf/configure.in: Likewise.
78723         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78724         * sysdeps/mach/hurd/tls.h: Likewise.
78726         [BZ #13067]
78727         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78729         [BZ #13090]
78730         * configure.in: Fix use of AC_INIT.
78732         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78734 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78736         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78737         __set_errno.
78738         * malloc/hooks.c: Likewise.
78740         [BZ #11929]
78741         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78742         variables statically.
78743         (narenas): Initialize.
78744         (list_lock): Initialize.
78745         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78746         initializtion of main_arena and list_lock.  Small cleanups.
78747         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78748         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78749         Add initializers to main_arena and mp_.
78750         (malloc_state): Remove pagesize member.  Change all users to use
78751         GLRO(dl_pagesize).
78753         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78754         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78755         is always initialized.
78757         * malloc/malloc.c: Removed unused configurations and dead code.
78758         * malloc/arena.c: Likewise.
78759         * malloc/hooks.c: Likewise.
78760         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78762         * include/tls.h: Removed.  USE___THREAD must always be defined.
78763         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78764         * elf/dl-libc.c: Likewise.
78765         * elf/dl-tsd.c: Likewise.
78766         * include/errno.h: Likewise.
78767         * include/netdb.h: Likewise.
78768         * include/resolv.h: Likewise.
78769         * inet/herrno-loc.c: Likewise.
78770         * inet/herrno.c: Likewise.
78771         * malloc/arena.c: Likewise.
78772         * malloc/hooks.c: Likewise.
78773         * malloc/malloc.c: Likewise.
78774         * resolv/res-state.c: Likewise.
78775         * resolv/res_libc.c: Likewise.
78776         * sysdeps/i386/dl-machine.h: Likewise.
78777         * sysdeps/ia64/dl-machine.h: Likewise.
78778         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78779         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78780         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78781         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78782         * sysdeps/sh/dl-machine.h: Likewise.
78783         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78784         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78785         * sysdeps/unix/i386/sysdep.S: Likewise.
78786         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78787         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78788         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78790         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78792         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78794         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78796         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78797         * sysdeps/x86_64/dl-machine.h: Likewise.
78798         * tls.make.c: Likewise.
78800         * configure.in: Remove --with-__thread option.  Make tests for
78801         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
78802         tls_model attribute fail if no support is available.  Remove
78803         USE_IN_LIBIO.
78804         * Makeconfig: Adjust for dropped configure option.  All features are
78805         now mandatory.
78806         * Makerules: Likewise.
78807         * Versions.def: Likewise.
78808         * argp/argp-fmtstream.c: Likewise.
78809         * argp/argp-fmtstream.h: Likewise.
78810         * argp/argp-help.c: Likewise.
78811         * assert/assert.c: Likewise.
78812         * config.h.in: Likewise.
78813         * config.make.in: Likewise.
78814         * configure: Likewise.
78815         * configure.in: Likewise.
78816         * csu/Versions: Likewise.
78817         * csu/init.c: Likewise.
78818         * elf/tst-audit2.c: Likewise.
78819         * elf/tst-tls10.c: Likewise.
78820         * elf/tst-tls10.h: Likewise.
78821         * elf/tst-tls11.c: Likewise.
78822         * elf/tst-tls12.c: Likewise.
78823         * elf/tst-tls14.c: Likewise.
78824         * elf/tst-tlsmod11.c: Likewise.
78825         * elf/tst-tlsmod12.c: Likewise.
78826         * elf/tst-tlsmod13.c: Likewise.
78827         * elf/tst-tlsmod13a.c: Likewise.
78828         * elf/tst-tlsmod14a.c: Likewise.
78829         * elf/tst-tlsmod15b.c: Likewise.
78830         * elf/tst-tlsmod16a.c: Likewise.
78831         * elf/tst-tlsmod16b.c: Likewise.
78832         * elf/tst-tlsmod7.c: Likewise.
78833         * elf/tst-tlsmod8.c: Likewise.
78834         * elf/tst-tlsmod9.c: Likewise.
78835         * gmon/gmon.c: Likewise.
78836         * grp/fgetgrent_r.c: Likewise.
78837         * grp/putgrent.c: Likewise.
78838         * hurd/fopenport.c: Likewise.
78839         * include/libc-symbols.h: Likewise.
78840         * include/tls.h: Likewise.
78841         * intl/gettextP.h: Likewise.
78842         * intl/loadinfo.h: Likewise.
78843         * locale/global-locale.c: Likewise.
78844         * locale/localeinfo.h: Likewise.
78845         * mach/devstream.c: Likewise.
78846         * malloc/arena.c: Likewise.
78847         * malloc/set-freeres.c: Likewise.
78848         * misc/err.c: Likewise.
78849         * misc/getttyent.c: Likewise.
78850         * misc/mntent_r.c: Likewise.
78851         * posix/getopt.c: Likewise.
78852         * posix/wordexp.c: Likewise.
78853         * pwd/fgetpwent_r.c: Likewise.
78854         * resolv/Versions: Likewise.
78855         * resolv/res_hconf.c: Likewise.
78856         * shadow/fgetspent_r.c: Likewise.
78857         * shadow/putspent.c: Likewise.
78858         * stdio-common/printf_fphex.c: Likewise.
78859         * stdio-common/tmpfile.c: Likewise.
78860         * stdlib/abort.c: Likewise.
78861         * stdlib/fmtmsg.c: Likewise.
78862         * sunrpc/auth_unix.c: Likewise.
78863         * sunrpc/clnt_perr.c: Likewise.
78864         * sunrpc/clnt_tcp.c: Likewise.
78865         * sunrpc/clnt_udp.c: Likewise.
78866         * sunrpc/clnt_unix.c: Likewise.
78867         * sunrpc/openchild.c: Likewise.
78868         * sunrpc/svc_simple.c: Likewise.
78869         * sunrpc/svc_tcp.c: Likewise.
78870         * sunrpc/svc_udp.c: Likewise.
78871         * sunrpc/svc_unix.c: Likewise.
78872         * sunrpc/xdr.c: Likewise.
78873         * sunrpc/xdr_array.c: Likewise.
78874         * sunrpc/xdr_rec.c: Likewise.
78875         * sunrpc/xdr_ref.c: Likewise.
78876         * sunrpc/xdr_stdio.c: Likewise.
78878 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78880         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78882 2011-07-03  Andreas Jaeger  <aj@suse.de>
78884         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
78885         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
78886         regenerate with gen-libm-tests.pl.
78888 2010-05-12  Petr Baudis  <pasky@suse.cz>
78890         [BZ #11589]
78891         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
78892         around j0() zero points by switching to j1().
78893         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78894         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78895         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78896         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78898 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78900         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
78901         instead of 0.
78902         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
78903         instead of 0.
78904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78905         Patch in part by Pavel Roskin <proski@gnu.org>.
78907         [BZ #13138]
78908         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
78909         realloc.
78910         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
78911         Free memory block if necessary.
78913         [BZ #12847]
78914         * libio/genops.c (INTDEF): For string streams the _lock pointer can
78915         be NULL.  Don't lock in this case.
78917 2011-09-09  Roland McGrath  <roland@hack.frob.com>
78919         * elf/elf.h (ELFOSABI_GNU): New macro.
78920         (ELFOSABI_LINUX): Define to that.
78922 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
78924         * string/strncat.c (strncat): Undef the symbol in case it has been
78925         defined in bits/string.h.
78927 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78929         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
78931         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
78932         link map.
78934 2011-08-17  Andreas Jaeger  <aj@suse.de>
78936         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
78938 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
78939             Ian Lance Taylor  <iant@google.com>
78941         * math/libm-test.inc (lround_test): New testcase.
78942         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
78944 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
78946         * Makefile: Remove support for automatic cvs check-ins.
78947         * Makerules: Likewise.
78948         * config.make.in: Likewise.
78949         * configure.in: Likewise.
78950         * intl/Makefile: Likewise.
78951         * locale/Makefile: Likewise.
78952         * po/Makefile: Likewise.
78953         * posix/Makefile: Likewise.
78954         * sysdeps/gnu/Makefile: Likewise.
78955         * sysdeps/mach/hurd/Makefile: Likewise.
78956         * sysdeps/sparc/sparc32/Makefile: Likewise.
78958         [BZ #13118]
78959         * posix/Makefile (bug-regex32-ENV): Define.
78960         Patch by John Stanley <jpsinthemix@verizon.net>.
78962         * misc/Makefile (headers): Add bits/select2.h.
78963         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
78964         * misc/bits/select2.h: New file.
78965         * include/bits/select2.h: New file.
78966         * debug/Makefile (routines): Add fdelt_chk.
78967         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
78968         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
78969         FD_ISSET.
78970         * debug/fdelt_chk.c: New file.
78972         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
78973         * wcsmbs/test-wmemcmp.c: Likewise.
78974         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
78975         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78977 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78979         * string/Makefile (strop-tests): Add memcmp.
78980         * string/test-wmemcmp.c: New file.
78981         * string/test-memcmp.c: Add wmemcmp support.
78983 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78985         [BZ #13153]
78986         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78987         2011-07-19 change.
78989         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78990         garbage value in a __mach_port_mod_refs call in the cases of the
78991         task-self and thread-self ports.
78993 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78995         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78997 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78999         * elf/dl-load.c (lose): Check for non-null L.
79001 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79003         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79005         * elf/dl-libc.c (dlerror_run): Pass back error code from
79006         dl_catch_error.
79008         [BZ #13123]
79009         * elf/dl-load.c (lose): Free l_origin if it is valid.
79011         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79012         names.
79013         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79014         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79015         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79016         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79017         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79018         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79020 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79022         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79023         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79024         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79025         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79026         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79027         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79028         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79029         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79030         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79031         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79033 2011-08-15  Alan Modra  <amodra@gmail.com>
79035         [BZ #13092]
79036         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79037         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79038         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79039         ppc_mcount to static-only-routines.
79040         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79041         __mcount_internal.
79042         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79043         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79045 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79047         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79048         for finite and infinity parameters.
79050 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79052         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79053         and add nop instructions for throughput optimization.
79054         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79056 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79058         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79059         aligned copy for power7 with vector-scalar instructions.
79060         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79062 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79064         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79065         AVX check.
79067 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79069         [BZ #13144]
79070         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79071         last change.
79073 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79075         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79076         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79077         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79078         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79079         clock_gettime.
79081 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79083         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79084         Forgot to demangle the pointer.
79086         * sysdeps/i386/sysdep.h: Define atom_text_section.
79087         * sysdeps/x86_64/sysdep.h: Likewise.
79088         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79089         section with atom_text_section.
79090         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79091         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79092         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79093         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79094         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79096         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79097         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79098         already be defined.  Change to take two parameters and don't assign
79099         result to variable.  Adjust all users.
79100         Define INTERNAL_GETTIME if not already defined.
79101         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79102         call.
79103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79104         HAVE_CLOCK_GETTIME_VSYSCALL.
79105         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79107         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79108         gettimeofday vsyscall, just use time.
79110 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79112         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79113         <errno.h>.
79115 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79117         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79118         syscall on x86-64.
79119         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79120         syscall.
79121         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79122         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79123         syscall if possible.
79125 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79127         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79128         e_ident.  Don't pass to find_mapsXX.
79129         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79131 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79134         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79135         * sysdeps/x86_64/multiarch/strchr.S: Update.
79136         Check bit_slow_BSF bit.
79137         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79138         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79139         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79141 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79143         [BZ #13134]
79144         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79145         before glibc 2.15.
79146         (tryshell): Define.
79147         (__spawni): Change last parameter to be flag.  Test
79148         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79149         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79150         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79151         * posix/spawni.c: Likewise.
79152         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79153         * posix/spawnp.c: Likewise.  Change normal version to use
79154         SPAWN_XFLAGS_USE_PATH.
79155         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79156         SPAWN_XFLAGS_TRY_SHELL.
79158         [BZ #13150]
79159         * posix/glob.h: Remove gcc 1.x support.
79161         [BZ #13068]
79162         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79164 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79166         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79167         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79168         strrchr-sse2-bsf
79169         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79170         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79171         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79172         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79173         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79174         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79176 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79178         * sysdeps/x86_64/wcscmp.S: New file.
79180         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79181         wcscmp-c wcscmp-sse2
79182         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79183         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79184         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79185         * wcsmbs/wcscmp.c: Allow renaming.
79187 2011-09-05  David S. Miller  <davem@davemloft.net>
79189         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79190         stack slot, rather than the struct return pointer slot.
79191         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79192         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79194         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79196 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79198         * po/ja.po: Update from translation team.
79200         [BZ #13144]
79201         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79202         kernel in 64-bit binaries.
79204 2011-09-01  David S. Miller  <davem@davemloft.net>
79206         * elf/elf.h (HWCAP_SPARC_*): Move to..
79207         * sysdeps/sparc/sysdep.h: this new file and add new values.
79208         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79209         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79210         _DL_HWCAP_COUNT to 24.
79211         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79212         entries.
79213         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79214         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79215         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79216         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79217         instead of magic constants.
79218         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79220 2011-08-31  David S. Miller  <davem@davemloft.net>
79222         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79223         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79224         Reimplement to do errno handling inline.
79225         (SYSCALL_ERROR_HANDLER): New macro.
79226         (__SYSCALL_STRING): Do not do errno handling in asm.
79227         (__CLONE_SYSCALL_STRING): Delete.
79228         (__INTERNAL_SYSCALL_STRING): Delete.
79229         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79230         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79231         (PSEUDO): Reimplement to do errno handling inline.
79232         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79233         (SYSCALL_ERROR_HANDLER): New macro.
79234         (__SYSCALL_STRING): Do not do errno handling in asm.
79235         (__CLONE_SYSCALL_STRING): Delete.
79236         (__INTERNAL_SYSCALL_STRING): Delete.
79237         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79238         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79239         i386.
79240         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79241         (inline_syscall*): Add 'err' argument.
79242         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79243         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79244         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79245         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79247         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79248         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79250 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79252         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79254 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79256         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79257         directive.
79259 2011-08-24  David S. Miller  <davem@davemloft.net>
79261         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79263 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79265         * elf/Makefile: Add rules to build and run unload8 test.
79266         * elf/unload8.c: New file.
79267         * elf/unload8mod1.c: New file.
79268         * elf/unload8mod1x.c: New file.
79269         * elf/unload8mod2.c: New file.
79270         * elf/unload8mod3.c: New file.
79272         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79273         it wasn't used.
79275 2011-08-23  David S. Miller  <davem@davemloft.net>
79277         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79278         subtract stack bias.
79279         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79280         %sp not %fp in calculations.
79281         (_JMPBUF_UNWINDS_ADJ): Likewise.
79283         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79284         (aio_suspend): Call it to force an exception region around the
79285         AIO_MISC_WAIT() invocation.
79287 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79289         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79290         backslash.
79292 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79294         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79295         protection macro.
79296         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79297         and <dl-machine.h>.
79298         (Elf64_FuncDesc): Remove.
79300 2011-08-22  David S. Miller  <davem@davemloft.net>
79302         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79303         sigaltstack check, add missing cfi directives.
79304         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79305         missing cfi directives, and sigaltstack handling.
79307 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79309         [BZ #11724]
79310         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79311         object is seen twice.
79312         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79314         * elf/Makefile (distribute): Add tst-initorder2.c.
79315         (tests): Add tst-initorder2.
79316         (modules-names): Add tst-initorder2a tst-initorder2b
79317         tst-initorder2c tst-initorder2d.  Add rules to build them.
79318         ($(objpfx)tst-initorder2.out): New rule.
79319         * elf/tst-initorder2.c: New file.
79320         * elf/tst-initorder2.exp: New file.
79322 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79324         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79326         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79327         dependencies back to end of function.
79329         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79330         $(elfobjdir)/ld.so.
79332 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79334         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79335         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79336         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79337         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79338         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79339         of __vdso_gettimeofday.
79340         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79341         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79342         attribute_hidden.
79343         (_libc_vdso_platform_setup): Remove initialization of
79344         __vdso_gettimeofday and __vdso_time.
79346 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79348         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79349         and fgetc_unlocked.
79350         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79351         getc_unlocked.
79353         * elf/dl-open.c (add_to_global): Report additions to the global scope
79354         for LD_DEBUG=scopes.
79355         (dl_open_worker): Also print scope of newly loaded dependencies.
79356         (_dl_show_scope): Indicate if there is no scope.
79358         [BZ #13114]
79359         * stdio-common/Makefile (tests): Add bug24.
79360         * stdio-common/bug24.c: New file.
79362 2011-08-19  Andreas Jaeger  <aj@suse.de>
79364         [BZ #13114]
79365         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79366         non-existant file when using close-on-exec mode.
79368 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79370         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79371         the very first instruction.
79373         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79374         the CFI state in the end.
79375         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79376         inclusion of dl-trampoline.h.
79377         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79379 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79381         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79382         expectations for long double.
79384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79385         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79387 2011-08-14  David S. Miller  <davem@davemloft.net>
79389         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79390         artificual limit depends upon the system page size.
79392 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79394         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79395         * resolv/Makefile: Define CFLAGS-libresolv.
79397 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79399         * nss/makedb.c (compute_tables): Make variables used in nested
79400         function static.
79402 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79404         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79405         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79406         if buffer was too small.
79408         * elf/pldd.c (main): Attach to all threads in the process.
79409         Rewrite /proc handling to use *at functions.
79411 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79413         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79414         specifies first scope to show.
79415         (dl_open_worker): Update callers.  Move printing scope of new
79416         object to before the relocation.
79417         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79418         * sysdeps/generic/ldsodefs.h: Update declaration.
79420         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79421         string for the scope number.
79423 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79425         * nscd/servicescache.c (cache_addserv): Make sure written is always
79426         initialized.
79428 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79430         * sysdeps/i386/i486/bits/atomic.h
79431         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79432         statement expression, so as to suppress "set but not used" warning.
79433         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79435         * string/strncat.c (STRNCAT): Use prototype definition.
79437         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79438         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79439         -Iprograms here.
79440         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79441         (localedef-modules): Add localedef.
79442         (locale-modules): Add locale.
79444         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79445         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79446         to avoid a warning.
79448 2011-08-14  David S. Miller  <davem@davemloft.net>
79450         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79451         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79453 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79455         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79456         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79457         * elf/rtld.c (dl_main): Set l_name of vDSO.
79458         Call _dl_show_scope when DL_DEBUG_SCOPES.
79459         (process_dl_debug): Recognize scopes flag and also set it for all.
79460         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79461         Declare _dl_show_scope.
79463         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79464         (do_dlopen): Pass caller_dlopen to dl_open.
79465         (__libc_dlopen_mode): Initialize caller_dlopen.
79467         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79468         of libc.  Make tolower call locale-independent.  Optimize a bit by
79469         using isdigit instead of isalnum.
79470         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79472 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79474         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79475         was a dependency or dynamically loaded.
79477 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79479         * intl/l10nflist.c: Allow architecture-specific pop function.
79480         * sysdeps/x86_64/l10nflist.c: New file.
79482         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79483         classification.
79485 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79487         * include/dirent.h: Add libc_hidden_proto for scandirat and
79488         scandirat64.  Don't declare __scandirat64.
79489         * dirent/scandirat.c: Add libc_hidden_def.
79490         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79491         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79493 2011-08-10  David S. Miller  <davem@davemloft.net>
79495         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79496         enum.
79497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79498         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79499         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79501 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79503         * Versions.def [libc]: Add GLIBC_2.15.
79504         * dirent/Makefile (routines): Add scandirat and scandirat64.
79505         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79506         GLIBC_2.15.
79507         * dirent/dirent.h: Declare scandirat and scandirat64.
79508         * dirent/scandirat.c: New file.
79509         * dirent/scandirat64.c: New file.
79510         * sysdeps/wordsize-64/scandirat.c: New file.
79511         * sysdeps/wordsize-64/scandirat64.c: New file.
79512         * dirent/opendir.c: Define opendirat.
79513         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79514         using scandirat.
79515         * dirent/scandir64.c: Adjust for scandir.c change.
79516         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79517         __scandirat64, and __scandir_cancel_handler.
79518         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79519         additional parameter and use openat instead of open (outside of ld.so).
79520         Add new __opendir as wrapper around __opendirat.
79521         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79522         here without requiring old scandirat implementation.
79524 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79526         * dirent/scandir.c (cancel_handler): Renamed to
79527         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79528         defined.  Adjust users.
79529         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79530         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79532 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79534         * string/test-string.h (IMPL): Use __STRING to expand name and then
79535         stringify it.
79537         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79538         of cleanups.
79540 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79542         * string/Makefile: Update.
79543         (strop-tests): Append strncat.
79544         * string/test-wcscmp.c: New file.
79545         New comprehensive test for wcscmp.
79546         * string/test-strcmp.c: Update.
79547         (WIDE): New define.
79549 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79551         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79552         line.
79554 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79557         encoding to ACE if AI_IDN.
79559 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79561         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79562         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79564 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79566         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79567         Fix overflow bug in strncat.
79568         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79570         * string/test-strncat.c: Update.
79571         Add new tests for checking overflow bugs.
79573 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79575         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79576         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79577         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79578         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79579         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79580         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79581         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79582         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79583         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79585         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79586         (USE_AS_STRCAT): Define.
79587         Add strcat and strncat support.
79588         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79590 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79592         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79593         __n bigger than INT_MAX+1.
79594         (__strncmp_g): Likewise.
79596 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79598         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79599         * libio/stido.h: Likewise.
79601         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79602         (AF_NFC): Define.
79603         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79604         (AF_NFC): Define.
79606         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79607         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79608         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79609         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79610         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79612         [BZ #13021]
79613         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79614         installed.
79616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79617         typo.
79618         (_dl_x86_64_save_sse): Likewise.
79620 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79622         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79623         OSXSAVE.
79624         (_dl_x86_64_save_sse): Likewise.
79626         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79628         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79630 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79633         change.
79634         (_dl_x86_64_save_sse): Use correct AVX check.
79636 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79638         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79639         bug in strncpy/strncat.
79640         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79642 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79644         * string/tester.c (test_strcat): Add tests for different alignments
79645         of source and destination.
79646         (test_strncat): Likewise.
79648 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79650         [BZ #12852]
79651         * posix/glob.c (glob): Check passed in values before using them in
79652         expressions to avoid some overflows.
79653         (glob_in_dir): Likewise.
79655         [BZ #13007]
79656         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79657         check for AVX enablement so that we don't crash with old kernels and
79658         new hardware.
79659         * elf/tst-audit4.c: Add same checks here.
79660         * elf/tst-audit6.c: Likewise.
79662         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79664 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79666         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79668 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79670         * po/cs.po: Update from translation team.
79671         * po/bg.po: Likewise.
79673 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79675         * misc/sys/cdefs.h: Add support for const attribute.
79676         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79677         to gnu_dev_{major,minor,makedev} functions.
79679 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79681         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79683 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79685         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79686         strlen results.
79688 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79691         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79692         register in order to avoid conflicts with the soft frame pointer
79693         being held in r11 when necessary.
79694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79695         (INTERNAL_VSYSCALL_NCS): Likewise.
79697 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79699         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79700         * elf/dl-fini.c (_dl_fini): Adjust caller.
79701         * elf/dl-close.c (_dl_close_worker): Likewise.
79702         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79704 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79706         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79707         "aux_cache->nlibs < 0".
79709         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79710         in the reload-count case.
79712 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79715         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79716         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79717         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79718         * sysdeps/x86_64/multiarch/strcat.S: New file.
79719         * sysdeps/x86_64/multiarch/strncat.S: New file.
79720         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79721         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79722         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79723         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79724         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79725         (USE_AS_STRCAT): Define.
79726         Add strcat and strncat support.
79727         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79728         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79729         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79730         * string/strncat.c: Update.
79731         (USE_AS_STRNCAT): Define.
79732         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79733         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79734         and i7.
79735         * sysdeps/x86_64/multiarch/init-arch.h
79736         (bit_Prefer_PMINUB_for_stringop): New.
79737         (index_Prefer_PMINUB_for_stringop): Likewise.
79738         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79739         bit_Prefer_PMINUB_for_stringop.
79741 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79743         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79744         buffer64.
79745         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79746         of casting of buffer.
79747         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79748         buffer32 and buffer64.
79749         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79750         writes instead of casting of buffer.
79751         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79752         buffer32.
79753         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79754         casting of buffer.
79756 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79758         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79760 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79762         * nscd/nscd.c (termination_handler): Don't do anything for a database
79763         if it has not yet been initialized.
79765 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79767         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79769 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79771         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79773 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79775         * po/nl.po: Update from translation team.
79776         * po/sv.po: Likewise.
79778 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79780         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79781         now disallowed by GCC.
79783         * configure.in (use-default-link): Default to yes if a test -shared
79784         link meets our qualifications.
79785         * configure: Regenerated.
79787         * config.make.in (output-format): New variable.
79788         * configure.in: Check for ld --print-output-format support.
79789         * configure: Regenerated.
79790         * Makerules ($(common-objpfx)format.lds)
79791         [$(output-format) != unknown]: Just use $(output-format),
79792         instead of the linker-script munging.
79794 2011-07-14  Roland McGrath  <roland@hack.frob.com>
79796         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79797         of $(common-objpfx)shlib.lds.
79798         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
79800         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
79801         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
79803         * configure.in (-z relro check): Adjust test code to add a large
79804         writable data section after it.
79805         * configure: Regenerated.
79807 2011-07-11  Roland McGrath  <roland@hack.frob.com>
79809         * configure.in (-z relro check): Fix test code to make the variable
79810         truly const.
79811         * configure: Regenerated.
79813 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
79815         * nscd/nscd.h (struct traced_file): Define.
79816         (struct database_dyn): Remove inotify_descr, reset_res, and filename
79817         elements.  Add traced_files.
79818         (inotify_fd): Declare.
79819         (register_traced_file): Declare.
79820         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
79821         (inotify_fd): Export.
79822         (resolv_conf_descr): Remove.
79823         (nscd_init): Move inotify descriptor creation to main.
79824         Don't register files for notification here.
79825         (register_traced_file): New function.
79826         (invalidate_cache): Don't use reset_res to determine whether to call
79827         res_init, go through the list of registered files.
79828         (main_loop_poll): The inotify descriptors are now stored in the
79829         structures for the traced files.
79830         (main_loop_epoll): Likewise.
79831         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
79832         to __nss_disable_nscd.
79833         * nscd/cache.c (prune_cache): There is no single inotify descriptor
79834         for a database anymore.  Check the records for all the registered
79835         files instead.
79836         * nss/Makefile (libnss_files-routines): Add files-init.
79837         (libnss_db-routines): Add db-init.
79838         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
79839         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
79840         * nss/nss_db/db-init.c: New file.
79841         * nss/nss_files/files-init.c: New file.
79842         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
79843         __nss_lookup_function.
79844         (__nss_lookup_function): Call nss_load_library.
79845         (nss_load_all_libraries): New function.
79846         (__nss_disable_nscd): Take parameter with callback function for files
79847         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
79848         used for the cached services.
79849         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
79850         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
79851         options for features to all the files in nscd.
79853         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
79855 2011-07-10  Roland McGrath  <roland@hack.frob.com>
79857         * csu/elf-init.c (__libc_csu_init): Comment typo.
79859 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
79861         * po/pl.po: Update from translation team.
79862         * po/ja.po: Likewise.
79863         * po/ru.po: Likewise.
79864         * po/ko.po: Likewise.
79865         * po/fr.po: Likewise.
79867 2011-07-09  Roland McGrath  <roland@hack.frob.com>
79869         * configure.in (.ctors/.dtors header and trailer check):
79870         Use an empirical test on a built program.
79871         * configure: Regenerated.
79873         * configure.in (-z relro check): Use an empirical test on a built DSO.
79874         Detect, but do not require, on ia64.
79875         * configure: Regenerated.
79877         * configure.in (READELF): Find it with AC_CHECK_TOOL.
79878         Update tests that use readelf to use $READELF instead.
79879         * configure: Regenerated.
79881 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
79883         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
79884         if the result is not used.
79886 2011-07-05  Andreas Jaeger  <aj@suse.de>
79888         [BZ#9696]
79889         * stdlib/tst-strtod.c: Add testcase.
79891 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
79893         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
79894         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
79895         The latter has a higher limit.  Take additional parameter to pass to
79896         the new function.
79897         (__pathconf): Pass file to __statfs_link_max.
79898         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
79899         __statfs_link_max.
79900         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
79901         __statfs_link_max.
79903         [BZ #12868]
79904         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
79905         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79906         Handle Lustre.
79907         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
79908         (__statfs_filesize_max): Likewise.
79909         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
79911 2011-07-05  Andreas Jaeger  <aj@suse.de>
79913         * resolv/res_comp.c (dn_skipname): Remove unused variable.
79915 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
79917         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
79918         `status' variable.
79919         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
79920         Likewise.
79922 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
79924         * Makefile (strop-tests): Add strncat.
79925         * string/test-strncat.c: New file.
79927 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
79929         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
79931 2011-06-21  Andreas Jaeger  <aj@suse.de>
79933         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
79934         Copy rule from iconvdata/Makefile.
79936 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79938         [BZ #12922]
79939         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
79940         but no long options are defined, just return 'W'.
79942 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
79944         [BZ #9696]
79945         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
79947 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79949         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
79950         netgroups to read.
79951         (innetgr): Likewise.
79953 2011-07-05  Roland McGrath  <roland@hack.frob.com>
79955         * config.make.in (install_root): Default to $(DESTDIR).
79957 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
79959         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
79961 2011-07-02  Roland McGrath  <roland@hack.frob.com>
79963         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
79965         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
79966         containing directory rather than embedding absolute directory names.
79968         * scripts/check-local-headers.sh: Rewritten using awk.
79969         Match by word, not by line.  Print error messages for matches.
79970         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
79972         * Makerules [shlib-lds-flags empty]:
79973         ($(common-objpfx)libc_pic.opts): New target.
79974         ($(common-objpfx)libc_pic.os.clean): New target.
79975         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79977         * config.make.in (OBJCOPY): New variable.
79978         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79979         * configure: Regenerated.
79981         * config.make.in (use-default-link): New variable.
79982         * configure.in (use_default_link): Grok --with-default-link to set it.
79983         * configure: Regenerated.
79984         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79985         (shlib-lds, shlib-lds-flags): Define to empty.
79987         * Makerules (shlib-lds): New variable.
79988         (shlib-lds-flags): New variable.
79989         (build-shlib, build-moduile, build-module-asneeded): Use it.
79990         ($(common-objpfx)libc.so): Use $(shlib-lds).
79991         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79992         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79994         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79995         DT_FLAGS/DT_FLAGS_1 with zero flags.
79997         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79998         linker script munging.
80000 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80002         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80003         as 128-bit value.
80004         * crypt/sha512.c (sha512_process_block): Perform total addition using
80005         128-bit if possible.
80006         (__sha512_finish_ctx): Likewise.
80007         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80008         as 64-bit value.
80009         * crypt/sha256.c (SWAP64): Define.
80010         (sha256_process_block): Perform total addition using 64-bit if
80011         possible.
80012         (__sha256_finish_ctx): Likewise.
80014 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80016         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80017         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80018         * nscd/hstcache.c (cache_addhst): Likewise.
80019         * nscd/grpcache.c (cache_addgr): Likewise.
80020         * nscd/aicache.c (addhstaiX): Likewise.
80021         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80023 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80025         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80026         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80027         * nscd/hstcache.c (cache_addhst): Likewise.
80028         * nscd/grpcache.c (cache_addgr): Likewise.
80029         * nscd/aicache.c (addhstaiX): Likewise.
80031 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80033         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80034         domain only when needed.
80036 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80039         is always restored.
80041 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80043         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80044         are re-adding the entry.
80045         * nscd/servicescache.c (cache_addserv): Likewise.
80047 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80049         * sysdeps/generic/dl-irel.h: fix protection against multiple
80050         inclusions.
80051         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80053 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80055         [BZ #12935]
80056         * malloc/memusage.sh: Fix quoting in message.
80057         * debug/xtrace.sh: Likewise.
80059         * configure.in: Remove support for --experimental-malloc option, make
80060         it the default.
80061         * config.make.in: Likewise.
80062         * malloc/Makefile: Likewise.
80064 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80066         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80067         two-byte characters.
80069 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80071         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80072         AC_CACHE_CHECK invocation.
80073         * configure: Regenerated.
80075         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80077 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80079         [BZ #12350]
80080         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80081         bit from old_res_options.
80083         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80085         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80086         value type for setfct.
80088 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80090         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80091         __gettimeofday instead of gettimeofday.
80093 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80095         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80097 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80099         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80101         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80102         info.
80104 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80107         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80108         strcpy-sse2-unaligned strncpy-sse2-unaligned
80109         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80110         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80111         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80112         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80113         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80114         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80115         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80116         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80117         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80118         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80119         (STRCPY): Support SSE2 and SSSE3 versions.
80121 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80123         [BZ #12874]
80124         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80125         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80126         kernels which artificially limit size of requests.
80128 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80130         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80131         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80132         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80133         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80134         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80135         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80136         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80137         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80138         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80139         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80140         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80141         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80142         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80143         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80144         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80146         Enable unaligned load optimization for Intel Core i3, i5 and i7
80147         processors.
80148         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80149         Define.
80150         (index_Fast_Unaligned_Load): Define.
80151         (HAS_FAST_UNALIGNED_LOAD): Define.
80153 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80155         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80157 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80159         [BZ #12907]
80160         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80161         until it is clear that the information is realy needed.
80162         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80164 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80168 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80170         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80171         /sys/devices/system/cpu/online if it is usable.
80173         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80174         reading the information from the /proc filesystem to once a second.
80176 2011-06-21  Andreas Jaeger  <aj@suse.de>
80178         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80179         NULL after inclusion of kernel headers.
80181 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80183         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80184         calls to internal_setent.
80186         [BZ #12885]
80187         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80188         addresses using gethostbyname4_r ignore IPv4 addresses.
80190         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80191         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80193         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80195 2011-06-20  David S. Miller  <davem@davemloft.net>
80197         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80198         inclusions.
80199         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80201         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80202         (elf_irel): Use it.
80203         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80204         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80205         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80206         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80207         * sysdeps/x86_64/dl-irel.h: Likewise.
80209         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80210         * elf/dl-sym.c: Likewise.
80212 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80214         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80215         need to dereference resplen2.
80217 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80219         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80221 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80223         * Makeconfig: Define vardbdir and inst_vardbdir.
80224         * nss/Makefile: Add rules to install db-Makefile.
80226         * nss/nss_db/db-XXX.c: Cleanup.
80228         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80229         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80230         GLIBC_PRIVATE.
80231         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80232         * nss/makedb.c: Implement -g option to specify that value strings
80233         are generated and should not be added to table iterated over for
80234         get*ent calls.
80235         * nss/nss_db/db-initgroups.c: New file.
80237         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80238         interface.
80240         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80241         (internal_getgrouplist): Adjust to name change.
80242         Update use_initgroups_entry if this is not the first call.
80243         * nss/databases.def: Add initgroups entry.
80245         * nss/makedb.c (compute_tables): Check result of multiple hash table
80246         sizes to minimize maximum chain length.
80248 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80250         * Versions.def: Add entry for libnss_db.
80251         * shlib-versions: Likewise.
80252         * nss/Makefile: Add rules to build libnss_db.
80253         * nss/Versions: Add libnss_db information.  Organize libnss_files
80254         entries better.
80255         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80256         makedb progra.  Some minor improvements to generate smaller files.
80257         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80258         here from...
80259         * nss/makedb.c: ...here.
80260         Improve database format to be smaller and require less memory at
80261         runtime.
80262         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80263         db anymore.
80264         * nss/nss_db/db-netgrp.c: Likewise.
80265         * nss/nss_db/db-open.c: Likewise.
80266         * nss/nss_files/flies-XXX.x: Adjust comments.
80267         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80268         * nss/nss_files/files-grp.c: Likewise.
80269         * nss/nss_files/files-hosts.c: Likewise.
80270         * nss/nss_files/files-network.c: Likewise.
80271         * nss/nss_files/files-proto.c: Likewise.
80272         * nss/nss_files/files-pwd.c: Likewise.
80273         * nss/nss_files/files-rpc.c: Likewise.
80274         * nss/nss_files/files-service.c: Likewise.
80275         * nss/nss_files/files-sgrp.c: Likewise.
80276         * nss/nss_files/files-spwd.c: Likewise.
80277         * nss/nss_db/db-alias.c: Removed.
80278         * nss/nss_db/dummy-db.h: Removed.
80280 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80282         * nss/makedb.c: Rewritten to not use database library.
80283         * nss/Makefile: Update to build new makedb program.
80285 2011-06-14  Andreas Jaeger  <aj@suse.de>
80287         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80288         memset declaration.
80290 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80293         tmpbuf.
80295 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80297         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80298         * elf/Makefile ($(objpfx)ld.so): Likewise.
80300         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80301         Don't list ld.so twice in dependencies.
80303         * posix/bug-regex31.c: Include <stdlib.h>.
80305         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80307         * nis/nss_compat/compat-spwd.c
80308         (getspent_next_nss_netgr): Remove unused variable.
80309         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80311         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80312         nonmembers" output to use the right array.
80314         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80316         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80318         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80319         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80320         * catgets/gencat.c (read_input_file): Likewise.
80321         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80323         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80324         variable definition inside #if's controlling its use.
80326         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80328         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80330         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80332         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80333         unreachable code.
80335         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80337         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80338         * configure: Regenerated.
80340         * Makerules: Revert last change.
80341         * elf/Makefile: Likewise.
80343 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80345         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80346         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80347         (reloc-link): Likewise.
80349 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80351         * elf/Makefile: Add rules to build pldd.
80352         * elf/pldd.c: New file.
80353         * elf/pldd-xx.c: New file.
80355 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80357         * version.h: Update for 2.15 development version.
80359 2011-06-07  David S. Miller  <davem@davemloft.net>
80361         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80362         ifuncs.
80363         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80364         elf_machine_lazy_rel): Likewise.
80365         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80366         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80367         elf_machine_lazy_rel): Likewise.
80368         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80369         dl_hwcap via passed in argument.
80370         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80371         Likewise.
80373 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80375         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80377 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80379         [BZ #12849]
80380         * manual/fdl-1.1.texi: New file, verbatim from:
80381         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80382         * manual/lgpl-2.1.texi: New file, verbatim from:
80383         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80384         * manual/Makefile (licenses): New variable, list those new file names.
80385         (texis): Use it.
80386         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80388         * manual/fdl.texi: File removed.
80389         * manual/lesser.texi: File removed.
80390         * manual/libc.texinfo (Copying, Documentation License):
80391         Use new @include file names, put @appendix directive before @include.
80393 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80395         [BZ #12841]
80396         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80397         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80398         (mq_open): Add __NTH.
80400 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80403         Assume Intel Core i3/i5/i7 processor if AVX is available.
80405 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80407         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80408         typo.
80410 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80412         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80413         memory.  Use alloca_account.  Fix memory leak when retrying.
80415 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80417         * version.h (RELEASE): Bump for 2.14 release.
80418         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80420         * config.make.in (RANLIB): Remove entry.
80422 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80424         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80425         (libc.pot): Work around missing support for .ksh extension in xgettext.
80427         [BZ #12684]
80428         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80429         if both request failed.
80430         (send_dg): In case of server errors clear resplen or *resplen2.
80432         [BZ #12454]
80433         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80434         when there are multiple maps.
80435         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80436         (_dl_fini): Remove test here.
80438         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80440 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80442         [BZ #12350]
80443         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80444         bit from old_res_options.
80445         (gaih_inet): Likewise.
80447         [BZ #11099]
80448         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80449         as signed.
80451         * resolv/res_init.c (res_setoptions): Make the code more compact.
80453         [BZ #11558]
80454         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80455         set RES_USEVC.
80457         [BZ #11634]
80458         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80460         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80462         [BZ #11781]
80463         * malloc/malloc.h: Declare malloc hook variables as volatile.
80465         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80466         in last patch.
80468         [BZ #11799]
80469         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80470         raise in the comment.
80471         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80472         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80473         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80475 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80477         [BZ #12811]
80478         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80479         grow the buffers more if it already has to be sufficient.
80480         (build_wcs_upper_buffer): Likewise.
80481         * posix/regexec.c (check_matching): Likewise.
80482         (clean_state_log_if_needed): Likewise.
80483         (extend_buffers): Don't enlarge buffers beyond size of the input
80484         buffer.
80485         Patches mostly by Emil Wojak <emil@wojak.eu>.
80486         * posix/bug-regex32.c: New file.
80487         * posix/Makefile (tests): Add bug-regex32.
80489         * locale/findlocale.c (_nl_find_locale): Return right away if
80490         _nl_explode_name failed.
80491         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80493         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80495         * debug/xtrace.sh: Unify messages.
80496         * malloc/memusage.sh: Likewise.
80498         [BZ #12813]
80499         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80500         time symbol from vDSO.  Substitute with vsyscall if not available.
80501         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80502         __vdso_time.
80504         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80505         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80506         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80507         Add sendmmsg and internal_sendmmsg.
80508         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80509         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80510         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80512         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80513         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80514         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80516 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80518         [BZ #12813]
80519         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80520         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80521         available.
80522         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80523         __vdso_getcpu.
80525         [BZ #12814]
80526         * iconvdata/Makefile (tests): Add bug-iconv9.
80527         * iconvdata/bug-iconv9.c: New file.
80529 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80531         [BZ #12814]
80532         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80534 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80536         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80537         (struct user_regs_struct): Change intcs field back to cs.
80539 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80541         * po/ja.po: Update from translation team.
80543 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80545         [BZ #12795]
80546         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80547         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80549 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80551         * stdlib/longlong.h: Update from GCC.
80553 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80555         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80556         parameter name.
80557         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80558         Add parameter name.
80559         (__sysconf): Pass it down.
80561 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80563         [BZ #12671]
80564         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80565         some situations.
80566         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80567         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80568         add in in __libc_use_alloca calls.  Adjust callers.
80569         (glob): Use malloc in some situations.
80571         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80572         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80573         pltexit.
80575 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80577         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80578         and CLOCK_BOOTTIME_ALARM.
80580         [BZ #12782]
80581         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80582         is returned.
80584         * string/_strerror.c (__strerror_r): Print negative errors as signed
80585         numbers.
80587         [BZ #12777]
80588         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80589         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80590         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80592         * configure.in: Fix typo in redirection and correct removal of test
80593         files in two cases.
80595         [BZ #12788]
80596         * locale/setlocale.c (new_composite_name): Fix test to check for
80597         identical name of all categories.
80599         [BZ #12792]
80600         * libio/filedoalloc.c (local_isatty): New function.
80601         (_IO_file_doallocate): Use local_isatty.
80602         * stdio-common/perror.c (perror): In case a new stream is used
80603         forward the stream error.
80604         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80605         error flag.
80607 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80609         [BZ #11884]
80610         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80611         alloca.
80612         * include/alloca.h (extend_alloca_account): Define.
80614         [BZ #11857]
80615         * posix/regex.h: Fix comments with documentation of user-accessible
80616         fields after compilation and describe correct free'ing of pattern
80617         after re_compile_pattern.
80618         Patch by Reuben Thomas <rrt@sc3d.org>.
80620 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80622         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80623         and -mno-altivec to prevent the compiler from using Altivec and/or
80624         VSX instructions when the corresponding registers are not available.
80626 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80628         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80630 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80632         * libio/freopen.c (freopen): Use __dup2, not dup2.
80633         * libio/freopen64.c (freopen64): Likewise.
80635 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80637         [BZ #12775]
80638         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80639         * math/Makefile (tests): Add test-powl.
80640         (CFLAGS-test-powl.c): Define.
80641         * math/test-powl.c: New file.
80643 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80645         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80647 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80649         [BZ #11837]
80650         * iconvdata/gb18030.c: Update to GB18020-2005.
80652 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80654         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80655         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80656         Patch by Aharon Robbins <arnold@skeeve.com>.
80658         [BZ #11892]
80659         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80660         on the stack.
80662         [BZ #11895]
80663         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80664         through underflows.
80666         [BZ #12766]
80667         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80668         point to strings before performing equality test for error_one_per_line
80669         mode.
80671         [BZ #11697]
80672         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80674         [BZ #11820]
80675         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80676         (struct user_fpregs_struct): Avoid __uint*_t types.
80678         [BZ #6420]
80679         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80680         symbol info.  Use it instead of calling _dl_addr locally.
80681         (lock_and_info): New function.
80682         (tr_freehook): Call lock_and_info and pass symbol info as additional
80683         parameter to tr_where.
80684         (tr_mallochook): Likewise.
80685         (tr_reallochook): Likewise.
80686         (tr_memalignhook): Likewise.
80688         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80689         used and couldn't be at all thread-safe.
80691 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80693         * libio/freopen.c (freopen): Don't close old file descriptor
80694         before the new one is opened.  Instead dup the new file descriptor
80695         to the old one after the new stream is created.
80696         * libio/freopen64.c (freopen64): Likewise.
80697         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80698         * libio/fileops.c (_IO_new_file_close_it): Handle new
80699         _IO_FLAGS2_NOCLOSE flag.
80700         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80701         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80702         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80703         _IO_FLAGS2_NOCLOSE flag.
80704         * include/unistd.h: Add hidden_proto for dup3.
80705         Define __have_dup3.
80706         * io/dup3.c: Define hidden symbol.
80707         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80709         [BZ #7101]
80710         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80711         when an incomplete long option is used.
80712         * posix/tst-getopt_long1.c: New file.
80713         * posix/Makefile (tests): Add tst-getopt_long1.
80715         [BZ #10138]
80716         * scripts/config.guess: Update from autoconf-2.68.
80717         * scripts/config.sub: Likewise.
80719         [BZ #10157]
80720         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80721         tests into ...
80722         (has_cpuclock): ...this.  New function.
80723         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80724         macro here based on has_cpuclock code.
80726         [BZ #10149]
80727         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80728         First byte (not low byte) is now always NUL.
80729         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80731         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80732         Use non-cancelable interfaces.
80734         [BZ #9809]
80735         * locale/iso-639.def: Add entry for Sorani.
80737         [BZ #11901]
80738         * include/stdlib.h: Move include protection to the right place.
80739         Define abort_msg_s.  Declare __abort_msg with it.
80740         * stdlib/abort.c (__abort_msg): Adjust type.
80741         * assert/assert.c (__assert_fail_base): New function.  Majority
80742         of code from __assert_fail.  Allocate memory for __abort_msg with
80743         mmap.
80744         (__assert_fail): Now call __assert_fail_base.
80745         * assert/assert-perr.c: Remove bulk of implementation.  Use
80746         __assert_fail_base.
80747         * include/assert.hL Declare __assert_fail_base.
80748         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80749         mmap.
80750         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80752 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80754         [BZ #11952]
80755         [BZ #12453]
80756         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80757         until all modules are registered in the DTV.
80758         * elf/Makefile: Add rules to build and run tst-tls19.
80759         * elf/tst-tls19.c: New file.
80760         * elf/tst-tls19mod1.c: New file.
80761         * elf/tst-tls19mod2.c: New file.
80762         * elf/tst-tls19mod3.c: New file.
80763         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80765         [BZ #12083]
80766         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80767         correctly.
80769         [BZ #12601]
80770         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80771         two-byte sequence errors.
80772         * iconvdata/Makefile (tests): Add bug-iconv8.
80773         * iconvdata/bug-iconv8.c: New file.
80775         [BZ #12626]
80776         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80777         buf2 definition.
80779         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80781         [BZ #12432]
80782         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80783         (dummy_getcfa): New function.
80784         (init): Get _Unwind_GetCFA address, use dummy if not found.
80785         (backtrace_helper): In recursion check, also check whether CFA changes.
80786         (__backtrace): Completely initialize arg.
80788         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80789         storing incomplete byte sequence in state object.  Avoid testing for
80790         guaranteed too small input if we know there is enough data available.
80792 2011-05-11  Andreas Schwab  <schwab@redhat.com>
80794         * Makeconfig (+link-pie): Indent.
80795         * Rules (binaries-pie): Define if $(have-fpie) and
80796         $(build-shared).
80797         (binaries-shared): Also filter out $(binaries-pie).
80798         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
80799         * nscd/Makefile (others-pie): Add nscd.
80800         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
80801         ($(objpfx)nscd): Remove command override.
80802         * login/Makefile (others-pie): Add pt_chown.
80803         ($(objpfx)pt_chown): Remove command override.
80804         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
80805         remove command overrides.
80807 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
80809         * libio/tst_putwc.c: Fix error messages.
80811         [BZ #12724]
80812         * libio/fileops.c (_IO_new_file_close_it): Always flush when
80813         currently writing and seek to current position when not.
80814         * libio/Makefile (tests): Add bug-fclose1.
80815         * libio/bug-fclose1.c: New file.
80817 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
80819         [BZ #12511]
80820         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
80821         don't set DF_1_NODELETE here.
80822         (do_lookup_x): When entering new entry test for copy relocation
80823         and if necessary set DF_1_NODELETE flag.
80824         * elf/tst-unique4.cc: New file.
80825         * elf/tst-unique4.h: New file.
80826         * elf/tst-unique4lib.cc: New file.
80827         * elf/Makefile: Add rules to build and run tst-unique4.
80828         Patch by Piotr Bury <pbury@goahead.com>.
80830 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
80832         [BZ #12052]
80833         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
80835         [BZ #12625]
80836         * misc/mntent_r.c (addmntent): Flush the stream after the output
80838         [BZ #12393]
80839         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
80840         (is_trusted_path_normalize): Skip initial colon.  Append slash
80841         to empty buffer.  Duplicate is_trusted_path code but allow
80842         constructed patch to be prefix.
80843         (is_dst): Allow $ORIGIN followed by /.
80844         (_dl_dst_substitute): Correct clearing of check_for_trusted.
80845         Correct testing of result of is_trusted_path_normalize
80846         (decompose_rpath): Fix warning.
80848 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
80850         [BZ #11257]
80851         * grp/initgroups.c (internal_getgrouplist): When we found the service
80852         list through the initgroups entry in nsswitch.conf do not always
80853         continue on a successful lookup.  Don't always use the
80854         __nss_group_database value if it is set.
80855         * nss/nsswitch.conf (initgroups): Change action for successful db
80856         lookup to continue for compatibility.
80858 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
80860         [BZ #11532]
80861         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
80862         and CP774 modules.
80863         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
80864         and CP774 modules.
80865         * iconvdata/tst-tables.sh: Likewise.
80866         * iconvdata/cp770.c: New file.
80867         * iconvdata/cp771.c: New file.
80868         * iconvdata/cp772.c: New file.
80869         * iconvdata/cp773.c: New file.
80870         * iconvdata/cp774.c: New file.
80871         * iconvdata/testdata/CP770: New file.
80872         * iconvdata/testdata/CP770..UTF8: New file.
80873         * iconvdata/testdata/CP771: New file.
80874         * iconvdata/testdata/CP771..UTF8: New file.
80875         * iconvdata/testdata/CP772: New file.
80876         * iconvdata/testdata/CP772..UTF8: New file.
80877         * iconvdata/testdata/CP773: New file.
80878         * iconvdata/testdata/CP773..UTF8: New file.
80879         * iconvdata/testdata/CP774: New file.
80880         * iconvdata/testdata/CP774..UTF8: New file.
80882         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
80883         END CHARMAP line.
80884         * iconvdata/gen-8bit-gap.sh: Likewise.
80885         * iconvdata/gen-8bit.sh: Likewise.
80887         * locale/iso-639.def: Add ary entry.
80889         [BZ #11258]
80890         * locale/C-translit.h.in: Add U20A1 transliteration.
80892         [BZ #12178]
80893         * locale/iso-639.def: Add wae entry.
80894         Patch by Kevin Bortis <bortis@translate-wae.ch>.
80896         [BZ #12545]
80897         * locale/programs/localedef.c (construct_output_path): Use ssize_t
80898         for n.
80900         [BZ #12711]
80901         * locale/C-translit.h.in: Add entry for U20B9.
80902         Patch by pravin.d.s@gmail.com.
80904 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
80906         [BZ #12713]
80907         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
80908         ENAMETOOLONG use generic getcwd.
80909         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
80910         in rtld.  Use *stat64.
80911         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
80912         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
80913         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
80914         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
80915         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
80916         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
80917         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
80918         __fstatat64 macros.
80919         * include/dirent.h: Add libc_hidden_proto for rewinddir.
80920         * dirent/rewinddir.c: Add libc_hidden_def.
80921         * sysdeps/mach/hurd/rewinddir.c: Likewise.
80922         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
80924         * include/dirent.h (__alloc_dir): Add flags parameter.
80925         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
80926         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
80927         __alloc_dir.
80928         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
80929         from fdopendir if O_CLOEXEC is already set.
80931 2011-03-15  Alan Modra  <amodra@gmail.com>
80933         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
80934         l_tls_firstbyte_offset non-zero.  Save padding offset in
80935         l_tls_firstbyte_offset for later use.
80936         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80937         freeing static tls block.
80939 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
80941         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
80942         where #ifdef was intended.  The intent is to prevent ARG_MAX from
80943         being defined by the kernel headers.
80945 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
80947         [BZ #12734]
80948         * resolv/resolv.h: Define RES_NOTLDQUERY.
80949         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
80950         no-tld-query and set RES_NOTLDQUERY.
80951         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
80952         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
80953         modern BIND to search name as TLD unless forbidden.
80955 2011-05-07  Petr Baudis  <pasky@suse.cz>
80956             Ulrich Drepper  <drepper@gmail.com>
80958         [BZ #12393]
80959         * elf/dl-load.c (fillin_rpath): Move trusted path check...
80960         (is_trusted_path): ...to here.
80961         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
80962         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
80963         using is_trusted_path_normalize() in setuid scripts.
80965 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80967         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
80968         __BEGIN/__END_DECLS.
80970 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
80972         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
80973         NSS_STATUS_NOTFOUND if no record was found.
80975 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80977         * sunrpc/Makefile (headers): Add rpc/netdb.h.
80978         (headers-not-in-tirpc): Remove rpc/netdb.h
80979         * resolv/netdb.h: Revert last change.
80981 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80983         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80984         circular dependency between libgcc.a and libc.a.
80986 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80988         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80989         * nis/Makefile: Don't install rpcsvc/*.
80990         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80991         instead of <rpc/types.h>.
80992         (MAXHOSTNAMELEN): Define.
80994 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80996         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80998 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81000         [BZ #12714]
81001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81002         gethostbyname4_r when IPv6 results are possible.
81004 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81006         [BZ #12723]
81007         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81008         _PC_PIPE_BUF handling.
81010 2011-04-30  Bruno Haible  <bruno@clisp.org>
81012         [BZ #12717]
81013         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81014         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81015         to 'int'.
81016         * inet/getnameinfo.c (getnameinfo): Likewise.
81018 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81020         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81021         to groups setting in database lookup.
81022         * nss/nsswitch.conf: Add initgroups entry.
81024 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81026         [BZ #12685]
81027         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81028         mode string.
81029         Patch by Eric Blake <eblake@redhat.com>.
81031 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81033         * sunrpc/Makefile (need-export-routines): Add svc_run.
81034         (routines): Remove svc_run.
81035         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81036         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81037         * sunrpc/svc_run.c (svc_run): Likewise.
81038         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81040 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81042         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81043         problem in reallocation in last patch.
81045 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81047         * sunrpc/Makefile: Move inclusion of Rules.
81049 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81051         * nss/nss_files/files-initgroups.c: New file.
81052         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81053         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81054         _nss_files_initgroups_dyn.
81056 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81058         * elf/elf.h (R_ARM_IRELATIVE): Define.
81060 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81062         * po/ru.po: Update from translation team.
81064 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81066         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81067         dependencies.
81069 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81071         [BZ #12653]
81072         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81073         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81074         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81075         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81076         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81078 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81080         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81081         differing bytes.
81082         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81083         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81084         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81086 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81088         [BZ #12420]
81089         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81090         storing it.
81091         * stdlib/bug-getcontext.c: New file.
81092         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81094 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81096         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81097         instructions into .machine "z9-109".
81098         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81099         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81101 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81103         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81104         between environment variables and auxiliary vector.
81106 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81108         * Makefile: Add rules to build linkobj/libc.so.
81109         * include/libc-symbols.h: Define libc_hidden_nolink.
81110         * include/rpc/auth.h: Mark functions which are to be hidden.
81111         * include/rpc/auth_des.h: Likewise.
81112         * include/rpc/auth_unix.h: Likewise.
81113         * include/rpc/clnt.h: Likewise.
81114         * include/rpc/des_crypt.h: Likewise.
81115         * include/rpc/key_prot.h: Likewise.
81116         * include/rpc/pmap_clnt.h: Likewise.
81117         * include/rpc/pmap_prot.h: Likewise.
81118         * include/rpc/pmap_rmt.h: Likewise.
81119         * include/rpc/rpc_msg.h: Likewise.
81120         * include/rpc/svc.h: Likewise.
81121         * include/rpc/svc_auth.h: Likewise.
81122         * include/rpc/xdr.h: Likewise.
81123         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81124         * nss/Makefile: Likewise.
81125         * sunrpc/Makefile: Don't install headers.  Build library with normal
81126         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81127         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81128         for the compat linking library.  Remove use of INTDEF/INTUSE.
81129         * sunrpc/auth_none.c: Likewise.
81130         * sunrpc/auth_unix.c: Likewise.
81131         * sunrpc/authdes_prot.c: Likewise.
81132         * sunrpc/authuxprot.c: Likewise.
81133         * sunrpc/clnt_gen.c: Likewise.
81134         * sunrpc/clnt_perr.c: Likewise.
81135         * sunrpc/clnt_raw.c: Likewise.
81136         * sunrpc/clnt_simp.c: Likewise.
81137         * sunrpc/clnt_tcp.c: Likewise.
81138         * sunrpc/clnt_udp.c: Likewise.
81139         * sunrpc/clnt_unix.c: Likewise.
81140         * sunrpc/des_crypt.c: Likewise.
81141         * sunrpc/des_soft.c: Likewise.
81142         * sunrpc/get_myaddr.c: Likewise.
81143         * sunrpc/key_call.c: Likewise.
81144         * sunrpc/key_prot.c: Likewise.
81145         * sunrpc/netname.c: Likewise.
81146         * sunrpc/pm_getmaps.c: Likewise.
81147         * sunrpc/pm_getport.c: Likewise.
81148         * sunrpc/pmap_clnt.c: Likewise.
81149         * sunrpc/pmap_prot.c: Likewise.
81150         * sunrpc/pmap_prot2.c: Likewise.
81151         * sunrpc/pmap_rmt.c: Likewise.
81152         * sunrpc/publickey.c: Likewise.
81153         * sunrpc/rpc_cmsg.c: Likewise.
81154         * sunrpc/rpc_common.c: Likewise.
81155         * sunrpc/rpc_dtable.c: Likewise.
81156         * sunrpc/rpc_prot.c: Likewise.
81157         * sunrpc/rpc_thread.c: Likewise.
81158         * sunrpc/rtime.c: Likewise.
81159         * sunrpc/svc.c: Likewise.
81160         * sunrpc/svc_auth.c: Likewise.
81161         * sunrpc/svc_authux.c: Likewise.
81162         * sunrpc/svc_raw.c: Likewise.
81163         * sunrpc/svc_run.c: Likewise.
81164         * sunrpc/svc_simple.c: Likewise.
81165         * sunrpc/svc_tcp.c: Likewise.
81166         * sunrpc/svc_udp.c: Likewise.
81167         * sunrpc/svc_unix.c: Likewise.
81168         * sunrpc/svcauth_des.c: Likewise.
81169         * sunrpc/xcrypt.c: Likewise.
81170         * sunrpc/xdr.c: Likewise.
81171         * sunrpc/xdr_array.c: Likewise.
81172         * sunrpc/xdr_float.c: Likewise.
81173         * sunrpc/xdr_intXX_t.c: Likewise.
81174         * sunrpc/xdr_mem.c: Likewise.
81175         * sunrpc/xdr_rec.c: Likewise.
81176         * sunrpc/xdr_ref.c: Likewise.
81177         * sunrpc/xdr_sizeof.c: Likewise.
81178         * sunrpc/xdr_stdio.c: Likewise.
81180 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81182         [BZ #12650]
81183         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81184         * sysdeps/ia64/dl-tls.h: Likewise.
81185         * sysdeps/powerpc/dl-tls.h: Likewise.
81186         * sysdeps/s390/dl-tls.h: Likewise.
81187         * sysdeps/sh/dl-tls.h: Likewise.
81188         * sysdeps/sparc/dl-tls.h: Likewise.
81189         * sysdeps/x86_64/dl-tls.h: Likewise.
81190         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81192 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81194         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81195         rpath element also skip the following colon.
81196         (expand_dynamic_string_token): Add is_path parameter and pass
81197         down to DL_DST_REQUIRED and _dl_dst_substitute.
81198         (decompose_rpath): Call expand_dynamic_string_token with
81199         non-zero is_path.  Ignore empty rpaths.
81200         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81201         with zero is_path.
81203 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81206         Make cancelable.
81208 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81210         [BZ #12655]
81211         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81212         Patch by Filipe David Manana <fdmanana@apache.org>.
81214 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81216         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81217         Maintain aligned stack.
81218         (CHECK_RSP): Remove unused macro.
81220 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81222         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81223         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81225 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81227         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81229         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81231 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81233         [BZ #12518]
81234         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81235         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81236         * sysdeps/x86_64/memmove.c: New file.
81237         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81238         (memcpy): Renamed to ...
81239         (__new_memcpy): This.
81240         (memcpy): Provide GLIBC_2_14 memcpy.
81241         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81242         (memcpy): Provide GLIBC_2_2_5 memcpy.
81244 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81246         [BZ #12631]
81247         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81249 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81251         * misc/syncfs.c: New file.
81252         * misc/Makefile (routines): Add syncfs.
81253         * posix/unistd.h: Declare syncfs.
81254         * sysdeps/unix/syscalls.list: Add syncfs.
81256 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81258         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81259         open_by_handle_at.
81260         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81261         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81262         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81263         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81264         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81265         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81266         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81268 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81270         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81271         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81272         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81273         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81274         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81275         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81276         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81278         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81279         sync_file_range.c with -fexceptions.
81280         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81281         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81282         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81283         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81284         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81285         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81286         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81287         sync_file_range as cancellation point
81288         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81289         now a wrapper around __call_sync_file_range with cancellation handling.
81290         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81291         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81292         function name to __call_sync_file_range.
81293         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81294         Add call_sync_file_range.
81296 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81299         bits/timex.h.
81301 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81303         * iconv/iconv.h: Fix typo in comment.
81304         * io/fcntl.h: Likewise.
81305         * libio/stdio.h: Likewise.
81306         * posix/spawn.h: Likewise.
81307         * posix/unistd.h: Likewise.
81308         * stdlib/stdlib.h: Likewise.
81309         * time/time.h: Likewise.
81310         * wcsmbs/wchar.h: Likewise.
81312         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81313         open_by_handle): Add.
81314         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81315         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81316         Augment a few comments.
81317         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81319         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81321         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81322         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81323         open_by_handle.
81325         * io/fcntl.h (AT_EMPTY_PATH): Define.
81327 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81329         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81330         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81331         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81332         to...
81333         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81334         * Versions.def: Add GLIBC_2.14.
81335         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81336         Export.
81338 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81340         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81341         round counter.
81342         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81344 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81346         [BZ #12597]
81347         * string/test-strncmp.c (do_page_test): New function.
81348         (check2): Likewise.
81349         (test_main): Call check2.
81350         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81352 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81354         [BZ #12587]
81355         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81356         Handle cache information in CPU leaf 4.
81357         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81359 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81361         [BZ #12583]
81362         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81363         character representation.
81364         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81366 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81368         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81369         END(__isnan) to END(__isnanf) to match function entry point/label
81370         EALIGN(__isnanf,...).
81372 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81374         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81376 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81378         [BZ #12510]
81379         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81380         copy from the symbol referenced in the relocation to initialize the
81381         used variable.
81382         Patch by Piotr Bury <pbury@goahead.com>.
81383         * elf/Makefile: Add rules to build and tst-unique3.
81384         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81385         * elf/tst-unique3.cc: New file.
81386         * elf/tst-unique3.h: New file.
81387         * elf/tst-unique3lib.cc: New file.
81388         * elf/tst-unique3lib2.cc: New file.
81390         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81392 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81394         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81395         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81396         to _start.
81398 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81400         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81401         to-be-loaded object along a path to loader is ld.so.
81403 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81404             Ulrich Drepper  <drepper@gmail.com>
81406         * sysdeps/x86_64/memset.S: After aligning destination, code
81407         branches to different locations depending on the value of
81408         misalignment, when multiarch is enabled. Fix this.
81410 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81412         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81413         Set _x86_64_preferred_memory_instruction for AMD processsors.
81414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81415         Set bit_Prefer_SSE_for_memop for AMD processors.
81417 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81419         * libio/fmemopen.c (fmemopen): Optimize a bit.
81421 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81423         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81425 2011-03-03  Roland McGrath  <roland@redhat.com>
81427         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81429 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81431         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81432         __bzero_ultra1 instead of __memset_ultra1.
81434 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81435             Ulrich Drepper  <drepper@gmail.com>
81437         [BZ #12509]
81438         * include/link.h (struct link_map): Add l_orig_initfini.
81439         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81440         returning unsuccessfully.
81441         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81442         close of a file loaded at startup, restore the original l_initfini
81443         list.
81444         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81445         list, store the pointer.
81446         * elf/Makefile ($(objpfx)noload-mem): New rule.
81447         (noload-ENV): Define.
81448         (tests): Add $(objpfx)noload-mem.
81449         * elf/noload.c: Include <memcheck.h>.
81450         (main): Call mtrace.  Close all opened handles.
81452 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81454         [BZ #12454]
81455         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81456         dependencies are missing.
81458 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81460         Fix __if_freereq crash: Unlike the generic version which uses free,
81461         Hurd needs munmap.
81462         * sysdeps/mach/hurd/ifreq.h: New file.
81464 2011-01-27  Petr Baudis  <pasky@suse.cz>
81465             Ulrich Drepper  <drepper@gmail.com>
81467         [BZ 12445]#
81468         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81469         to extend_alloca().
81470         * stdio-common/bug23.c: New file.
81471         * stdio-common/Makefile (tests): Add bug23.
81473 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81474             Ulrich Drepper  <drepper@gmail.com>
81476         [BZ #12489]
81477         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81478         before performing relro protection.  At old place add assertion
81479         to make sure nothing changed.
81481 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81482             Glauber de Oliveira Costa  <glommer@gmail.com>
81484         * elf/elf.h: Add new ARM TLS relocs.
81486 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81489         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81490         cast from r3.
81491         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81492         'tests' variable.
81493         * sysdeps/wordsize-64/tst-writev.c: New file.
81495 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81497         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81498         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81499         insns in _dl_start to prevent a TOC reference before relocs are
81500         resolved.
81502 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81504         [BZ #12469]
81505         * Makeconfig: Remove RANLIB definition.
81506         * Makerules: Don't use RANLIB.
81507         * aclocal.m4: Remove ranlib test.
81508         * configure.in: No need to check for ranlib.
81509         * elf/rtld-Rules: Don't use RANLIB.
81511 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81513         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81514         protection macro.
81515         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81516         inclusion protection macro.
81518         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81519         SIGRTMIN and SIGRTMAX and print information in that case only when
81520         SIGRTMIN is defined.
81522 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81524         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81525         arginfo fn returning -1.
81527         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81528         and thousands string is zero terminated.
81530 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81532         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81533         sysdeps/unix/sysv/linux/bits/socket.h.
81535 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81537         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81538         (__CPU_COUNT): Remove old macros.
81539         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81540         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81541         (__CPU_ALLOC, __CPU_FREE): Add macros.
81542         (__sched_cpualloc, __sched_cpufree): Add declarations.
81544 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81546         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81547         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81548         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81549         (readdhstai): Return value of addhstaiX call.
81550         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81551         (addgrbyX): Return value returned by cache_addgr.
81552         (readdgrbyname): Return value returned by addgrbyX.
81553         (readdgrbygid): Likewise.
81554         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81555         (addpwbyX): Return value returned by cache_addpw.
81556         (readdpwbyname): Return value returned by addhstbyX.
81557         (readdpwbyuid): Likewise.
81558         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81559         (addservbyX): Return value returned by cache_addserv.
81560         (readdservbyname): Return value returned by addservbyX:
81561         (readdservbyport): Likewise.
81562         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81563         (addhstbyX): Return value returned by cache_addhst.
81564         (readdhstbyname): Return value returned by addhstbyX.
81565         (readdhstbyaddr): Likewise.
81566         (readdhstbynamev6): Likewise.
81567         (readdhstbyaddrv6): Likewise.
81568         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81569         (readdinitgroups): Return value returned by addinitgroupsX.
81570         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81571         (prune_cache): Keep track of timeout value of re-added entries.
81572         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81573         * nscd/nscd.h: Adjust prototypes of readd* functions.
81575 2011-02-04  Roland McGrath  <roland@redhat.com>
81577         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81578         (nis_stats): Likewise.
81579         * nis/nis_modify.c (nis_modify): Likewise.
81580         * nis/nis_remove.c (nis_remove): Likewise.
81581         * nis/nis_add.c (nis_add): Likewise.
81583         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81585         * posix/fnmatch_loop.c: Add some consts.
81587         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81589 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81591         [BZ #12460]
81592         * config.make.in (config-cflags-novzeroupper): Define.
81593         * configure.in: Substitute libc_cv_cc_novzeroupper.
81594         * elf/Makefile (AVX-CFLAGS): Define.
81595         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81596         (CFLAGS-tst-auditmod4a.c): Likewise.
81597         (CFLAGS-tst-auditmod4b.c): Likewise.
81598         (CFLAGS-tst-auditmod6b.c): Likewise.
81599         (CFLAGS-tst-auditmod6c.c): Likewise.
81600         (CFLAGS-tst-auditmod7b.c): Likewise.
81601         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81603 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81605         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81606         function to the callback.
81607         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81609 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81611         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81612         of errno.
81614 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81616         [BZ #11724]
81617         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81618         of constructors.
81619         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81620         of destructors.
81621         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81623         [BZ #11724]
81624         * elf/Makefile: Add rules to build and run new test.
81625         * elf/tst-initorder.c: New file.
81626         * elf/tst-initorder.exp: New file.
81627         * elf/tst-initordera1.c: New file.
81628         * elf/tst-initordera2.c: New file.
81629         * elf/tst-initordera3.c: New file.
81630         * elf/tst-initordera4.c: New file.
81631         * elf/tst-initorderb1.c: New file.
81632         * elf/tst-initorderb2.c: New file.
81633         * elf/tst-order-a1.c: New file.
81634         * elf/tst-order-a2.c: New file.
81635         * elf/tst-order-a3.c: New file.
81636         * elf/tst-order-a4.c: New file.
81637         * elf/tst-order-b1.c: New file.
81638         * elf/tst-order-b2.c: New file.
81639         * elf/tst-order-main.c: New file.
81640         New test case by George Gensure <werkt0@gmail.com>.
81642 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81645         decoding ACE if AI_CANONIDN.
81647 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81649         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81651 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81653         * version.h (RELEASE): Bump for 2.13 release.
81654         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81656         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81658         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81659         MADV_NOHUGEPAGE.
81660         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81661         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81662         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81663         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81664         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81665         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81667         * posix/getconf.c: Update copyright year.
81668         * catgets/gencat.c: Likewise.
81669         * csu/version.c: Likewise.
81670         * debug/catchsegv.sh: Likewise.
81671         * debug/xtrace.sh: Likewise.
81672         * elf/ldconfig.c: Likewise.
81673         * elf/ldd.bash.in: Likewise.
81674         * elf/sprof.c (print_version): Likewise.
81675         * iconv/iconv_prog.c: Likewise.
81676         * iconv/iconvconfig.c: Likewise.
81677         * locale/programs/locale.c: Likewise.
81678         * locale/programs/localedef.c: Likewise.
81679         * malloc/memusage.sh: Likewise.
81680         * malloc/mtrace.pl: Likewise.
81681         * nscd/nscd.c (print_version): Likewise.
81682         * nss/getent.c: Likewise.
81684         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81685         PF_CAIF, and PF_ALG.
81686         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81688 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81690         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81691         (modules-names): Use them.
81692         (ifunc-test-modules, ifunc-pie-tests): Define.
81693         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81694         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81695         (test-extras): Likewise.
81696         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81697         $(compile-command.c).
81698         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81699         (all-built-dso): Define.
81700         (check-textrel.out, check-execstack.out): Depend on it.
81702         * configure.in: Don't override --enable-multi-arch.
81704 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81706         [BZ #6812]
81707         * nscd/hstcache.c (tryagain): Define.
81708         (cache_addhst): Return tryagain not notfound for temporary errors.
81709         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81710         failed.
81712 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81714         [BZ #10563]
81715         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81716         to make the syscall.
81717         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81719         [BZ #12378]
81720         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81721         and fall back to matching as normal character if the string ends before
81722         the matching ']' is found.  This is what POSIX requires.
81723         * posix/testfnm.c: Adjust test result.
81724         * posix/globtest.sh: Adjust test result.  Add new test.
81725         * posix/tst-fnmatch.input: Likewise.
81726         * posix/tst-fnmatch2.c: Add new test.
81728 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81730         * elf/Makefile (check-execstack): Revert last change.  Depend on
81731         check-execstack.h.
81732         (check-execstack.h): New target.
81733         (generated): Add check-execstack.h.
81734         * elf/check-execstack.c: Include "check-execstack.h".
81735         (main): Revert last change.
81736         (handle_file): Return zero if GNU_STACK is absent and
81737         DEFAULT_STACK_PERMS doesn't include PF_X.
81739 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81741         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81742         in child fails because the descriptor is already closed.
81743         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81744         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81745         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81747         [BZ #12397]
81748         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81749         syscall.
81751         [BZ #10484]
81752         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81753         temporary buffer used to handle multi lookups locally.
81754         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81756 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81758         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81759         loader is ld.so.
81761 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81763         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81764         alignment for SSE2.
81766 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81768         [BZ #12394]
81769         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81770         characters.  When rounding increased number of integer digits recompute
81771         number of groups.
81772         * stdio-common/tst-grouping.c: New file.
81773         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81775 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81777         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81778         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81780         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81781         void.
81782         * bits/select.h: Likewise.
81784 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81786         * po/ja.po: Update from translation team.
81788 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81790         [BZ #11155]
81791         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81792         implementation just like for lxstat, fxstatat, et al.
81794 2010-12-27  Jim Meyering  <meyering@redhat.com>
81796         [BZ #12348]
81797         * posix/regexec.c (build_trtable): Return failure indication upon
81798         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
81800 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
81802         [BZ #12201]
81803         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
81804         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
81805         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
81806         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
81808         [BZ #12207]
81809         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
81811         [BZ #12204]
81812         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
81813         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
81815 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
81817         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
81818         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
81819         script has SORT_BY_INIT_PRIORITY.
81820         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
81821         NO_CTORS_DTORS_SECTIONS is defined.
81822         * elf/soinit.c: Likewise.
81823         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
81824         NO_CTORS_DTORS_SECTIONS is defined.
81825         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
81826         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
81827         * sysdeps/sh/init-first.c: Likewise.
81828         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
81830 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
81832         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
81833         always use the slow path.
81835 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
81837         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
81838         similar rule which adds the sysdep directories to the header search in
81839         order to pick up the correct platform stackinfo.h.
81840         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
81841         perform test if it is, otherwise return successfully without testing.
81842         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
81843         DEFAULT_STACK_PERMS define in stackinfo.h.
81844         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
81845         defined in stackinfo.h.
81846         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
81847         DEFAULT_STACK_PERMS defined in stackinfo.h.
81848         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
81849         * sysdeps/ia64/stackinfo.h: Likewise.
81850         * sysdeps/s390/stackinfo.h: Likewise.
81851         * sysdeps/sh/stackinfo.h: Likewise.
81852         * sysdeps/sparc/stackinfo.h: Likewise.
81853         * sysdeps/x86_64/stackinfo.h: Likewise.
81854         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
81855         PF_X for powerpc64.  Retain PF_X for powerpc32.
81857 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
81859         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
81860         accurately.
81861         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
81862         GETDENTS_64BIT_ALIGNED.
81864 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
81866         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
81868 2010-12-10  Andreas Schwab  <schwab@redhat.com>
81870         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
81871         _GNU_SOURCE.
81873         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
81874         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
81875         Remove __restrict.
81876         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
81877         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
81879 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
81881         [BZ #11655]
81882         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
81883         are initialized.
81885 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
81887         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
81889 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
81891         * po/it.po: Update from translation team.
81893 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
81895         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
81896         unused codes.
81898 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
81900         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
81902 2010-11-24  Andreas Schwab  <schwab@redhat.com>
81904         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
81905         specially.
81906         (gaih_getanswer_slice): Likewise.
81908 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
81910         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
81912 2010-05-31  Petr Baudis  <pasky@suse.cz>
81914         [BZ #11149]
81915         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
81916         silently even in the chroot mode.
81918 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
81920         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
81921         last patch a bit.  Pretty printing
81923 2010-05-31  Petr Baudis <pasky@suse.cz>
81925         [BZ #10085]
81926         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
81927         initialization of skip_initgroups_dyn.
81929 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
81931         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
81932         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81934 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
81936         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
81938 2010-11-11  Andreas Schwab  <schwab@redhat.com>
81940         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
81941         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
81942         (tst-fnmatch-ENV): Set MALLOC_TRACE.
81943         ($(objpfx)tst-fnmatch-mem): New rule.
81944         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
81945         * posix/tst-fnmatch.c (main): Call mtrace.
81947 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
81949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81950         Support Intel processor model 6 and model 0x2c.
81952 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
81954         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
81955           signed comparison.
81957 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
81959         [BZ #12205]
81960         * string/test-strncasecmp.c (check_result): New function.
81961         (do_one_test): Use it.
81962         (check1): New function.
81963         (test_main): Use it.
81964         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
81965         Support strcasecmp and strncasecmp.
81967 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
81969         [BZ #12194]
81970         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
81971         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81973 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
81975         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
81976         IFUNC support.
81977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81978         memset-x86-64.
81979         * sysdeps/x86_64/multiarch/bzero.S: New file.
81980         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81981         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81982         * sysdeps/x86_64/multiarch/memset.S: New file.
81983         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81985         Set bit_Prefer_SSE_for_memop for Intel processors.
81986         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81987         Define.
81988         (index_Prefer_SSE_for_memop): Define.
81989         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81991 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81993         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81994         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81996 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81998         [BZ #12191]
81999         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82000         (__x86_64_raw_data_cache_size_half): Likewise.
82001         (__x86_64_raw_shared_cache_size): Likewise.
82002         (__x86_64_raw_shared_cache_size_half): Likewise.
82004         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82005         (__x86_64_raw_data_cache_size_half): Likewise.
82006         (__x86_64_raw_shared_cache_size): Likewise.
82007         (__x86_64_raw_shared_cache_size_half): Likewise.
82008         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82009         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82010         and __x86_64_raw_shared_cache_size_half.  Round
82011         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82012         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82013         to multiple of 256 bytes.
82015 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82017         [BZ #12167]
82018         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82019         of inacessible symlinks.  Verify result of symlink before returning it.
82020         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82021         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82023 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82025         * math/math.h (isinf): Fix typo in comment.
82027 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82029         * po/da.po: Update from translation team.
82031 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82033         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82034         is added to the list.
82036 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82037             Ulrich Drepper  <drepper@gmail.com>
82039         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82040         the global list here.  Move code to...
82041         (_dl_add_to_namespace_list): ...here.  New function.
82042         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82043         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82044         * elf/dl-load.c (lose): Don't remove the element from the list.
82045         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82046         (_dl_map_object): Likewise.
82048 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82050         [BZ #12159]
82051         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82052         into all bytes of SSE register.
82053         Patch by Richard Li <richardpku@gmail.com>.
82055 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82057         [BZ #12140]
82058         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82059         perturbing.
82061 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82063         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82064         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82065         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82066         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82068         submachine.
82069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82071 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82073         * include/dlfcn.h (__RTLD_SECURE): Define.
82074         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82075         mode & __RTLD_SECURE instead.
82076         (open_path): Rename preloaded parameter to secure.
82077         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82078         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82079         * elf/dl-deps.c (openaux): Likewise.
82080         * elf/rtld.c (struct map_args): Remove is_preloaded.
82081         (map_doit): Don't use it.
82082         (dl_main): Likewise.
82083         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82084         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82086 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82088         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82089         (sysd-rules-targets): Remove duplicates.
82090         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82091         rtld-%.$o dependency.
82093 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82095         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82096         _dl_map_object do it.
82098 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82100         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82101         fast fma builtins, define the macros in the C99 standard.
82102         (FP_FAST_FMAF): Likewise.
82103         (FP_FAST_FMAL): Likewise.
82104         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82106         * bits/mathdef.h: Update copyright year.
82107         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82109 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82111         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82112         builtins, define the macros in the C99 standard.
82113         (FP_FAST_FMAF): Likewise.
82114         (FP_FAST_FMAL): Likewise.
82115         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82116         multiply/add.
82117         (FP_FAST_FMAF): Likewise.
82119 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82121         [BZ #3268]
82122         * math/libm-test.inc (fma_test): Some new testcases.
82123         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82124         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82125         y and infinite z.  Do multiplication by C already in long double.
82126         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82128         y and infinite z.  Do bitwise or of inexact bit into u.d.
82129         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82130         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82131         * sysdeps/i386/fpu/s_fma.S: Removed.
82132         * sysdeps/i386/fpu/s_fmal.S: Removed.
82134 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82136         [BZ #3268]
82137         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82138         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82139         computation is not scheduled after fetestexcept.  Fix value
82140         of minimum denormal long double.
82142 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82144         [BZ #3268]
82145         * math/libm-test.inc (fma_test): Add some more tests.
82146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82147         correctly.
82149 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82151         * scripts/data/localplt-s390-linux-gnu.data: New file.
82152         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82154 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82156         [BZ #3268]
82157         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82158         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82159         instead of dbl-64.
82160         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82161         inlines.
82162         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82164         if one of x and y is very large and the other is subnormal.
82165         * sysdeps/s390/fpu/s_fmaf.c: New file.
82166         * sysdeps/s390/fpu/s_fma.c: New file.
82167         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82168         * sysdeps/powerpc/fpu/s_fma.S: New file.
82169         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82170         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82171         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82173 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82175         [BZ #3268]
82176         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82177         fma tests.
82178         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82179         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82180         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82181         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82182         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82183         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82184         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82186 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82188         [BZ #12078]
82189         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82190         * posix/bug-regex31.input: Add test case.
82192 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82194         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82195         * posix/bug-regex31.input: New file.
82197         [BZ #12078]
82198         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82199         (parse_sub_exp): Fix last change, use postorder.
82201         * posix/bug-regex31.c: New file.
82202         * posix/Makefile: Add rules to build and run bug-regex31.
82204         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82206         [BZ #12078]
82207         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82209         [BZ #12108]
82210         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82211         to have entries in sys_siglist.
82213         [BZ #12093]
82214         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82215         be NULL.
82217 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82219         [BZ #3268]
82220         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82221         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82222         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82223         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82224         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82225         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82226         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82227         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82228         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82229         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82230         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82231         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82232         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82233         * math/ftestexcept.c (fetestexcept): Likewise.
82234         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82235         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82236         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82237         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82238         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82239         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82240         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82242 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82244         [BZ #12107]
82245         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82246         newline.
82248 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82250         * string/bug-strstr1.c: New file.
82251         * string/Makefile: Add rules to build and run bug-strstr1.
82253 2010-10-05  Eric Blake  <eblake@redhat.com>
82255         [BZ #12092]
82256         * string/str-two-way.h (two_way_long_needle): Always clear memory
82257         when skipping input due to the shift table.
82259 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82261         [BZ #12005]
82262         * malloc/mcheck.c: Handle large requests.
82264         [BZ #12077]
82265         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82266         for strncmp and strncasecmp.
82267         * string/stratcliff.c: Add tests for strcmp and strncmp.
82268         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82270 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82272         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82273         __set_fpscr.
82275 2010-09-30  Andreas Jaeger  <aj@suse.de>
82277         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82278         (CGROUP_SUPER_MAGIC): Define.
82279         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82280         Handle btrfs and cgroup file systems.
82281         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82282         Likewise.
82284 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82286         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82287         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82289 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82291         [BZ #12067]
82292         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82293         trying to locate the ELF header.
82295 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82297         [BZ #11611]
82298         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82299         Mask out sign-bit copies when constructing f_fsid.
82301 2010-09-24  Petr Baudis <pasky@suse.cz>
82303         * debug/stack_chk_fail_local.c: Add missing licence exception.
82304         * debug/warning-nop.c: Likewise.
82306 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82308         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82309         implementing getdents64 using getdents syscall, set d_type if
82310         __ASSUME_GETDENTS32_D_TYPE.
82312 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82314         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82315         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82317 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82319         [BZ #12037]
82320         * posix/unistd.h: Undo change of feature selection for ftruncate from
82321         2010-01-11.
82323 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82325         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82326         detection.
82328 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82330         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82331         fanotify_mark.
82332         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82334 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82336         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82337         variables after CHECK_SP call.
82338         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82340 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82341             Ulrich Drepper  <drepper@redhat.com>
82343         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82344         re-relocationg ld.so.
82345         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82346         _dl_init_paths call.
82347         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82348         here anymore.
82350 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82352         * resolv/res_init.c (__res_vinit): Count the default server we added.
82354 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82355             Ulrich Drepper  <drepper@redhat.com>
82357         [BZ #11968]
82358         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82359         (____longjmp_chk): Use %ebx for saving value across system call.
82360         Add unwind info.
82362 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82364         * manual/Makefile: Don't mix pattern rules with normal rules.
82366 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82368         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82369         operation.
82370         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82371         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82372         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82373         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82374         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82375         Likewise.
82377 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82379         [BZ #11979]
82380         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82381         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82383 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82385         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82386         * sysdeps/x86_64/addmul_1.S: Likewise.
82387         * sysdeps/x86_64/lshift.S: Likewise.
82388         * sysdeps/x86_64/mul_1.S: Likewise.
82389         * sysdeps/x86_64/rshift.S: Likewise.
82390         * sysdeps/x86_64/sub_n.S: Likewise.
82391         * sysdeps/x86_64/submul_1.S: Likewise.
82393 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82395         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82396         Define __sched_param instead of SCHED_* and sched_param when
82397         <bits/sched.h> is included with __need_schedparam defined.
82398         * bits/sched.h [__need_schedparam]
82399         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82400         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82401         (__defined_schedparam): Define to 1.
82402         (__sched_param): New structure, identical to sched_param.
82403         (__need_schedparam): Undefine.
82405 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82407         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82408         (epoll_create1): Declare.
82410         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82412 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82414         [BZ #7066]
82415         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82416         shifting retval into place.
82418 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82420         * nis/rpcsvc/nis.h: Update copyright notice.
82421         * nis/rpcsvc/nis.x: Likewise.
82422         * nis/rpcsvc/nis_callback.h: Likewise.
82423         * nis/rpcsvc/nis_callback.x: Likewise.
82424         * nis/rpcsvc/nis_object.x: Likewise.
82425         * nis/rpcsvc/nis_tags.h: Likewise.
82426         * nis/rpcsvc/yp.h: Likewise.
82427         * nis/rpcsvc/yp.x: Likewise.
82428         * nis/rpcsvc/ypupd.h: Likewise.
82429         * nis/yp_xdr.c: Likewise.
82430         * nis/ypupdate_xdr.c: Likewise.
82432         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82433         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82434         (pmap_getport): Use __libc_rpc_getport.
82435         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82436         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82437         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82439 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82442         fanotify_mark.
82444 2010-08-27  Roland McGrath  <roland@redhat.com>
82446         * sysdeps/i386/i686/multiarch/Makefile
82447         (CFLAGS-varshift.c): New variable.
82449 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82451         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82452         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82454         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82456         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82458 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82460         * sysdeps/x86_64/strlen.S: Unroll the loop.
82461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82462         strlen-sse2 strlen-sse2-bsf.
82463         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82464         __strlen_no_bsf if bit_Slow_BSF is set.
82465         (__strlen_sse42): Removed.
82466         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82467         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82469 2010-08-25  Roland McGrath  <roland@redhat.com>
82471         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82472         * sysdeps/x86_64/multiarch/varshift.c: New file.
82473         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82474         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82475         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82476         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82478 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82481         strlen-sse2 strlen-sse2-bsf.
82482         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82483         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82484         (__strlen_sse2): Removed.
82485         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82486         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82488         bit_Slow_BSF for Atom.
82489         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82490         (index_Slow_BSF): Define.
82491         (HAS_SLOW_BSF): Define.
82493 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82495         [BZ #10851]
82496         * resolv/res_init.c (__res_vinit): When no server address at all
82497         is given default to loopback.
82499 2010-08-24  Roland McGrath  <roland@redhat.com>
82501         * configure.in: Remove config-name.h generation.
82502         * configure: Regenerated.
82503         * config-name.in: File removed.
82504         * scripts/config-uname.sh: New file.
82505         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82506         ($(objdir)config-name.h): New target.
82508         * sunrpc/rpc_parse.h: Avoid nested comment.
82510 2010-08-24  Richard Henderson  <rth@redhat.com>
82511             Ulrich Drepper  <drepper@redhat.com>
82512             H.J. Lu  <hongjiu.lu@intel.com>
82514         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82516         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82517         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82518         _mm_alignr_epi8 with _mm_loadu_si128.
82519         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82520         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82521         (__m128i_shift_right): Removed.
82522         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82523         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82524         * sysdeps/x86_64/multiarch/varshift.h: New file.
82525         * sysdeps/x86_64/multiarch/varshift.S: New file.
82527 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82529         * configure.in: Move assembler checks to before sysdep dir checking.
82531 2010-08-20  Petr Baudis  <pasky@suse.cz>
82533         * LICENSES: Sync the sunrpc license.
82535 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82537         * sunrpc/auth_des.c: Update copyright notice once again.
82538         * sunrpc/auth_none.c: Likewise.
82539         * sunrpc/auth_unix.c: Likewise.
82540         * sunrpc/authdes_prot.c: Likewise.
82541         * sunrpc/authuxprot.c: Likewise.
82542         * sunrpc/bindrsvprt.c: Likewise.
82543         * sunrpc/clnt_gen.c: Likewise.
82544         * sunrpc/clnt_perr.c: Likewise.
82545         * sunrpc/clnt_raw.c: Likewise.
82546         * sunrpc/clnt_simp.c: Likewise.
82547         * sunrpc/clnt_tcp.c: Likewise.
82548         * sunrpc/clnt_udp.c: Likewise.
82549         * sunrpc/clnt_unix.c: Likewise.
82550         * sunrpc/des_crypt.c: Likewise.
82551         * sunrpc/des_soft.c: Likewise.
82552         * sunrpc/get_myaddr.c: Likewise.
82553         * sunrpc/getrpcport.c: Likewise.
82554         * sunrpc/key_call.c: Likewise.
82555         * sunrpc/key_prot.c: Likewise.
82556         * sunrpc/openchild.c: Likewise.
82557         * sunrpc/pm_getmaps.c: Likewise.
82558         * sunrpc/pm_getport.c: Likewise.
82559         * sunrpc/pmap_clnt.c: Likewise.
82560         * sunrpc/pmap_prot.c: Likewise.
82561         * sunrpc/pmap_prot2.c: Likewise.
82562         * sunrpc/pmap_rmt.c: Likewise.
82563         * sunrpc/rpc/auth.h: Likewise.
82564         * sunrpc/rpc/auth_unix.h: Likewise.
82565         * sunrpc/rpc/clnt.h: Likewise.
82566         * sunrpc/rpc/des_crypt.h: Likewise.
82567         * sunrpc/rpc/key_prot.h: Likewise.
82568         * sunrpc/rpc/netdb.h: Likewise.
82569         * sunrpc/rpc/pmap_clnt.h: Likewise.
82570         * sunrpc/rpc/pmap_prot.h: Likewise.
82571         * sunrpc/rpc/pmap_rmt.h: Likewise.
82572         * sunrpc/rpc/rpc.h: Likewise.
82573         * sunrpc/rpc/rpc_des.h: Likewise.
82574         * sunrpc/rpc/rpc_msg.h: Likewise.
82575         * sunrpc/rpc/svc.h: Likewise.
82576         * sunrpc/rpc/svc_auth.h: Likewise.
82577         * sunrpc/rpc/types.h: Likewise.
82578         * sunrpc/rpc/xdr.h: Likewise.
82579         * sunrpc/rpc_clntout.c: Likewise.
82580         * sunrpc/rpc_cmsg.c: Likewise.
82581         * sunrpc/rpc_common.c: Likewise.
82582         * sunrpc/rpc_cout.c: Likewise.
82583         * sunrpc/rpc_dtable.c: Likewise.
82584         * sunrpc/rpc_hout.c: Likewise.
82585         * sunrpc/rpc_main.c: Likewise.
82586         * sunrpc/rpc_parse.c: Likewise.
82587         * sunrpc/rpc_parse.h: Likewise.
82588         * sunrpc/rpc_prot.c: Likewise.
82589         * sunrpc/rpc_sample.c: Likewise.
82590         * sunrpc/rpc_scan.c: Likewise.
82591         * sunrpc/rpc_scan.h: Likewise.
82592         * sunrpc/rpc_svcout.c: Likewise.
82593         * sunrpc/rpc_tblout.c: Likewise.
82594         * sunrpc/rpc_util.c: Likewise.
82595         * sunrpc/rpc_util.h: Likewise.
82596         * sunrpc/rpcinfo.c: Likewise.
82597         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82598         * sunrpc/rpcsvc/key_prot.x: Likewise.
82599         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82600         * sunrpc/rpcsvc/mount.x: Likewise.
82601         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82602         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82603         * sunrpc/rpcsvc/rex.x: Likewise.
82604         * sunrpc/rpcsvc/rstat.x: Likewise.
82605         * sunrpc/rpcsvc/rusers.x: Likewise.
82606         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82607         * sunrpc/rpcsvc/spray.x: Likewise.
82608         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82609         * sunrpc/rtime.c: Likewise.
82610         * sunrpc/svc.c: Likewise.
82611         * sunrpc/svc_auth.c: Likewise.
82612         * sunrpc/svc_authux.c: Likewise.
82613         * sunrpc/svc_raw.c: Likewise.
82614         * sunrpc/svc_run.c: Likewise.
82615         * sunrpc/svc_simple.c: Likewise.
82616         * sunrpc/svc_tcp.c: Likewise.
82617         * sunrpc/svc_udp.c: Likewise.
82618         * sunrpc/svc_unix.c: Likewise.
82619         * sunrpc/svcauth_des.c: Likewise.
82620         * sunrpc/xcrypt.c: Likewise.
82621         * sunrpc/xdr.c: Likewise.
82622         * sunrpc/xdr_array.c: Likewise.
82623         * sunrpc/xdr_float.c: Likewise.
82624         * sunrpc/xdr_mem.c: Likewise.
82625         * sunrpc/xdr_rec.c: Likewise.
82626         * sunrpc/xdr_ref.c: Likewise.
82627         * sunrpc/xdr_sizeof.c: Likewise.
82628         * sunrpc/xdr_stdio.c: Likewise.
82630         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82631         handling.
82633 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82635         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82637 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82639         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82640         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82641         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82642         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82643         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82644         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82645         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82646         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82647         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82648         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82649         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82650         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82651         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82652         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82654 2010-07-26  Anton Blanchard  <anton@samba.org>
82656         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82657         * malloc/arena.c (heap_trim): Likewise.
82659 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82661         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82662         here.  Not...
82663         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82664         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82666 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82668         * sysdeps/i386/elf/Makefile: New file.
82670 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82672         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82673         from fanotify_init.
82674         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82675         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82677 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82679         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82680         of strncasecmp_l.
82681         * sysdeps/multiarch/strcmp.S: Likewise.
82683 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82685         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82686         strncase_l-nonascii.
82687         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82688         Add strncase_l-ssse3.
82689         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82690         * sysdeps/x86_64/strcmp.S: Likewise.
82691         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82692         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82693         * sysdeps/x86_64/strncase.S: New file.
82694         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82695         * sysdeps/x86_64/strncase_l.S: New file.
82696         * string/Makefile (strop-tests): Add strncasecmp.
82697         * string/test-strncasecmp.c: New file.
82699         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82700         warning.
82702         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82703         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82705 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82707         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82709 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82711         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82712         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82713         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82715 2010-05-01  Alan Modra  <amodra@gmail.com>
82717         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82718         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82719         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82720         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82721         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82722         tidying.  Don't tail-call __sigjmp_save for static lib.
82723         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82724         save location.
82725         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82726         (CALL_MCOUNT): Add eh info, and nop after bl.
82727         (TAIL_CALL_SYSCALL_ERROR): New macro.
82728         (PSEUDO_RET): Use it.
82729         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82730         Correct save location of integer regs and cr.
82731         (_dl_profile_resolve): Correct cr save location.  Delete nops
82732         after bl when SHARED.  Reduce cfi size a little by better
82733         placement of cfi directives.
82734         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82735         make a stack frame.  Instead use parm save area as a temp.
82736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82737         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82739         Don't make a stack frame for parent, use parm save area.
82740         Increase child stack frame to 112 bytes.  Don't save unused reg,
82741         and adjust reg usage.  Set up cfi on error recovery and
82742         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82744         (__makecontext): Add dummy nop after jump to exit.
82745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82746         Use correct parm save area and cr save, reduce stack frame.
82747         Correct cfi for possible PSEUDO_RET frame setup.
82748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82749         Branch to local label emitted by PSEUDO_RET rather than
82750         __syscall_error.
82752 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82754         [BZ #11904]
82755         * locale/programs/locale.c (print_assignment): New function.
82756         (show_locale_vars): Use it.
82758 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82760         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82761         field.
82762         (struct statfs64): Likewise.
82763         (_STATFS_F_FLAGS): Define.
82764         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82765         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82766         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82767         (ST_VALID): Define locally.
82768         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82769         __statvfs_getflags, use the provided value.
82770         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82771         __ASSUME_STATFS_F_FLAGS.
82773         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82775         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82776         Add sys/fanotify.h.
82777         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82778         fanotify_mask for GLIBC_2.13.
82779         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82780         fanotify_init and fanotify_mark.
82781         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82782         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82784         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82785         Add prlimit.
82786         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82787         prlimit64 for GLIBC_2.13.
82788         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82789         prlimit64.
82790         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82791         syscall.
82792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82793         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82794         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82795         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82796         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
82797         add prlimit alias.
82798         * sysdeps/unix/sysv/linux/prlimit.c: New file.
82800         [BZ #11903]
82801         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
82802         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
82804         * nss/Makefile: Add rules to build and run tst-nss-test1.
82805         * shlib-versions: Add entry for libnss_test1.
82806         * nss/nss_test1.c: New file.
82807         * nss/tst-nss-test1.c: New file.
82809         * nss/nsswitch.c (__nss_database_custom): Define new variable.
82810         (__nss_configure_lookup): Set appropriate entry in
82811         __nss_configure_lookup to true.
82812         * nss/nsswitch.h: Define enum with indeces of databases in
82813         databases and __nss_database_custom arrays.  Declare
82814         __nss_database_custom.
82815         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
82816         to avoid using nscd when custom rules are installed.
82817         * nss/getXXbyYY_r.c: Likewise.
82818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
82820         * nss/nss_files/files-parse.c: Whitespace fixes.
82822 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
82824         [BZ #11883]
82825         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
82826         * posix/fnmatch_loop.c: Likewise.
82828 2010-07-17  Andi Kleen  <ak@linux.intel.com>
82830         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
82831         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
82832         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
82833         * Versions.def [GLIBC_2.13]: Add.
82835 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
82837         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82838         Also fail if tpwd after pwuid call is NULL.
82840 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82842         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
82843         when converting to ms.
82845 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82847         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
82848         EOPNOTSUPP errors with ENOTTY.
82849         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
82850         EOPNOTSUPP errors with ENOTTY.
82852 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
82854         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82855         Add strcasecmp_l-ssse3.
82856         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
82857         strcasecmp.
82858         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
82859         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
82860         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
82862 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
82864         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
82866         * string/Makefile (strop-tests): Add strcasecmp.
82867         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82868         strcasecmp_l-nonascii.
82869         (gen-as-const-headers): Add locale-defines.sym.
82870         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
82871         * sysdeps/x86_64/strcasecmp.S: New file.
82872         * sysdeps/x86_64/strcasecmp_l.S: New file.
82873         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
82874         * sysdeps/x86_64/locale-defines.sym: New file.
82875         * string/test-strcasecmp.c: New file.
82877         * string/test-strcasestr.c: Test both ends of the range of characters.
82878         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
82880 2010-07-29  Roland McGrath  <roland@redhat.com>
82882         [BZ #11856]
82883         * manual/locale.texi (Yes-or-No Questions): Fix example code.
82885 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
82887         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
82888         for ld.so.
82890 2010-07-27  Andreas Schwab  <schwab@redhat.com>
82892         * manual/memory.texi (Malloc Tunable Parameters): Document
82893         M_PERTURB.
82895 2010-07-26  Roland McGrath  <roland@redhat.com>
82897         [BZ #11840]
82898         * configure.in (-fgnu89-inline check): Set and substitute
82899         gnu89_inline, not libc_cv_gnu89_inline.
82900         * configure: Regenerated.
82901         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
82903 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
82905         * string/test-strnlen.c: New file.
82906         * string/Makefile (strop-tests): Add strnlen.
82907         * string/tester.c (test_strnlen): Add a few more test cases.
82908         * string/tst-strlen.c: Better error reporting.
82910         * sysdeps/x86_64/strnlen.S: New file.
82912 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
82914         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
82915         lower-latency instructions.
82917 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
82919         * string/test-strcasestr.c: New file.
82920         * string/test-strstr.c: New file.
82921         * string/Makefile (strop-tests): Add strstr and strcasestr.
82922         * string/str-two-way.h: Don't undefine MAX.
82923         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
82925 2010-07-21  Andreas Schwab  <schwab@redhat.com>
82927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82928         strcasestr-nonascii.
82929         (CFLAGS-strcasestr-nonascii.c): Define.
82930         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
82931         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
82932         Remove unused attribute.
82934 2010-07-20  Roland McGrath  <roland@redhat.com>
82936         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
82937         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
82938         ld.so.cache was broken.  With it, there is no way to disable dsocaps
82939         like LD_HWCAP_MASK can disable hwcaps.
82941 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82943         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
82945 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
82947         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
82948         call in strcasestr.
82949         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
82950         __strcasestr_sse42_nonascii.
82951         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
82952         strcasestr-nonascii.c.
82953         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
82955 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
82957         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
82958         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
82959         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
82960         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
82962 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
82964         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
82965         fcntl.
82967 2010-07-06  Andreas Schwab  <schwab@redhat.com>
82969         [BZ #11577]
82970         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
82971         dl_signal_cerror.
82973 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
82975         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
82976         _PC_PIPE_BUF using F_GETPIPE_SZ.
82978 2010-07-05  Roland McGrath  <roland@redhat.com>
82980         * manual/arith.texi (Rounding Functions): Fix rint description
82981         implicit in round description.
82983 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82985         * elf/Makefile: Fix linking for a few tests to make recent linker
82986         happy.
82988 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82990         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82991         $(common-objpfx)libc_nonshared.a.
82993 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82995         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82996         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82997         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82998         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82999         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83000         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83001         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83002         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83017         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83018         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83019         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83020         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83021         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83022         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83023         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83024         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83025         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83026         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83027         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83028         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83044 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83046         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83047         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83048         * string/memmove.c (memmove): Renamed to ...
83049         (MEMMOVE): ...this.  Default to memmove.
83050         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83051         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83052         (END_CHK): Define.
83053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83054         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83055         mempcpy-ssse3-back memmove-ssse3-back.
83056         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83057         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83058         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83059         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83060         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83061         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83062         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83063         * sysdeps/x86_64/multiarch/memmove.c: New file.
83064         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83065         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83066         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83067         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83068         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83069         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83070         Define.
83071         (index_Fast_Copy_Backward): Define.
83072         (HAS_ARCH_FEATURE): Define.
83073         (HAS_FAST_REP_STRING): Define.
83074         (HAS_FAST_COPY_BACKWARD): Define.
83076 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83078         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83079         Restore proper fallback handling.
83081 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83083         [BZ #11701]
83084         * posix/group_member.c (__group_member): Correct checking loop.
83086         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83087         OOM in getpwuid_r correctly.  Return error number when the caller
83088         should return, otherwise -1.
83089         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83090         call returning > 0 value.
83091         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83093 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83095         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83096         libc_nonshared.a from targets in modules-names.
83098 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83100         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83101         requires it.
83103 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83105         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83106         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83107         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83108         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83110 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83112         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83114 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83116         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83117         and F_GETPIPE_SZ.
83118         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83119         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83120         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83121         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83122         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83123         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83125 2010-06-14  Roland McGrath  <roland@redhat.com>
83127         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83129 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83131         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83132         __REDIRECT followed by __THROW.
83133         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83134         * posix/getopt.h (getopt): Likewise.
83136 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83138         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83139         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83140         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83141         in AT_FLAGS.
83142         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83143         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83145 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83147         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83149 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83151         [BZ #11640]
83152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83153         Properly check family and model.
83155 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83157         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83159 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83161         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83163 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83165         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83166         symbol reference.
83168 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83170         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83171         symbol reference.
83173 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83175         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83176         and internal_recvmmsg.
83177         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83178         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83179         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83180         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83182         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83183         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83184         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83186 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83188         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83190 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83192         POWER7 optimizations.
83193         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83194         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83196 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83198         * version.h: Update for 2.13 development version.
83200 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83202         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83203         exceptions.  Return 0.
83205 2010-05-07  Roland McGrath  <roland@redhat.com>
83207         * elf/ldconfig.c (main): Add a const.
83209 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83211         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83212         (args_options): Add no-idn option.
83213         (ahosts_keys_int): Add idn_flags to ai_flags.
83214         (parse_option): Handle 'i' option to clear idn_flags.
83216         * malloc/malloc.c (_int_free): Possible race in the most recently
83217         added check.  Only act on the data if no current modification
83218         happened.
83220 See ChangeLog.17 for earlier changes.